The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi everyone,
I'm having this weird issue and desparately looking for a solution for this.
I have 3 measures which are Count, Average and Count * Average , the total of Average and Count * Average are not giving me the correct total as shown below :
As you can see the total for the Average and the Count * Average are not the expected total I need.
I tried SUMX(Table, (Count * Average)) technique but no avail.
Any calculation that will give me $3,434,682 for the Average and $6,363,700 for the for the Count * Average column would be great help!
Thanks!
Solved! Go to Solution.
you need creat 2 measures
1) m1 = Count * Average
2) m2 = SUMX( VALUES('Table'[ID]), [m1])
you need creat 2 measures
1) m1 = Count * Average
2) m2 = SUMX( VALUES('Table'[ID]), [m1])
Spot on! This seems to be working in my case. I tried using SUMX without the VALUES() function and just the table/column name which didn't work but this did.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
108 | |
77 | |
73 | |
47 | |
39 |
User | Count |
---|---|
137 | |
108 | |
69 | |
64 | |
56 |