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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
MossyD
Helper I
Helper I

Direct Query DAX Measures?

Is there a way I can view DAX measures of a dataset within the desktop from a direct query of a dataset in the Power BI Service?

Many thanks

2 ACCEPTED SOLUTIONS

@MossyD , what is the objective here. You want to look at the definition or you want to use the measure. the definition I doubt you can see if you use dataset.

View solution in original post

v-yiruan-msft
Community Support
Community Support

Hi @MossyD ,

Do you want to be able to view the formulas applied to the measures directly in Power BI Service? If so, I'm afraid I can't do that based on my research. If your report is created from Power BI Desktop and published to Power BI  Service. Also you have build permission of report, you can download the .pbix file and open it in Power BI Desktop to view the formula of involved measures. The prerequisite is that the export feature is enabled in the admin portal.

In addition, please note that there is no hit to any of the following limitations when try to download the pbix file...

yingyinr_0-1629879938425.png

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

7 REPLIES 7
v-yiruan-msft
Community Support
Community Support

Hi @MossyD ,

Do you want to be able to view the formulas applied to the measures directly in Power BI Service? If so, I'm afraid I can't do that based on my research. If your report is created from Power BI Desktop and published to Power BI  Service. Also you have build permission of report, you can download the .pbix file and open it in Power BI Desktop to view the formula of involved measures. The prerequisite is that the export feature is enabled in the admin portal.

In addition, please note that there is no hit to any of the following limitations when try to download the pbix file...

yingyinr_0-1629879938425.png

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @v-yiruan-msft 

Thank you for your response.

Yes. I understand now that the measure formula cannot be viewed from within the desktop when using a DQ to a dataset 👍

 

I am looking for the same thing. Before I use a measure in a report (using DQ to a dataset), I want to verify the DAX. 

amitchandak
Super User
Super User

@MossyD , If you have report using the dataset, open that in edit mode, or try to create a report in power bi service with the dataset. You should be able to see the available measures there

Hi @amitchandak 

Thanks for your response, I am thinking you are advising creating or opening the report in the PBI service.

But, is there a way, from using Direct Query, I  "...can view DAX measures of a dataset within the desktop"?

Many thanks

@MossyD , what is the objective here. You want to look at the definition or you want to use the measure. the definition I doubt you can see if you use dataset.

"...what is the objective here"

The objective is to have visibility of the measure code and to see the measure.

Many thanks

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors