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
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
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.