The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hi all, I'm trying to have the last line as a total of all average data shown in table. Basically all data shown by day is an average per day of a whole year. But when I use the Matrix visualization I cannot see the total but only the average of all SKUs... when I actually want the total of all SKUs.
Can anyone help?
Thanks.
Solved! Go to Solution.
You are missing a ) after Values(Sheet1[SKU]
Regards
Hi, you need to create a measure:
AverageVolumen = AVERAGE(Table1[Volumen])
And another :
MeasuretoUse = IF ( HASONEVALUE ( Table1[SKU] ); [AverageVolumen]; SUMX ( VALUES ( Table1[SKU] ); [AverageVolumen] ) )
Regards
Victor
Thanks for your response velarde. But it's giving me an error in the formula (see below)
Thanks a lot for your help!!
It worked perfectly.