I am trying to calculate the difference between the two calculated ratios, instead of recalculating the ratio based on the whole data set.
In the below example, the desired difference is -4.36% instead of 135.29%. Here is the pbix file
Any helps appreciated.
Go to Solution.
If I may suggest, I highly recommend changing the source table structure in Power Query Editor.
However, the below is one of the solutions if there are any reasons that this table structure has no choice but to be used.
If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.
Best regards, JiHwan Kim
View solution in original post
Thanks Jihwan! That works perfectly.
The data provided is only a subset of a table, apart from the Variant subset the rest is necessary. I would love to calc the variant using DAX instead but I am not sure if I could do that and achieve the same outcome (ie ratios). Pointers?
Your sheet1 table is not well arranged. I do not see any use the of the Current/Prior column. What is the purpose of that column?
Learn how to create your own user groups today!
Click here to read more about the November 2021 Updates!
Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.