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

Calculated column or measure based on equality

Hello,

 

I would like to set some measure or calculated column based on equality of these three items in the matrix:

eq.png

In other words - find 12:31, 22:31, 32:31 and compare with each other. Then store.

Then I plan to add color formatting. But first, need to write a clause in DAX or M. How this could be done?

Looking forward for your suggestions. Thank you.

 

Also adding better example of what I need:

eq.png

And a link to a project file:

Project file with data and matrix

2 REPLIES 2
Icey
Community Support
Community Support

Hi @Anonymous ,

I don't quite understand what you mean. Could you build a more detailed and concrete example to show what you want?

 

Best Regards,

Icey

Anonymous
Not applicable

I would like to compare fields shown on the screenshots and if they are equal set value of the separated column (let's call it "State") or measure to some value like '1'.

My pbi example has been updated in the link upwards.

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