Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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].
Solved! Go to 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]
)
Thank you that worked for me!
Hi @Anonymous
are you trying to create a measure or a calculated column?
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]).
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]
)
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 9 | |
| 5 | |
| 5 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 24 | |
| 11 | |
| 9 | |
| 6 | |
| 6 |