I have created 2 different dynamic tables in POWER BI from the main table. The first table has 3 columns for Year, Total sales and Total Units.
The Second table also has 3 columns for Fiscal Year, total Sales and Total Units
Now I have a bar graph in powerbi to show the comparision between sales and units of both tables based on Year. What I want to do is add a filter to my dashboard based on Sales and Units in which if I select Sales The bar graph will only show the data based on Sales and if I select Units the bar graph should show data based on Units.
Note: We can not Unpivot dynamic tables in PowerBI so that is not an option.