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
Anonymous
Not applicable

Display data between 2 dates (not exclusive) for Gantt Chart

 

Hello community! I am running into a problem I can't seem to find the solution to, even after a lot of research and trials.

 

I have machine activity data. For example

MachineNameStartDateEndDateStatus
A2021-06-08 10:00:05 2021-06-08 12:10:00Active
A2021-06-08 12:10:012021-06-08 1:32:12Paused
B2021-06-08 9:00:00 2021-06-08 9:23:02Active

 

The goal is to display this info on a Gantt chart where we would see every machine and their status on a timeline (see example below).

 

CathLeto_0-1623164840180.png

 


My issue is with time intelligence. There will be a calendar filter on the page and I want, for example, if we filter on "From 2021-06-08 8:59:00 To 2021-06-08 11:00:00, that part of the activity of Machine A to show up and also Machine B's activity to be displayed.

 

Here is a sample of my data:

Sample Data 

 

Thanks in advance!

1 REPLY 1
v-jayw-msft
Community Support
Community Support

Hi @Anonymous ,

 

You could create a measure use IF() function. If the Machine is active then measure =1 else measure =0. At last add this measure to visual filter.

 

Best Regards,

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.

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!

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.