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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register 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/

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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