Hey guys,
I've been digging around the forums today to try and find a solution, but can't quite find what I'm looking for.
I'm trying to make a sparkline of 3 categories of data and their "% contribution" to the total for each week (my x-axis).
The following is an example of my data:
Week | Category | Value |
1/1/2016 | A | 10 |
1/1/2016 | B | 20 |
1/1/2016 | C | 70 |
1/8/2016 | A | 70 |
1/8/2016 | B | 20 |
1/8/2016 | C | 10 |
I want to be able to have for the first week Category A = 10%, B = 20%, C = 70%, and for second week Category A = 70%, etc...
Using the "Percent of Grand Total" quick calc gives me the percent of the whole, not the week, which isn't helpful for my graph.
Anyone have any guidance or suggestions? I've considered a DAX formula possibly helping in this case.
I already forsee my future problem of actually charting it when I want 3 separate sparklines, one of each category, and that breaking the formula we put together in this post but...for another day!
Thanks!