Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
I have errror in my measure i use the measure to get last week of dataset and when i call it in matrix table based on governorate the value is inccorrect when i call it in card the total is correct, kindly help me how to solve this issue .
the measure is
Solved! Go to Solution.
HI @Saddam,
I suppose it should be a multiple aggregate level calculation issues with measure expression, you can refer to Greg’s blog to add a variable with SUMMARIZE function and iterator functions to handle this scenario:
Measure Totals, The Final Word
mea =
VAR summary =
SUMMARIZE (
ALLSELECTED ( dtable ),
[Category],
[week],
"cMain_id", COUNT ( dtable[main_id] )
)
RETURN
SUMX ( summary, [cMain_id] )
Regards,
Xiaoxin Sheng
HI @Saddam,
I suppose it should be a multiple aggregate level calculation issues with measure expression, you can refer to Greg’s blog to add a variable with SUMMARIZE function and iterator functions to handle this scenario:
Measure Totals, The Final Word
mea =
VAR summary =
SUMMARIZE (
ALLSELECTED ( dtable ),
[Category],
[week],
"cMain_id", COUNT ( dtable[main_id] )
)
RETURN
SUMX ( summary, [cMain_id] )
Regards,
Xiaoxin Sheng
Hi @Anonymous ,
This measure which you have sent is return All values i just need the data of max week to return in matrix table.
Best Regards
Hi Bro, this measure is return All values i just need the data of max week to return.
Best Regards
measure in matrix table
measure in card
this screenshoot about this problem
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.