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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.