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.
I have a measure that returns a date field in the following format
FORMAT(dateVal,"dd:hh:mm")
I need to SUM the total of the results in the measured field and show it in a Card
The requirement is to do the summation as 8 hours equal 1 day.
I didn't find a method to write a DAX for the Card
Is there any solution for my requirement?
Solved! Go to Solution.
Hi @saranga,
According to the conditions you provided, I did the following test: created two measures, Duration measure is used to count the sum of time, and Day measure is used to count the number of days.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @saranga,
According to the conditions you provided, I did the following test: created two measures, Duration measure is used to count the sum of time, and Day measure is used to count the number of days.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Based on your solution, I prepare a measure as below. it works fine. thank you
@saranga , refer how to deal with duration and sum it up
https://radacad.com/calculate-duration-in-days-hours-minutes-and-seconds-dynamically-in-power-bi-usi...
https://social.technet.microsoft.com/wiki/contents/articles/33644.powerbi-aggregating-durationtime-i...
https://www.pbiusergroup.com/communities/community-home/digestviewer/viewthread?GroupId=547&MessageK...
https://community.powerbi.com/t5/Quick-Measures-Gallery/Chelsie-Eiden-s-Duration/m-p/793639#M389
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
97 | |
80 | |
69 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |