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

DAX Formula to Filter same values across 2 columns

Hello,

 

   Need to try get a DAX formula that filter conditions on the same values across 2 columns.

So, this my current data with this formula - 

Numerator = CALCULATE(Sum(Race_Ethnicity_Performance_DataSet[Count]), FILTER(Race_Ethnicity_Performance_DataSet, NOT Race_Ethnicity_Performance_DataSet[Value1] in {"UNK","ASKU"} && Race_Ethnicity_Performance_DataSet[Value2] in {"UNK","ASKU"}))

 

RaceEthnicityNumeratorTotal
Ask But No Answer Asked But No Answer 17,719
 Hispanic or Latino  662
 Not Hispanic or Latino  466
 Unknown 2,757

  

What I need in the Resulting Table is the Following:

RaceEthnicityNumeratorTotal
Ask But No Answer Asked But No Answer 17,719
 Hispanic or Latino662 
 Not Hispanic or Latino466 
 Unknown 2,757

 

Is there a solution to this ?  Isn't my Dax formula Correct ?

Thanks.

 

1 ACCEPTED SOLUTION
williamy281
Frequent Visitor

Never mind.  I figured it out. Used or in the formula with different values.

View solution in original post

2 REPLIES 2
williamy281
Frequent Visitor

Never mind.  I figured it out. Used or in the formula with different values.

So make sure to close this, or mark your reply as a solution.

 

 

Helpful resources

Announcements
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!

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.