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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
M-M-P
Helper III
Helper III

Visual production line start and stop cycle help

Hi

I am trying to make the visual you can see below (made in photoshop) or something similar to it.
It shows when a production line is running or are stopped, every hour at 5 minute intervals.

I could really use some input on how to structure the data and how to build the visual itself in Power BI.

I have been working with horizontal stacked bar chart and vertical stacked column chart. But has not made anything work yet.

 

Thanks in advance

M-M-P_1-1618831211586.png

 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@M-M-P , Matrix visual. Color-based on the value of status. An hour on row. Minute on column

max(status) in values 

 

Create a color measure like this and use that in conditional formatting of both background and color

Switch (max(status),

"Running", "green",

"Stopped", "red",

"blue"

)

 

 

refer for steps : https://youtu.be/RqBb5eBf_I4

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

3 REPLIES 3
M-M-P
Helper III
Helper III

Hi @amitchandak @Jihwan_Kim 

Thank you both. It was just the idea I needed.

Jihwan_Kim
Super User
Super User

Hi, @M-M-P 

Please check the below picture whether it is suitable for your case.

It can be created by using Matrix visualization with conditional formatting.

The sample pbix file's link is down below.

 

Picture3.png

 

https://www.dropbox.com/s/kxawhvd9vzu901h/mmp.pbix?dl=0 

 

Hi, My name is Jihwan Kim.

 

If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.

 

Linkedin: https://www.linkedin.com/in/jihwankim1975/

 


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.
amitchandak
Super User
Super User

@M-M-P , Matrix visual. Color-based on the value of status. An hour on row. Minute on column

max(status) in values 

 

Create a color measure like this and use that in conditional formatting of both background and color

Switch (max(status),

"Running", "green",

"Stopped", "red",

"blue"

)

 

 

refer for steps : https://youtu.be/RqBb5eBf_I4

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors