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
ahmedshalabyy12
Resolver II
Resolver II

Corrupted pbix File

Hello,

there's a semantic model uploaded it to the service , and refreshed it through XMLA .

today i was opening it from my local pc but it's corrupted .

and i cannot download it from the service  because i refreshed it through external tool ( XMLA ) 

so what i supposed to do to return back my semantic model 

ahmedshalabyy12_1-1752497765769.png

 


Thank you 

 

1 ACCEPTED SOLUTION
ahmedshalabyy12
Resolver II
Resolver II

 C:\Users\*yourusername*\AppData\Local\Microsoft\Power BI Desktop\TempSaves
this will work 

View solution in original post

13 REPLIES 13
ahmedshalabyy12
Resolver II
Resolver II

 C:\Users\*yourusername*\AppData\Local\Microsoft\Power BI Desktop\TempSaves
this will work 

Hi @ahmedshalabyy12,
Thanks for getting back.yes, that TempSaves folder path you shared is definitely worth checking. If Power BI Desktop closed unexpectedly, it sometimes saves a temporary version of your file there. Just go to that folder and look for the most recent file. if you are lucky, you might find a working copy that you can open directly in Power BI Desktop.

Since you have already saved your semantic model using Tabular Editor, you are on the right track. Just remember, when you open it in a new Power BI file, it only brings the structure not the actual data. To see the data again, you will need to refresh the model either by using Power BI Service or by reconnecting your data sources in Power BI Desktop.

Hope this helps if you have any queries we are  happy to assist you further.
Regards,
Harshitha.

thank you for ur assist the problem is solved from the them folder apperciate your efforts 

Hi @ahmedshalabyy12,
I hope the above details help you fix the issue. If you still have any questions or need more help, feel free to reach out. We are always here to support you.

Regards,
Harshitha.

thank you for ur assist the problem is solved from the them folder apperciate your efforts 

Hi @ahmedshalabyy12,
I hope the information provided above assists you in resolving the issue. If you have any additional questions or concerns, please do not hesitate to contact us. We are here to support you and will be happy to help with any further assistance you may need.

Regards,
Harshitha.

grazitti_sapna
Super User
Super User

Hi @ahmedshalabyy12 ,

Try below method:

Rebuild Local File by Scripting from Service

 

  • Open Tabular Editor (2.x or 3.x).

  • Connect to your dataset via XMLA:

    powerbi://api.powerbi.com/v1.0/myorg/YourWorkspaceName
     
  • Select your semantic model, it opens the full data model.

  • File → Save to Folder (creates a folder-based Tabular Model).

  • OR: File → Save As .bim file

    Then:

    • Open Power BI Desktop

    • Create a new file

    • Use External Tools > Tabular Editor to inject the saved model back into a fresh .pbix.

      🌟 I hope this solution helps you unlock your Power BI potential! If you found it helpful, click 'Mark as Solution' to guide others toward the answers they need.
      💡 Love the effort? Drop the kudos! Your appreciation fuels community spirit and innovation.
      🎖 As a proud SuperUser and Microsoft Partner, we’re here to empower your data journey and the Power BI Community at large.
      🔗 Curious to explore more? [Discover here].
      Let’s keep building smarter solutions together!

Hello,

thank you for your comment , now i have conncted tabular editor with service and saved my semantic mode as a new folder .

then i opened a new file power bi desktop , opened tabular editor then file >> open from folder 
it retreive the semantic model inside tabular editor . when i click save i don't find the tables in power bi desktop 

 

am i doing something wrong ?

thank you 

Hi @ahmedshalabyy12,

You have done most of it right so far. Just to explain  when you bring the model back into Power BI using Tabular Editor, it only brings the structure like tables and measures, but not the actual data or the report visuals. That’s why you’re not seeing anything show up in Power BI Desktop.

First option  open Power BI Desktop and use Get Data > Power BI Datasets to connect to your published model directly from the workspace. That gives you access to the data, and you can start rebuilding your visuals from there.
Second option  if you still want to use the saved model from Tabular Editor, you will need to manually bring the data back in using Power Query or refresh it using XMLA.

Also just a heads-up since incremental refresh is turned on, Power BI blocks the download of the original .pbix, which is why that option is not working.


Hope the above provided information help you resolve the issue, if you have any further concerns or queries, please feel free to reach out to us.
Regards,
Harshitha.




Thank you for your comment but yes i need to retreive the structure of the data using tabular editor then refresh it , all i need is the semantic model and unfortunately i didn't apply git solution yet 😞 

FBergamaschi
Solution Sage
Solution Sage

You need to go ahead from the web, where now you can modify the model, the DAX etc

 

If this helped, please consider giving kudos and mark as a solution

@me in replies or I'll lose your thread

consider voting this Power BI idea

Francesco Bergamaschi

MBA, M.Eng, M.Econ, Professor of BI

may you please elaporate more 

 

if you mean to download it i cannot download it 

ahmedshalabyy12_0-1752499059797.png

 

I mean to open the report on the web and modify the data model directly on the web to do what you need to do

 

If this helped, please consider giving kudos and mark as a solution

@me in replies or I'll lose your thread

consider voting this Power BI idea

Francesco Bergamaschi

MBA, M.Eng, M.Econ, Professor of BI

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors