Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
In this example the accumulated per month is calculated and the line values are the average per month of Euros/Litres, but this average is different in one graph and in the other. For example in November the average is 23.52 but in the left graph it appears 22.70. Why does the left graph calculate the average wrong? How can I make the left graph so that the correct average appears, which is 23.52?
attached dropbox pbix
https://www.dropbox.com/s/b3rr05wpgr2ldy6/ejemplo.pbix?dl=0
Solved! Go to Solution.
@pakovic , A per me
22.70 coming from divide(sum(Table[Euros]), sum(Table[Litres]))
the other one is
averageX(Values(table[Product]), calculate(divide(sum(Table[Euros]), sum(Table[Litres])) ))
// Avg of rows
But, is correct 22,70 or 23,52 ? I think the correct is 23,52
@pakovic , A per me
22.70 coming from divide(sum(Table[Euros]), sum(Table[Litres]))
the other one is
averageX(Values(table[Product]), calculate(divide(sum(Table[Euros]), sum(Table[Litres])) ))
// Avg of rows
@pakovic , That is a simple average,
In the latest version, You have fx option under the Constant line( Y axis constant line) , Use that and give this measure, you should get correct value
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
123 | |
78 | |
48 | |
38 | |
37 |
User | Count |
---|---|
196 | |
80 | |
70 | |
51 | |
42 |