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
Fuzbe
New Member

CALCULATE based on evaluating OR condition between two dimension tables

Hello,

 

I have the need to compute "Custom Revenue" by evaluating an OR condition between two dimension tables.  The following DAX expression failes:

 

Custom Revenue:=
CALCULATE (
[Revenue]
,Table1[Column1] = "Hello" || Table2[Column1]= "World"
)

 

I understand why the above expression fails, but can't seem to figure out how to write a formula that works.  Any ideas welcome!

1 REPLY 1
Aron_Moore
Solution Specialist
Solution Specialist

I had something similar. Had to figure out if an account was past due then either use an abritrary date or the date on the record.

 

What I did was put the OR logic in a column, then used that column as the filter in my Calculate.

 

 

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.

Top Solution Authors