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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
M-M-P
Helper III
Helper III

How to make this visual?

Hi
I'm trying to make this visual in Power Bi. The image is made in Photoshop.
The lines are different temperature measurements and the bars show which hours are "Risk hours".

Untitled-1.jpg

 

I have a Data table with temperature, risk hour, name, timestamp columns.

Shouldn't you be able to make this? I can't find a combination that works.

 

Thanks in advance.

5 REPLIES 5
amitchandak
Super User
Super User

@M-M-P , You create risk out Static value or use what if for that. And then use Line column or line clustered chart.

https://docs.microsoft.com/en-us/power-bi/desktop-what-if

Hi @amitchandak 
Thanks for the answer.

I'm not sure I understand what you mean by "You create risk out Static value".

The risk hours are a boolean 1 and 0.

Mariusz
Community Champion
Community Champion

Hi @M-M-P 

 

It's the line and clustered column chart as per below.

 

image.png

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
LinkedIn

 

Hi @Mariusz 

Thanks for the answer.

 

Great, how do you get it to split up the line and not the bars?

When I use it it looks like this.

2020-04-29 11_44_30-Legionella DEV V2 SQL  - Power BI Desktop.png

In the upper visual, risk hours are placed in Column values and in the one below the risk hours are added in Line values.

Am I doing something completely wrong?

Mariusz
Community Champion
Community Champion

Hi @M-M-P 

 

As you can see in the picture that you posted, there is only Measure on in the columns and the rest would be lines.

 

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
LinkedIn


 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.