Forum Discussion
How to Change the Line Chart to a Step Chart (Or make a Step Chart)
Hello All,
I have this table refering to a system wich has specific dates when the system changes states from online (1) to offline (0).
What i would like to do is a graph to show when the system is up and down like this. (Done in Paint)
The only thing i can do in Power Bi is a grafic like this:
Hope you can help me :)
5 Replies
- AnonymousNot applicable
This is now an easy change in the 2021 versions of Power BI:
- Select the line chart
- Go to Formatting
- Under "Shapes" click the "Stepped" radio button:
- pak
Helper II
Hi Guilherme3 ,
Maybe this isn't a solution but i used Power KPI 2.0.0 from Marketplace and in Format -> Line options choose Step-After. I used fields Axis and Values only. In my case it looks like that:
- nguyenh5Regular Visitor
You would go to Line Chart > Format > Shapes - turn on Stepped
- v-huizhn-msft
Microsoft Employee
Hi Guilherme3,
After research, there is no such an visual to display like what you want. The second graph you did is got from line chart, which draw the line based on the point(values) in different time. For your expected result, there are two values(0,1) where the state is 1.
You can create a similar bar chart like the following screenshot.
Best Regards,
Angelia - QuinnP
Advocate II
Hi Guilherme3
Not sure of this is still relevant, but one method that I've used is to create a line graph with Date_Change as the axis and State as the values, then under Shapes I've set Stepped to on. This should make a graph like what you need.
Cheers!