Hi AshaKantaXharma,
This is also happening in Office 365 (O365 is work assignment but typing this on my home pc). There is no VBA code in the workbook: in fact I have never seen the message before yesterday (10/8/21) and have written many VBA scripts over the years (beginner to (I think) intermediate).
It occurred for me when I used CUBE formula to create an income statement that was linked to a data model in the workbook using CUBE formula. At a certain point when I went to close down for the evening I wanted to save my progress so I could continue today. My progress was lost.
The scenario: In a new workbook -
- A data model was added with three queries.
- Two pivot tables were created. Same data one more detailed than the other (IE summary and next level down).
- The summary pivot table was converted to formula using the OLAP Tools>Convert to Formulas menu option. Those formula were moved around to create the income statement.
- These were checked against the second unconnected pivot table (but note they were not connected).
At the point of saving the file the values required for the associated categories were correct.
As I understand it the data model does not reside in the excel workbook but is somehow connected to it. Perhaps there is a disconnect there (can't speak for the VBA element). However, so far, the same disconnect does not apply for workbooks with data models without CUBE formulae.
This is my first ever posting on a Microsoft forum and wanted to add my support to your cause. This needs fixing. I will look into how I can raise this as a bug with Microsoft directly or add my support more effectively. I will also push the organisation I am on assignment with to push this to Microsoft. They are a huge organisation in the UK who will sort out the mental health issues I will have trying to resolve this issue ;-)
Best Regards
Mike