Forum Discussion

vinayakk's avatar
vinayakk
Frequent Visitor
7 years ago

How to filter data on As Timeline visual(custom) by time duration

Hi everyone,

I have to show what task (e.g. cutting, marking or idle) a machine (having IP on the y-axis) is doing for the time duration in a day(like during 17:30 to 18:00).

I have a data sample,

 

I have used "as Timeline" custom visual to show the required scenario, but I'm not able to filter the visual for a particular time duration in a day(as shown in Timeline screen below where I have applied filter for 17:30 to 18:00 but it is showing data for the whole day rather than for that particular time duration).

Timeline screen:

 


could anyone help me out here! Thanks.

GuyInACube prateekraina 

1 Reply

  • TeigeGao's avatar
    TeigeGao
    Icon for Solution Sage rankSolution Sage

    Hi vinayakk ,

    In your scenario, you can try to use the page level filter, you can also use a measure like below:

    measure = if (FromDate > 17:30 && FromDate < 18:00, count(IP), blank())

    Best Regards,

    Tiege