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 would like to add to each line a calculated column based on a group by:
| customer | sales rep | product | tot |
| C1 | S1 | P1 | 3 |
| C2 | S1 | P1 | 3 |
| C3 | S1 | P1 | 3 |
| C7 | S1 | P2 | 1 |
| C4 | S2 | P1 | 1 |
basically I would like to add a column that shows how many records I have for each sales rep/product couple
regardless of which customer bought it.
Many thanks in advance.
Solved! Go to Solution.
pls try this
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 58 | |
| 45 | |
| 42 | |
| 21 | |
| 18 |