cancel
Showing results for 
Search instead for 
Did you mean: 
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.



Power BI Features || Datamarts: https://youtu.be/8tskWsJTEpg || Field Parameters : https://youtu.be/lqF3Wa1FllE?t=70
Time Intelligence Decoded : https://youtu.be/aU2aKbnHuWs&t=145s || 50+Power Query List Functions : Learn Power Query List
Did I answer your question? Mark my post as a solution! Appreciate your Kudos !! Proud to be a Super User! !!
Dashboard of My Blogs !! Connect on Linkedin !! Subscribe to my youtube Channel !!
Want To Learn Power BI | Beginners !! Advance Concepts !! Power BI For Tableau User !!

View solution in original post

yingyinr
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
yingyinr
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 @yingyinr 

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



Power BI Features || Datamarts: https://youtu.be/8tskWsJTEpg || Field Parameters : https://youtu.be/lqF3Wa1FllE?t=70
Time Intelligence Decoded : https://youtu.be/aU2aKbnHuWs&t=145s || 50+Power Query List Functions : Learn Power Query List
Did I answer your question? Mark my post as a solution! Appreciate your Kudos !! Proud to be a Super User! !!
Dashboard of My Blogs !! Connect on Linkedin !! Subscribe to my youtube Channel !!
Want To Learn Power BI | Beginners !! Advance Concepts !! Power BI For Tableau User !!

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.



Power BI Features || Datamarts: https://youtu.be/8tskWsJTEpg || Field Parameters : https://youtu.be/lqF3Wa1FllE?t=70
Time Intelligence Decoded : https://youtu.be/aU2aKbnHuWs&t=145s || 50+Power Query List Functions : Learn Power Query List
Did I answer your question? Mark my post as a solution! Appreciate your Kudos !! Proud to be a Super User! !!
Dashboard of My Blogs !! Connect on Linkedin !! Subscribe to my youtube Channel !!
Want To Learn Power BI | Beginners !! Advance Concepts !! Power BI For Tableau User !!

"...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
September Update

Check it Out!

Click here to learn more about the September 2022 updates!

Power BI Dev Camp Session 26

Check it Out!

Mark your calendars and join us on Thursday, September 29 at 11a PDT for a great session with Ted Pattison!

Top Solution Authors