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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
tkboisvert
Helper II
Helper II

Accessing Measure Definition via Custom Viz ( and running functions in powerbi.DataView )

Hi all,

 

Had a strange request for a custom visual that displays the Meausure defintion.

 

The custom viz to display the chart and text required isn't the difficult part, accessing measure definitions seems to be undocumented, or not possible.

 

Is there any way to request information about the PBI workbook its self? Or metadata about the measure passed to the Viz so I can get the definition direct?

 

To clarify, by measure definition I mean the actual text definition of a measure ie. [Measure] =  CALCULATE(SUM(table[data])).

 

Also, is there any way you can run these "functions" that appear in the meatadata of a DataView on a viz?

tkboisvert_0-1686807041525.png

 

0 REPLIES 0

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.

Top Solution Authors