Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Attached is sample data from my visualization table. You can see the Product Value is completing a weird calculation - each year is duplicating the product value from the previous, and my grand total is twice what is should be.
Here is DAX for a couple columns:
Year | Product Category | Product Value | Annual ACV Product Value LY | Annual ACV Diff Between TY LY |
2011 | A | $131,282.70 | $ 131,282.70 | |
2012 | A | $131,282.70 | $ 131,282.70 | $ (131,282.70) |
2012 | A | $1,397,633.70 | $ 1,397,633.70 | |
2013 | A | $1,397,633.70 | $ 1,397,633.70 | $ (1,397,633.70) |
2013 | A | $2,472,531.60 | $ 2,472,531.60 | |
2014 | A | $2,472,531.60 | $ 2,472,531.60 | $ (2,472,531.60) |
2014 | A | $4,010,372.20 | $ 4,010,372.20 | |
2015 | A | $4,010,372.20 | $ 4,010,372.20 | $ (4,010,372.20) |
2015 | A | $5,295,672.70 | $ 5,295,672.70 | |
2016 | A | $5,295,672.70 | $ 5,295,672.70 | $ (5,295,672.70) |
2016 | A | $6,553,524.60 | $ 6,553,524.60 | |
2017 | A | $6,553,524.60 | $ 6,553,524.60 | $ (6,553,524.60) |
2017 | A | $7,571,281.70 | $ 7,571,281.70 | |
2018 | A | $7,571,281.70 | $ 7,571,281.70 | $ (7,571,281.70) |
Not sure why this is happening!
Solved! Go to Solution.
Hi @cbtekrony ,
Based on my test, if we don’t summarize the [Product value] field, then we can get the table like this, each year is duplicating the product value from the previous
But if We select Sum the value field, we can get the correct result as following,
BTW , pbix file as attached
Best regards,
Hi @cbtekrony ,
Based on my test, if we don’t summarize the [Product value] field, then we can get the table like this, each year is duplicating the product value from the previous
But if We select Sum the value field, we can get the correct result as following,
BTW , pbix file as attached
Best regards,
Sample source data would be helpful here:
Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
User | Count |
---|---|
140 | |
113 | |
104 | |
77 | |
65 |
User | Count |
---|---|
136 | |
118 | |
101 | |
71 | |
61 |