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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
naifAhmedB
Helper II
Helper II

How to show the first value in certain hour?

Hi every one,

I really need help on making a dax or filter.

 

General Details: I have data for every store door opening and closing time

request: to show the first store-door opening time between 5- 6 AM.

Example: The first open in 16 Nov is at 5:41 AM. 

 

Filter use: I have created a hour column and filtered the 5 AM.

Problems with that: I still see other opening and closing time

 

Dax required : something like = show value(open/closed), if first( open) in 5 -6 AM. or show the first value (open/close) in certain hour=5 Other notes: The dax has to allow auto-update for date since it will show the report for every day.

 

1.PNG2.PNG3.PNG4.PNG

3 REPLIES 3
amitchandak
Super User
Super User

@naifAhmedB , Not very clear. But you might have to create a time table and have hours there and then create two measures open and close. https://kohera.be/blog/power-bi/how-to-create-a-time-table-in-power-bi-in-a-few-simple-steps/

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

I have create a table to show only opendoor with filter 5 AM.

 

Now I want to show only 5:41 AM on nov 16 and  5:50 AM on Nov 17

since they are the first door open time. 

 

 open table.PNGopen.PNG

HI again,

I was able to reach this :

min.PNG

 

any other daxs i can use? 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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