Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
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 |
|---|---|
| 54 | |
| 37 | |
| 26 | |
| 16 | |
| 16 |
| User | Count |
|---|---|
| 68 | |
| 57 | |
| 38 | |
| 21 | |
| 21 |