Forum Discussion
Average by Date Range / Dynamic Average based on Slicer
- 2 years ago
Proper display of durations is always tricky especially if you try to sort multiple values. If it is only a single value in a card visual then you can use the FORMAT function to show it as needed. You will need to decide if you want to suppress zero hours and/or days. Probably also don't want to show leading zeros for hours.
THANK YOU. You are right. And I think that helps me understand my problem.
My Sum is a duration in minutes.
Then I have another custom column to format that into D H M - this is not changing in my card.
Is there a way to format my Sum as Duration (in minutes) and round the average to the closest whole number?
Or is the issue the DHM formatting in general?
Note - let me know if this should be a separate post. You did answer my original question. Didn't mean to not describe entire issue - just looking at this way too long.
Proper display of durations is always tricky especially if you try to sort multiple values. If it is only a single value in a card visual then you can use the FORMAT function to show it as needed. You will need to decide if you want to suppress zero hours and/or days. Probably also don't want to show leading zeros for hours.
- min-E2 years ago
Helper I
Thank you. Took the AVERAGE as a Measured Column. Added another column to format that and it works to show DHM.