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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

Reply
Anonymous
Not applicable

Datetime Hierarchy

Hi everyone!

 

I want to built area chart comparing two years by months.

But I need to show my data not only by days (30 divisions) as it shown below:

1.JPG

 

 

 

 

 

 

 

 

But I need to have 720 divisions (30 days * 24 hours). Not necessarily shown on the x-axis title, but when I go throw visualization it will show points not only for days, but for hours also. 

1 ACCEPTED SOLUTION
v-xuding-msft
Community Support
Community Support

Hi @Anonymous ,

The data type of your date column is DateTime? If so, I think you could create an hour column, drag it to x axis and then expand Day and Hour.

HOUR = HOUR('Table'[Date])

3.PNG4.PNG 

Best Regards,

Xue Ding

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-xuding-msft
Community Support
Community Support

Hi @Anonymous ,

Do you try to add an Hour column? Is the answer helpful? If so, can you please accept the answer as a solution? If not, can you please share more details or some sample data to us? Then we will understand your request clearly.

 

Best Regards,

Xue Ding

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-xuding-msft
Community Support
Community Support

Hi @Anonymous ,

The data type of your date column is DateTime? If so, I think you could create an hour column, drag it to x axis and then expand Day and Hour.

HOUR = HOUR('Table'[Date])

3.PNG4.PNG 

Best Regards,

Xue Ding

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.