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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
tboonhau
Frequent Visitor

Filter Visual Last 24 hours

Need some help here, I applied a visual filter to get the last 24 hours but the time now is 11:24 AM but in the filter it is only 3:06AM.  I would like the filter to follow my clock, which means I want the visual to show from 17/1/2023 11:24AM - 18/1/2023 11:24AM. Thanks

 

tboonhau_0-1674012249529.png

 

2 REPLIES 2
amitchandak
Super User
Super User

@tboonhau , Create a measure like the below and use that in the visual or visual level filter and check for nonblank

 

countrows(filter(Table, Table[DateTime]> now() -1 && Table[DateTime]<= now() ) )

Hi there, 

 

Thanks but I created the measure you suggested. But it doesn't work in my chart. I got a blank chart instead 

tboonhau_0-1674022500995.pngtboonhau_1-1674022526305.png

tboonhau_2-1674022541023.png

 

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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