Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
I'm having a problem with the sumx DAX which is resulting 0 for all rows.
The DAX is as below :
Solved! Go to Solution.
Hi @Baroumy
You need to summarize the fact table by the slicing by columns:
Sales Price variance PY =
SUMX (
SUMMARIZE ( 'Exploitation Values', [Column1], [Column2] ),
[Prep Sales price variance P Y]
)
Hi @Baroumy
You need to summarize the fact table by the slicing by columns:
Sales Price variance PY =
SUMX (
SUMMARIZE ( 'Exploitation Values', [Column1], [Column2] ),
[Prep Sales price variance P Y]
)
Thanks @tamerj1 . I summarized them. Now at least I got figures :). But they have a wrong column total.
My point of using the Sumx is to get the correct total which should be 72,004.96 and not 1,490,790.74 (which is the total of the Actual Qty times the total of U P Variance PY).
Small hint, the list of items doesn't appear in the year 2022 (the previous year) if I only select them in a table visual. However, when I start adding the measure like [U P] and so.. they appear ( when I choose the year 2022 in the calendar filter). I don't know if that's related.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
20 | |
7 | |
6 | |
5 | |
5 |
User | Count |
---|---|
26 | |
10 | |
10 | |
9 | |
6 |