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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Gerosaki
New Member

How can I created a new table with some measures

Hi people!

 

I have 5 measures, and I am trying to place those measures in a table, so that there is a column with the name of each measure and another with the value of said measure. How can I do this? Can be done?

 

Thanks and regards

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi, @Gerosaki 

May I ask if this is the expected output you are looking for? Based on your description, I have created many measures to achieve the effect you are looking for. Following picture shows the effect of the display.

vyaningymsft_0-1704852371548.png

 

Measures:

MeasureNames =

DATATABLE (

    "Measure Name", STRING,

    {

        { "SUMValue" },

        { "AverageValue" },

        { "MinValue" }

    }

)

Value =

SWITCH (

    TRUE (),

    SELECTEDVALUE ( 'MeasureNames'[Measure Name] ) = "SUMValue", [SUMValue],

    SELECTEDVALUE ( 'MeasureNames'[Measure Name] ) = "AverageValue", [AverageValue],

    SELECTEDVALUE ( 'MeasureNames'[Measure Name] ) = "MinValue", [MinValue],

    BLANK ()

)

SUMValue =

SUM ( 'Table'[Value] )


AverageValue =

AVERAGE ( 'Table'[Value] )


MinValue =

MIN ( 'Table'[Value] )

 

If this does not work, could you please share some sample data without sensitive information and expected output.
How to provide sample data in the Power BI Forum - Microsoft Fabric Community

Best Regards,
Yang
Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi, @Gerosaki 

May I ask if this is the expected output you are looking for? Based on your description, I have created many measures to achieve the effect you are looking for. Following picture shows the effect of the display.

vyaningymsft_0-1704852371548.png

 

Measures:

MeasureNames =

DATATABLE (

    "Measure Name", STRING,

    {

        { "SUMValue" },

        { "AverageValue" },

        { "MinValue" }

    }

)

Value =

SWITCH (

    TRUE (),

    SELECTEDVALUE ( 'MeasureNames'[Measure Name] ) = "SUMValue", [SUMValue],

    SELECTEDVALUE ( 'MeasureNames'[Measure Name] ) = "AverageValue", [AverageValue],

    SELECTEDVALUE ( 'MeasureNames'[Measure Name] ) = "MinValue", [MinValue],

    BLANK ()

)

SUMValue =

SUM ( 'Table'[Value] )


AverageValue =

AVERAGE ( 'Table'[Value] )


MinValue =

MIN ( 'Table'[Value] )

 

If this does not work, could you please share some sample data without sensitive information and expected output.
How to provide sample data in the Power BI Forum - Microsoft Fabric Community

Best Regards,
Yang
Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

That's what I was looking for... thank you very much!

Ashish_Mathur
Super User
Super User

Hi,

Create the standard Table visual.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors