Forum Discussion
How to create a bar chart using start and end times.
- 3 years ago
Hi CalleWagenaar ,
Based on your description, I have created a simple sample:
Please try:
First create a new time table:
Then create a measure:
Measure = SUMX('Table',IF([Start Time]<=MAX('Time'[Time])&&[End Time]>=MAX('Time'[Time]),1))Apply it to the visual:
Final output:
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi CalleWagenaar ,
Based on your description, I have created a simple sample:
Please try:
First create a new time table:
Then create a measure:
Measure = SUMX('Table',IF([Start Time]<=MAX('Time'[Time])&&[End Time]>=MAX('Time'[Time]),1))
Apply it to the visual:
Final output:
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- CalleWagenaar3 years agoFrequent Visitor
This doesn't work for me, when I follow the step there are no errors. However when I try to create the graph it is blank.
- CalleWagenaar3 years agoFrequent Visitor
I exactly followed your steps with your exact data and there is still no resut