cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
liudaburtseva
Frequent Visitor

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 @liudaburtseva ,

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 @liudaburtseva ,

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 @liudaburtseva ,

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
August 1 episode 9_no_dates 768x460.jpg

The Power BI Community Show

Watch the playback when Priya Sathy and Charles Webb discuss Datamarts! Kelly also shares Power BI Community updates.

Power BI Dev Camp Session 24 without aka link and time 768x460.jpg

Ted's Dev Camp - July 28, 2022

Watch Session 24 of Ted's Dev Camp along with past sessions!

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Top Solution Authors
Top Kudoed Authors