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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join 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
Fabric Data Days is here Carousel

Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

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.