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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
amit_maniyar
Helper I
Helper I

Hourly Table using DAX

Hi All, 

here is the scenario; I want to create an hourly table using generateseries function as shown in the picture.
I am not sure if I am making any mistake. but ,I am supposed to see the hourly series here which should not have hour portion "59:59". 

 

I have attached 2 images here one of them shows as "mm/dd/yyy 00:00:00" sorted ascending and another one shows  "mm/dd/yyy 59:59:59" - which I would not want & dont know how it is giving me values like this!!

I liked using dax instead of power query because I find DAX simpler.


I tried to read relative posts, but could not find the exact one. 


any help would be appreciated.   2.jpg

 

1.jpg

 

 

1 ACCEPTED SOLUTION

Think of the cardinality. A hourly table has 24 entries. A minute table has 1440 rows. A time table has 86400 rows.  This will quickly become unmanageable.

View solution in original post

4 REPLIES 4
amit_maniyar
Helper I
Helper I

Thanks @lbendlin . I made a use of power query as you mentioned about cardinality.

amit_maniyar
Helper I
Helper I

Generateseries(0,23) won't give me date right ? I want date and time (hourly breakdown) as well.

 Do you know any workaround to this?

Think of the cardinality. A hourly table has 24 entries. A minute table has 1440 rows. A time table has 86400 rows.  This will quickly become unmanageable.

lbendlin
Super User
Super User

Have you considered using GENERATESERIES(0,23)  ?

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 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.