Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi all!
I had searched but do not seem to find a solution. Please help?
I have the following table (sample) and need a Measure to sum up the duration for distinct IDs only i.e. (10 + 13 + 5 + 4 = 32 minutes). How do I do that?
ID Duration (minutes)
101 10
101 10
130 13
130 13
130 13
142 5
165 4
165 4
Thanks in advance!
Regards,
Yee Pin
Solved! Go to Solution.
Hi @Anonymous
Assuming duration is always the same for a specific ID:
Measure = SUMX ( DISTINCT ( Table1[ID] ), CALCULATE ( MIN ( Table1[Duration] ) ) )
Hi @Anonymous
Assuming duration is always the same for a specific ID:
Measure = SUMX ( DISTINCT ( Table1[ID] ), CALCULATE ( MIN ( Table1[Duration] ) ) )
Hi,
You can create a measure as below. This will work even if the values are different.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 65 | |
| 46 | |
| 43 | |
| 26 | |
| 19 |
| User | Count |
|---|---|
| 198 | |
| 126 | |
| 102 | |
| 68 | |
| 51 |