Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Plot a motion Graph in Power bi or R

Hi,

I am Looking for a way to plot the graph as shown below, it has time range on Y axis, Id on X axis and the lines in the graph are the motion status (flag set to 1) for the given Time and ID, I have tried most of the visuals in Power Bi , but it dosent workout.

Any Suggestions in R or in Power Bi ?

 

Capture.PNG

Thanks,

1 ACCEPTED SOLUTION
v-ljerr-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous,

 

In this scenario, I would suggest you try using the Matrix visual which could partially give your expected result. Smiley Happy

 

1. Add a Matrix

2. Show Time as Rows, ID as Columns, and Flag as Value. 

3. Disable all Subtotals

4. Enable condition formatting for background color scales and font color scales.

 

r1.PNG

 

Regards

View solution in original post

2 REPLIES 2
v-ljerr-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous,

 

In this scenario, I would suggest you try using the Matrix visual which could partially give your expected result. Smiley Happy

 

1. Add a Matrix

2. Show Time as Rows, ID as Columns, and Flag as Value. 

3. Disable all Subtotals

4. Enable condition formatting for background color scales and font color scales.

 

r1.PNG

 

Regards

Anonymous
Not applicable

Thanks v-ljerr-msft  , thats a good workaround:) I have used it for now, but will still work for some R graphs, Thanks again.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.