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
trevb
Resolver I
Resolver I

How do I look at query data for datasets in power BI?

If I have created a dataset in PowerBI Desktop then I can see all the calculated columns etc.

 

I have a prebuilt dataset that I would like to understand the content of the calculated columns.  How can I do this?  I can see the columns are calculated from the little Icon but I cannot dig into this.  Anybody got any ideas?

 

Trev

1 ACCEPTED SOLUTION
kcantor
Community Champion
Community Champion

If you are referring to a .pbxi file simply open it in the desktop version and navigate to the table containing the measures in the data model (signified by the table looking icon to the left of the workspace in red). Make sure you have the correct table then scroll down the fields until you see the measure (circled in blue on my image). Click on it and it will show you the DAX in the measure field where it can be edited or copied to create a new, similar measure (in Green).

Hope this helps.

EDIT: Of course this is a file that was "pre-built" by me or could have been "pre-built" by a coworker. Content packs and such are different.snip.JPG





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

2 REPLIES 2
kcantor
Community Champion
Community Champion

If you are referring to a .pbxi file simply open it in the desktop version and navigate to the table containing the measures in the data model (signified by the table looking icon to the left of the workspace in red). Make sure you have the correct table then scroll down the fields until you see the measure (circled in blue on my image). Click on it and it will show you the DAX in the measure field where it can be edited or copied to create a new, similar measure (in Green).

Hope this helps.

EDIT: Of course this is a file that was "pre-built" by me or could have been "pre-built" by a coworker. Content packs and such are different.snip.JPG





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Greg_Deckler
Super User
Super User

When you say prebuilt data set, are you referring to using a Content Pack?


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

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.