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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
JoopH
New Member

Measure Behaviour Dependant on Column

I need to create a measure that has different behaviours depending on the column being referenced.

 

For example for Table 1 Column A compare count as a percentage to Table 2 Column A.

Alternatively for Table 1 Column B compare to Table 2 Column B in the same way but all percentage differences should be inverted (I.e. if the count is higher, and so a positive % difference, inverse that to a negative)

 

I am struggling with column references, and how to formulate the logic.  Any ideas?

1 REPLY 1
Shaurya
Memorable Member
Memorable Member

Hi @JoopH,

 

Can you specify if there are any conditions that you want to check before deciding if you want to compare Column A from both the tables and when you want to compare Column B?

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.