cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper V
Helper V

Data Mashup Unzip

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

  • Config
  • Formulas
  • content_types

 

But i'm not able to unzip this file. Any idea why?

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Solution Sage
Solution Sage

Re: Data Mashup Unzip

Hi @leharkapil ,

Based on my test, we can use the 7-zip tool to extract the file rather than changing it as a zip file.

qZ4TVGr3Nh.gif

Best Regards,

Teige

View solution in original post

4 REPLIES 4
Highlighted
Solution Sage
Solution Sage

Re: Data Mashup Unzip

Hi @leharkapil ,

Based on my test, we can use the 7-zip tool to extract the file rather than changing it as a zip file.

qZ4TVGr3Nh.gif

Best Regards,

Teige

View solution in original post

Highlighted
Frequent Visitor

Re: Data Mashup Unzip

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 @leharkapil ?

Highlighted
Helper V
Helper V

Re: Data Mashup Unzip

Your modification may be causing a problem for Power BI(pbix) to read it.

Highlighted
Frequent Visitor

Re: Data Mashup Unzip

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? 

Helpful resources

Announcements
Super Users of the Quarter - Q2 2020

Super Users of the Quarter - Q2 2020

Who are our Super User Superstars? Who made it to the top of the leaderboards? Get the answers!

June 2020 Community Highlights

June 2020 Community Highlights

Featured community members, changes to the Community, and more! Read up on recent Power BI community news.

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Power Platform 2020 release wave 2 plan

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Kudoed Authors