Hi Team,
Looking to understand how others would tackle the following task...
Here's a very simple example of my data set:
[TABLE="class: tableizer-table"]
<tbody>[TR="class: tableizer-firstrow"]
[TH]Version[/TH]
[TH]Month[/TH]
[TH]Forecast[/TH]
[/TR]
[TR]
[TD]A[/TD]
[TD]Jan[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]Feb[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]Mar[/TD]
[TD]8[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]Apr[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]May[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]Jun[/TD]
[TD]7[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]Jul[/TD]
[TD]8[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]Aug[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]Sep[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]Oct[/TD]
[TD]9[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]Nov[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]Dec[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]Jan[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]Feb[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]Mar[/TD]
[TD]8[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]Apr[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]May[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]Jun[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]Jul[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]Aug[/TD]
[TD]6[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]Sep[/TD]
[TD]6[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]Oct[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]Nov[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]Dec[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]Jan[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]Feb[/TD]
[TD]8[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]Mar[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]Apr[/TD]
[TD]8[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]May[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]Jun[/TD]
[TD]7[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]Jul[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]Aug[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]Sep[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]Oct[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]Nov[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]Dec[/TD]
[TD]2[/TD]
[/TR]
</tbody>[/TABLE]
On occasions, a user will want to compare two different versions - e.g. 'A' and 'C' - to see where movement has occurred.
The challenge:
I'm sure DAX measures could be used for this, but I'm wondering if there is a way of doing it in Power Query, perhaps more efficiently?
Thanks in advance to any potential helpers!
Cheers,
Matty
Looking to understand how others would tackle the following task...
Here's a very simple example of my data set:
[TABLE="class: tableizer-table"]
<tbody>[TR="class: tableizer-firstrow"]
[TH]Version[/TH]
[TH]Month[/TH]
[TH]Forecast[/TH]
[/TR]
[TR]
[TD]A[/TD]
[TD]Jan[/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/TR]
[TR]
[TD]B[/TD]
[TD]Dec[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]Jan[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]Feb[/TD]
[TD]8[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]Mar[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]Apr[/TD]
[TD]8[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]May[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]Jun[/TD]
[TD]7[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]Jul[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]Aug[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]Sep[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]Oct[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]Nov[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]Dec[/TD]
[TD]2[/TD]
[/TR]
</tbody>[/TABLE]
On occasions, a user will want to compare two different versions - e.g. 'A' and 'C' - to see where movement has occurred.
The challenge:
- Establish a way of showing the versions that are available so that the user can choose which two to compare;
- Create a table containing both of the versions chosen as well as the delta (difference) between the two;
- Pass the resulting data set back for analysis.
I'm sure DAX measures could be used for this, but I'm wondering if there is a way of doing it in Power Query, perhaps more efficiently?
Thanks in advance to any potential helpers!
Cheers,
Matty