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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.