Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Dax code not available after reboot PBI

Hi,

I created some columns using DAX and I reboosted my laptop due to PBI errors. 

After reopen PBI desktop, I cannot suddenly edit DAX code which is not activated. 

there used to be code I wrote..

 

jeongkim_0-1742361710385.png

 

 

 

2 ACCEPTED SOLUTIONS
Cookistador
Super User
Super User

Can you try to open the semantic model with Tabular Editor V2?

I met a similar issue a few months ago, I opened it with tabular editor made a small change (like replace the name of a measure), save it and then in Power BI, I was able to see my dax measure

 

If it is not working, can you see your code in tabular editor ?

View solution in original post

Ritaf1983
Super User
Super User

Hi @Anonymous 

Possible reasons for being unable to edit calculated columns in DAX:

  • The PBIX file was not saved before the reboot, causing the loss of recent changes.
  • The data model is corrupted, preventing Power BI from recognizing the calculated columns.
  • A permissions issue or an unexpected bug is preventing edits.

Suggested checks:

  • Verify if the calculated columns still appear in the Fields pane.
  • Look for a backup of your PBIX file. Power BI sometimes creates auto-recovery files in:
    C:\Users\YourUserName\AppData\Local\Microsoft\Power BI Desktop\Temp Saves

You can also try to get to recovery folder from options:

Ritaf1983_0-1742363625955.png

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

3 REPLIES 3
v-bmanikante
Community Support
Community Support

Hi @Anonymous,

 

We would like to follow up to see if the solution provided by the super users @Ritaf1983 / @Cookistador  resolved your issue. Please let us know if you need any further assistance.


If our super users response resolved your issue, please mark it as "Accept as solution" and click "Yes" if you found it helpful.

Regards,
B Manikanteswara Reddy

Ritaf1983
Super User
Super User

Hi @Anonymous 

Possible reasons for being unable to edit calculated columns in DAX:

  • The PBIX file was not saved before the reboot, causing the loss of recent changes.
  • The data model is corrupted, preventing Power BI from recognizing the calculated columns.
  • A permissions issue or an unexpected bug is preventing edits.

Suggested checks:

  • Verify if the calculated columns still appear in the Fields pane.
  • Look for a backup of your PBIX file. Power BI sometimes creates auto-recovery files in:
    C:\Users\YourUserName\AppData\Local\Microsoft\Power BI Desktop\Temp Saves

You can also try to get to recovery folder from options:

Ritaf1983_0-1742363625955.png

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile
Cookistador
Super User
Super User

Can you try to open the semantic model with Tabular Editor V2?

I met a similar issue a few months ago, I opened it with tabular editor made a small change (like replace the name of a measure), save it and then in Power BI, I was able to see my dax measure

 

If it is not working, can you see your code in tabular editor ?

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.