This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowThe Fabric community is upgrading! Read all of the details including the timeline and what you can expect. Learn more
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
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
| User | Count |
|---|---|
| 27 | |
| 22 | |
| 20 | |
| 18 | |
| 14 |
| User | Count |
|---|---|
| 25 | |
| 20 | |
| 20 | |
| 20 | |
| 20 |