Forum Discussion
Excellove15
Oct 16, 2024Iron Contributor
Dax measures total mismatch in visual level
Hi Team, I have below dax measures as follows: Forecast - Target Units_1 =
VAR _DailyUnits = [Target consumption per day_1]
RETURN
SUMX(Points,
SUMX(Calendar_,
IF(ISBLANK([Actual Units])...
- Oct 19, 2024
Please try to open the file Portfolio Performance - v2.13 - Update 01.pbix
SergeiBaklan
Oct 16, 2024Diamond Contributor
Variable is not needed in that case
SUMX (
Points,
SUMX (
Calendar_,
IF ( ISBLANK ( [Actual Units] ), [Target consumption per day_1] )
)
)
works
Excellove15
Oct 17, 2024Iron Contributor
Hi SergeiBaklan
Thanks for your amazing solution sir!😊
This returns the correct results as below:
When I keep only the top(high) level filter (i.e) DBName, this new measure takes long time to run & causes performance issues as below:
When i ran this query in dax studio, it was taking long time to run:
I think if function inside SUMX function is causing the performance issues especially when our data has millions of rows.
But I am struggling to resolve it.
Please advise!
PFA file here with new measure https://1drv.ms/u/c/cfada767f73d87ed/Ea0TIy07Jv9NiL0z6qXUGDQBlicV4y_m8qc5lOou8yp2MA?e=H5aZgu
Thanks in advance!