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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
gvg
Post Prodigy
Post Prodigy

Is there a way to protect DAX code from viewing ?

Hi there,

 

I wonder if there is a way to protect DAX code from viewing ? If I make a Desktop report and want to share it in the organization I publish it to the Power BI Service. However there is an option in Power BI Service to download the whole pbix file, where all the DAX can be viewed. Tried with Apps, but there's still a way to go to Report itself and download it as pbix file.

 

What is is the best way to distribute a commercial Report so that DAX can not be viewed?

 

Thanks.

1 ACCEPTED SOLUTION

I thought that the new viewer role which was announced a few months ago will let you prevent people from downloading reports https://powerbi.microsoft.com/en-us/blog/announcing-the-new-viewer-role-for-power-bi-workspaces/

View solution in original post

4 REPLIES 4
MauriceMecowe
Resolver II
Resolver II

Hi @gvg ,

 

I've once investigated this for my company, but couldn't come up with a solution. So it seems this is not currently supported.

 

Cheers

I thought that the new viewer role which was announced a few months ago will let you prevent people from downloading reports https://powerbi.microsoft.com/en-us/blog/announcing-the-new-viewer-role-for-power-bi-workspaces/

Yes, but this is for Premium only :((

@d_gosbell,

 

You're absolutely correct, that's an awesome feature 🙂

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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