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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.