Forum Discussion
Anonymous
3 years agoNot 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].
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]
)
6 Replies
- AnonymousNot applicable
Thank you that worked for me!
- tamerj1Community Champion
Hi Anonymous
are you trying to create a measure or a calculated column?
- AnonymousNot applicable
A measure
- tamerj1Community Champion
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]).