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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

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 👍

 

JoyH
Frequent Visitor

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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.