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
Anonymous
Not applicable

Compare quick mesurement with a cell value from another table

Hello,

I receive an excel file that contain a summary sheet and somme other sheet.

The summary sheet contains sum of values calculated in other sheets.

ex:

sheet 1 name mesurevalue
sheet 2 name mesurevalue
sheet 3 name mesurevalue

 

My others sheets have differents structures.

I've imported my excel file into power bi and turned each sheet in a table

I've done my quick mesurements in all sheets and I want to add a column into the summary sheet to report each quick mesurement in front of the value column.

The purpose is to verify that each quick mesurement matches corresponding cell value.

Is it possible ?

Any suggestion?

If it seems unclear, let me know. I'll try to re explain myself

1 ACCEPTED SOLUTION
Mariusz
Community Champion
Community Champion

Hi @Anonymous 

 

Yes, you can add a column to your summary sheet with a SWITCH function like.

Column = 
SWITCH( 
    'Table'[MeasureName],
    "sheet 1 name mesure", [DAX Measure 1],
    "sheet 2 name mesure", [DAX Measure 2],
    "sheet 3 name mesure", [DAX Measure 3]
)

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
LinkedIn

 

View solution in original post

1 REPLY 1
Mariusz
Community Champion
Community Champion

Hi @Anonymous 

 

Yes, you can add a column to your summary sheet with a SWITCH function like.

Column = 
SWITCH( 
    'Table'[MeasureName],
    "sheet 1 name mesure", [DAX Measure 1],
    "sheet 2 name mesure", [DAX Measure 2],
    "sheet 3 name mesure", [DAX Measure 3]
)

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
LinkedIn

 

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.