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
Hemanttripathi
Regular Visitor

How to create condition column based on quick measure

Hello Power BI community,

 

I am struglling with one scenario where I have quick measure which subtracts two columns from two diffrent tables. Based on which i want to have one more column with result if 'quick measure (DIFF)' ='0' then its 'yes' or else if less than or greter than zero it should be false.

The relationship between both the tables are based on Sr.No = 'Many to Many' as One to One is not possible to be created.

 

Here is the example two data set:

 

 DataSet_FDBA
Sr NoFDBA
1100
21500
31500
4200

 

 DataSet_ TBA  
Sr NoTDBAQuick Measure (DIFF)Required column
19010No
215000Yes
31400100No
42000Yes

 

Can anyone guide me how can i achieve the required column.

 

I am open for suggestions to redesign in order to achieve difference column and conditional yes or No column.

 

Thank you in advance.

 

Regards,

Hemant

1 REPLY 1
amitchandak
Super User
Super User

@Hemanttripathi , Have new measure like

if([Quick Measure] >0 ,"Yes","No")

 

If need a column with a slicer then you need an independent table with ranges like

-99999999 0  , No

0.0000001 99999999 , yes

 

and then using Sr No level and this table you need to create a measure that you can use.

please refer to my video (Sample file link given in description)

https://www.youtube.com/watch?v=CuczXPj0N-k

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
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.