Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hi,
I need to do some automation on the data mashup file and I was reading an article
https://radacad.com/exposing-m-code-and-query-metadata-of-power-bi-pbix-file
Here, it says that data mashup file is a zipped file and it has 3 files in it
But i'm not able to unzip this file. Any idea why?
Solved! Go to Solution.
Hi @Anonymous ,
Based on my test, we can use the 7-zip tool to extract the file rather than changing it as a zip file.
Best Regards,
Teige
Hi
I am trying to do something similar but once I modify the section.m file and try to zip it back, I am unable to open the .Pbix file. It says the file has been corrup. Any idea how to fix this @Anonymous ?
Your modification may be causing a problem for Power BI(pbix) to read it.
I am just modify a simple query section.
Before :
section Section1;
shared Query1 = let
Source = Oracle.Database("ABC", [HierarchicalNavigation=true, Query="select Employee_id from employees"])
in
Source;
After:
section Section1;
shared Query1 = let
Source = Oracle.Database("ABC", [HierarchicalNavigation=true, Query="select Employee_id,Email from employees"])
in
Source;
Is it possible to un-zip update this section.m file inside the DataMashup and zip it back and use it in pbix file? Any other workaround?
Check how your editing the file. Check that the length change matches correctly with what you expected afterwared. I found that my editor (VS Code ) was adding a two Byte BOM on the front. I had to strip these to get modification to work.
Jeff
Let me know if you work this out. I would also like to be able to do this.
Thanks
Jeff
Hi @Anonymous ,
Based on my test, we can use the 7-zip tool to extract the file rather than changing it as a zip file.
Best Regards,
Teige
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 53 | |
| 35 | |
| 31 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 75 | |
| 72 | |
| 39 | |
| 35 | |
| 23 |