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'm trying to insert a New Column with a calculation which will do a vertical count of appointments for each individual user ID.
So for example user XYZ may have had 5 appointments, they will have 5 rows of data. The next user only had 2 appointments so only has two rows of data. I've got about 8500 rows of data but dont know how to write this formula?
Any help would be amazing thanks
Solved! Go to Solution.
@Anonymous
Try this formula
= CALCULATE ( COUNTROWS ( TableName ), ALLEXCEPT ( TableName, TableName[User] ) )
@Anonymous
Try this formula
= CALCULATE ( COUNTROWS ( TableName ), ALLEXCEPT ( TableName, TableName[User] ) )
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 133 | |
| 88 | |
| 85 | |
| 68 | |
| 64 |