Reputation: 225
Range 20-04-2020 21-04-2020
0-10 10 14
11-20 23 56
21-30 35 9
I have this table for which I want a stacked graph like this (see image): -
As you see I can draw this graph in excel as a 'recommended graph', but cant do it in power bi. Using Stacked bar chart template only shows one stacked column and there is no way I found to plot dates on X-axis.
Look here for more : https://www.edureka.co/community/73585/stacked-chart-with-dates-on-x-axis
Please help.
Update: the problem I'm facing with my table: see image here
Upvotes: 0
Views: 6221
Reputation: 4313
This should be fairly simple:
I created a table with 3 columns and 6 rows to present your data.
(Range | Date | Value)
If you have a different data structure where you have the date as columns, you have to unpivot your data first. However, having this as your base, is not be logic because each new data would create a new column..
Steps to take:
end result:
if you also want the number is, set the Data Labels to "On"
Upvotes: 4