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
Anonymous
Not applicable

Dax Calculation

Hi,

 

I am having trouble writing the calculation below and keep running into errors.

 

(SUM [OH TTL U RTL] WHERE [J RETAIL FH FIRST/FURTHER] = "FIRST" OR "FURTHER")*[OH TTL AUC].

 

 

1 ACCEPTED SOLUTION

@Anonymous 

Not sure if I properly understand the requirement. Is something like:

=
SUMX (
FILTER ( 'Table', 'Table'[J RETAIL FH FIRST/FURTHER] IN { "FIRST", "FURTHER" } ),
[OH TTL U RTL] * [OH TTL AUC]
)

View solution in original post

6 REPLIES 6
Anonymous
Not applicable

Thank you that worked for me!

tamerj1
Super User
Super User

Hi @Anonymous 

are you trying to create a measure or a calculated column? 

Anonymous
Not applicable

A measure

@Anonymous 

Sorry but you mean to say

(SUM [OH TTL U RTL] WHERE [J RETAIL FH FIRST/FURTHER] = "FIRST" OR "FURTHER")*SUM([OH TTL AUC]).

 

Anonymous
Not applicable

I am looking for how to write that in dax.  That is not the calculation I am using.

@Anonymous 

Not sure if I properly understand the requirement. Is something like:

=
SUMX (
FILTER ( 'Table', 'Table'[J RETAIL FH FIRST/FURTHER] IN { "FIRST", "FURTHER" } ),
[OH TTL U RTL] * [OH TTL AUC]
)

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.