Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi
How to find hours between two dates and percentage ?
Above example, how to write dax expression to hours and percentage.
Thanks
kunuthuri
Solved! Go to Solution.
Hi @Anonymous
Use DATEDIFF()
- Quentin
Can you explain the DAX expression?
@Anonymous
You add DATEDIFF(StartDate;EndDate;Hours)
- Quentin
Above date diff no hours, minutes, second etc.....
@Anonymous
Column = DATEDIFF('Monthly Activity'[dStartDate],'Monthly Activity'[dEndDate],HOURS)
Should work
- Quentin
User | Count |
---|---|
98 | |
90 | |
77 | |
71 | |
64 |
User | Count |
---|---|
114 | |
98 | |
96 | |
68 | |
67 |