Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
Hi everyone , I need help with this issue i have a table visual:
| User | level | Salery |
| A | 1 | 34 |
| B | 2 | 32 |
| B | 2 | 37 |
| C | 1 | 26 |
| C | 3 | 28 |
| C | 1 | 29 |
| D | 3 | 33 |
| E | 1 | 30 |
if i remove the level column i want this:
| A | 34 |
| B | 69 |
| C | 83 |
| D | 33 |
| E | 30 |
its possible to do it in measure?
Hi @Anonymous ,
One point of confusion, if you remove the level column, Power BI will automatically calculate the Salery.
If i misunderstood you, please let me know and share your pbix file without sensitive data and expect result.
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
https://www.dropbox.com/s/qfml0a8lyf45rts/test%20group.pbix?dl=0
Hi, thank you for your reply, i have add the pbix file, what i want is like ,i want sum the distinct store type.
Hi @Anonymous ,
Sorry, still don't quite understand what you want the result to look like. Please give what you want the result to look like, hand-drawn is fine.
Best Regards
Community Support Team _ chenwu zhu
Hi @Anonymous ,
Try this measure below which is similar to COUNTIF in Excel:
MyMeasure =
CALCULATE ( SUM ( Table[Salery] ), ALLEXCEPT ( Table, Table[User] ) )
//will return the sum of Salery for each User
Thank you for your reply but it doesnt work 😞 , i didnt get the result
What would your formula be if you did it in Excel?
Hi again , I dont have any formula :), i just dont get right value.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 28 | |
| 28 | |
| 19 | |
| 19 | |
| 19 |
| User | Count |
|---|---|
| 37 | |
| 29 | |
| 18 | |
| 17 | |
| 15 |