Reply
jdeharo
Regular Visitor
Partially syndicated - Outbound

Hour Filter to Capture Time up till Selected Hour

I report with a Date filter set to Today and a filter with Hour currently set to All.  I need to set it so when the Hour of 12pm is selected, the data in the report shows ALL data from start of the day up till 12pm or whatever the selected time is.   Below example, unless i go and click each hour I am only able to see the Hour selected.  With 1 Click Id like to see all Hour up till the Hour clicked.  thanks!

 

 

jdeharo_0-1721665330400.png

 

1 ACCEPTED SOLUTION
v-kaiyue-msft
Community Support
Community Support

Syndicated - Outbound

Hi @jdeharo ,

 

Have you solved your problem? If so, can you share your solution here and mark the correct answer as a standard answer to help other members find it faster? Thank you very much for your kind cooperation!

 

 

Best Regards,

Clara Gong

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

5 REPLIES 5
v-kaiyue-msft
Community Support
Community Support

Syndicated - Outbound

Hi @jdeharo ,

 

Have you solved your problem? If so, can you share your solution here and mark the correct answer as a standard answer to help other members find it faster? Thank you very much for your kind cooperation!

 

 

Best Regards,

Clara Gong

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

newellaa
Frequent Visitor

Syndicated - Outbound

It looks like slicer that you are referencing is for a date/time field. Use a slicer that references the hour only. Your first post seems like it just displays the hour in the slicer not the full date.

v-kaiyue-msft
Community Support
Community Support

Syndicated - Outbound

Hi @jdeharo ,

 

Thanks for the reply from @newellaa , please allow me to provide another insight:

 

Based on your description, I created these data.

vkaiyuemsft_0-1721713160927.png


1. create a table, put in the 24 hours of the day, and don't have a relationship with the original table.

vkaiyuemsft_1-1721713173674.png


2. create MEASURE.

MEASURE = 
IF (
    SELECTEDVALUE ( 'Table 2'[hour] ) = BLANK ()
        || HOUR ( MAX ( 'Table'[Value] ) ) <= SELECTEDVALUE ( 'Table 2'[hour] ),
    1
)

 

3. Use the table with hour as slicer and filter the data with MEASURE value of 1 in the filters of the original table.

vkaiyuemsft_2-1721713213885.png

 

If your Current Period does not refer to this, please clarify in a follow-up reply.

 

Best Regards,

Clara Gong

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

newellaa
Frequent Visitor

Syndicated - Outbound

Under the Hour Slicer formatting there is an option to filter less than or equal to. In my version I appear to lose the ability to select from a list of hours. I must enter manually.

 

newellaa_0-1721668372092.png

 

Syndicated - Outbound

@newellaa thanks this was what i was hoping for but as you see in my screenshot I dont see that option.  I have the latest Desktop version downloaded sorry what am I missing?  

jdeharo_0-1721744431700.png

 

avatar user

Helpful resources

Announcements
March PBI video - carousel

Power BI Monthly Update - March 2025

Check out the March 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)