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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Downloading/Exporting PBIX via API/cmdlet that contains incremental refresh

Is it possible to download or export a PBIX from the service with an API or cmdlet that's been uploaded with incremental refresh? I know you can't just export right from the service, but is there a way of doing it in a roundabout way?

1 ACCEPTED SOLUTION

@Anonymous  As the old security mantra goes "If you don't want them to steal your data, don't show them your data".

 

Anyone with access to the app or the workspace can use XMLA to pull not just the data but also the meta data.  I have used that to great comedic effect when I connected to someone else's dataset in DAX Studio and disproved their claim that they had disabled Auto Date/Time hierarchies.

View solution in original post

3 REPLIES 3
lbendlin
Super User
Super User

I got a roundabout way for you - let's assume you completely lost access to the local .pbix and are desperate to recover the data model,Power Query code, and the measures and calculated columns.

 

In that case you can connect any XMLA client (like DAX Studio) to the dataset in the service and then use the DMVs to retrieve the meta data.

Anonymous
Not applicable

@lbendlin 

It seems like you're the only one who ever knows anything about what I'm doing haha. 

 

Ok that's helpful, thanks. I'm actually wondering about ways to secure a dataset and all of its associated assets from clients if for whatever reason I needed to publish it to their service and I didn't want them to be able to access the data model, power query, etc.

 

Any way of preventing them from being able to use the XMLA clients on that dataset? Would the APIs or cmdlets still let them export it?

@Anonymous  As the old security mantra goes "If you don't want them to steal your data, don't show them your data".

 

Anyone with access to the app or the workspace can use XMLA to pull not just the data but also the meta data.  I have used that to great comedic effect when I connected to someone else's dataset in DAX Studio and disproved their claim that they had disabled Auto Date/Time hierarchies.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.