Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
I am trying to total the duration of an appointment for a user by date. In the below table, I want to see 5 rows one per date. I am able to get totals, but it is for all users not per user. Any thoughts?
Solved! Go to Solution.
Hi @kingchad5,
You can create a measure like below:
Measure = CALCULATE(SUM('Table1'[duration_hours]),FILTER(ALL('Table1'),'Table1'[full_name]=MAX('Table1'[full_name]) && 'Table1'[date_only]=MAX('Table1'[date_only])))
Best Regards,
Qiuyun Yu
Hi @kingchad5,
You can create a measure like below:
Measure = CALCULATE(SUM('Table1'[duration_hours]),FILTER(ALL('Table1'),'Table1'[full_name]=MAX('Table1'[full_name]) && 'Table1'[date_only]=MAX('Table1'[date_only])))
Best Regards,
Qiuyun Yu
User | Count |
---|---|
124 | |
108 | |
99 | |
62 | |
62 |
User | Count |
---|---|
137 | |
115 | |
102 | |
71 | |
61 |