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
sabeensp
Helper IV
Helper IV

Simple Divide Filter

Hello,

 

I have a table

COL_a  ......   COL_b .......  COL_c .......   COL_d

 

I need to divide COL_a with COL_b (That is a simple messure),
but I only need to divide COL_a with COL_b when  COL_c value is XX and COL_d value in not YY

Can you please help?

1 ACCEPTED SOLUTION
hasanarslan
Regular Visitor

Hi,

You can handle is with new column with this formula

 

=IF(AND(Table1[COL_c]=XX,Table1[COL_d]<>YYY),Table1[COL_a]/Table1[COL_b],0).

 

Hasan

View solution in original post

1 REPLY 1
hasanarslan
Regular Visitor

Hi,

You can handle is with new column with this formula

 

=IF(AND(Table1[COL_c]=XX,Table1[COL_d]<>YYY),Table1[COL_a]/Table1[COL_b],0).

 

Hasan

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