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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

How to create calculated table with MeasureName and MeasureValue?

I have a model, with around 20 measures created.

I am trying to create a calculated table, to just display a list of measures:

 

col1, Measure, Value.


I am doing

 

=DATATABLE( "Type", STRING,
"Measure", STRING,
"Value", DOUBLE.
{'xyz', 'Measure1', Measure1}
)

But it doesnt seem to work...

1 ACCEPTED SOLUTION
tamerj1
Super User
Super User

Hi @Anonymous 

try

SELECTCOLUMNS (

{ ("name1", [measure1]), ("name2", [measue2])}, "Measure", [Value1], "Value", [Value2])

View solution in original post

1 REPLY 1
tamerj1
Super User
Super User

Hi @Anonymous 

try

SELECTCOLUMNS (

{ ("name1", [measure1]), ("name2", [measue2])}, "Measure", [Value1], "Value", [Value2])

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.