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
Evanooruvan
Helper II
Helper II

Filter the projects if it exceeds the threshold , composite model

compare two column from different table , one is dax and other is excel , and write dax query
3 hours ago

I have two table

table 1 - direct query

table 2 - Excel

 

relationship created using a column called - project_name

 

Now i have a column named dq% in table1 and column named threshold in table 2,

 

now i want to write a query where if dq% greater than threshold,1 else 0,

i want the above logic to be implemented in calculated column so that i can filter the values in visualisation

 

many function seems to not work properly between direct and import tables.

 

can someone help here please

1 REPLY 1
amitchandak
Super User
Super User

@Evanooruvan , Try to have a measure, for that you need a common dimension, unless the Table 2 is dimension

 

You need to have measures like

 

if(Average(Table1[DQ%]) > Max(Table2[Threshod]) ,1,0)

 

Based on level/group by  you can do segmentation

Customer Retention with Dynamic Segmentation, New/Lost/Retain Customer Count: https://youtu.be/EyL7KMw877Q

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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