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
KarthikSridaran
Frequent Visitor

Column Comparison / Adding measure to filter

Hello All,

 

I have a problem, it may be a simple one. I have two datasets created and two calculated columns in each based on my proj requirement, both these columns will give me numeric output.

 

Now i have to compare these two columns and say whether it matches, ot not matching. 

 

dataset1 : calculated column 

absence days = IF('dataset1'[hoursBased] = "true", 'dataset1'[hours]/8, 'dataset1'[days])

 

dataset2 : calculated column

timesheet = 'dataset2'[hours]/8

 

What i did , I created a measure that gives me a string as output like below

comp = IF(SUM( 'dataset1'[absensce days]=SUM('dataset2'[timesheet])."Match","Mismatch")

 

This works fine, but i can only add it to a table i couldnt add it to a filter since it is a measure. Can you please suggest me how to add a measure output to a filter or suggest me other approches to solve my issue.

 

Thanks in advance.

1 ACCEPTED SOLUTION
KarthikSridaran
Frequent Visitor

Hi Guys,

 

I found out a way to solve this. Thanks.

View solution in original post

2 REPLIES 2
Lilian
Regular Visitor

Hi Karthik!

 

How did you solve this?

I have the same problem.

 

Thanks.

KarthikSridaran
Frequent Visitor

Hi Guys,

 

I found out a way to solve this. Thanks.

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.