Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hello!
I'm stuck with the following problem. I got different tool types used in the same run and I need to get the total used time for all 3 runs. Basically I need to dismiss the duplicated values for each run and add them up. Can some one help me with that?
| Run ID | Used time | Tool Type | 
| 1 | 1.2 | Tool 1 | 
| 1 | 1.2 | Tool 2 | 
| 1 | 1.2 | Tool 1 | 
| 1 | 1.2 | Tool 3 | 
| 2 | 5.2 | Tool 2 | 
| 2 | 5.2 | Tool 3 | 
| 3 | 2.4 | Tool 1 | 
| 3 | 2.4 | Tool 2 | 
| 3 | 2.4 | Tool 3 | 
| 3 | 2.4 | Tool 4 | 
| 3 | 2.4 | Tool 2 | 
Solved! Go to Solution.
Not really, but thanks!
The below actually worked
Hi, @motta
try below code
result = 
   calculate(
       sum('yourtable'[used time]),
       allexcept('yourtable','yourtable'[run id])
             )
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. and don't forget to give kudos.
Not really, but thanks!
The below actually worked
 
					
				
				
			
		
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
 
            | User | Count | 
|---|---|
| 9 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | 
| User | Count | 
|---|---|
| 23 | |
| 12 | |
| 11 | |
| 9 | |
| 8 |