Forum Discussion
24 hours datettime
- 3 years ago
Hi , dannytan1112
According to your description, you want to "every hour range from min datetime and max datetime".And bu another, if you create a measure , it can not return a list , measure in Power Bi can only return a value.
Here are the steps you can refer to :
(1)This is my test data:(2)We can click "New Table" and enter:
Table 2 = GENERATESERIES( MIN('My Table'[Column1]), MAX('My Table'[Column1]), 1/24)Then we can get this table you want to :
For more information, you can refer to :
Creating a List of Numbers or Dates in Power BI using GenerateSeries Function in DAX - RADACADCALENDAR function (DAX) - DAX | Microsoft Learn
If this method does not meet your needs, you can provide us with your special sample data and the desired output sample data in the form of tables, so that we can better help you solve the problem.
Thank you for your time and sharing, and thank you for your support and understanding of PowerBI!
Best Regards,
Aniya Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi , dannytan1112
According to your description, you want to "every hour range from min datetime and max datetime".And bu another, if you create a measure , it can not return a list , measure in Power Bi can only return a value.
Here are the steps you can refer to :
(1)This is my test data:
(2)We can click "New Table" and enter:
Table 2 = GENERATESERIES(
MIN('My Table'[Column1]),
MAX('My Table'[Column1]),
1/24)
Then we can get this table you want to :
For more information, you can refer to :
Creating a List of Numbers or Dates in Power BI using GenerateSeries Function in DAX - RADACAD
CALENDAR function (DAX) - DAX | Microsoft Learn
If this method does not meet your needs, you can provide us with your special sample data and the desired output sample data in the form of tables, so that we can better help you solve the problem.
Thank you for your time and sharing, and thank you for your support and understanding of PowerBI!
Best Regards,
Aniya Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi,
It works for me now. Really thanks