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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
bdeleur
Helper III
Helper III

Visualization issue v2

Solved: Re: Visualization issue - Microsoft Fabric Community

Hi,

 

Recently, I posted the above post and also solved it myself. Now, the line gets a nice marker at the correct height. But this is only at the start date. However, I want the entire period between the start and end date to be colored red and not just triggered by the start date. The period can be minutes to several hours or even days.

I'm currently looking at the past 2 days, every hour, and can drill down to quarters. This is because of the other dataset that creates the white line, which is delivered every 15 minutes. But it would be nice if it could color at that level. So, if the end date is 14:14, it shouldn't color at the next block.

 

I currently only have a dim_date with the date and not with hours/minutes. If I need this, I will have to create it. The date is retrieved from the datasets.

 

The datetable looks like this en only the "volledige_stop" is relevant:

statusDepartmentstart_dateend_dateLokatie
volledige_stopAFD18-5-2024 17:598-5-2024 18:59A
volledige_stopAFD18-5-2024 18:568-5-2024 19:56A
openAFD18-5-2024 19:35 A
volledige_stopAFD212-5-2024 11:3712-5-2024 12:37A
openAFD212-5-2024 12:40 A
volledige_stopAFD213-5-2024 11:0813-5-2024 13:08A
openAFD213-5-2024 13:10 A
volledige_stopAFD213-5-2024 17:1113-5-2024 18:11A
openAFD213-5-2024 18:15 A
volledige_stopAFD214-5-2024 12:2114-5-2024 14:21A
openAFD214-5-2024 12:34 A
volledige_stopAFD214-5-2024 15:1914-5-2024 17:19A
volledige_stopAFD38-5-2024 17:088-5-2024 19:07B
openAFD38-5-2024 19:10 B
volledige_stopAFD313-5-2024 17:2213-5-2024 18:22B
openAFD313-5-2024 18:25 B
4 REPLIES 4
bdeleur
Helper III
Helper III

Still nobody able to help me? Please let me know if I'm not clear.

 

Tnx Bart

bdeleur
Helper III
Helper III

Hi everybody,

 

Is there somebody who can help me with solving the problem? Is everything clear?

v-xinruzhu-msft
Community Support
Community Support

Hi @bdeleur 

Based on the information you have offered, I don't understand what you're ultimately looking for, based on your previous posts, what criteria do you want to be marked in red, what conditions do you want to be marked in red for the entire period, what conditions do you need, can you provide some example images of what you want to expect, and want to know which field in the table you provide that the occupancy data that you put on the y-axis is based on?

 

Best Regards!

Yolo Zhu

Hi @v-xinruzhu-msft,

 

I really want to have a value on the white line (counts) during the period when there is a volledige_stop (period between end and start_date). If there is a value, I can use the other measure (if not empty or 0, then value of the white line) to color the entire period of the volledige_stop.

 

Currently, the entire hour during which there is a volledige_stop is colored, but the next hour when the volledige_stop is still ongoing is not colored. This is because it only looks at the start_date.

 

This is the result now:

bdeleur_0-1715844554697.png

If you look at the first red line, you'll see that it starts at hour 12. But it should run from 12:21 to 14:21. So, rounded to 15 minutes: 12:30 to 14:15.

Let's disregard the second red line for now. This is a new start_date. That's why it colors again.

 

This is the data it corresponds to.

statusDepartmentstart_dateend_date
volledige_stopAfd A14-5-2024 12:2114-5-2024 14:21

 

I hope my question is clear now, but if not, please let me know.

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.