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
How to create a new column and show the nomber of obs per group
Table A
obs group value numberOfOBsPerGroup.
1 A 100 3
2 A 150 3
3 A 125 3
4 B 74 2
5 B 60 2
Solved! Go to Solution.
Hi @Anonymous ,
Follow these steps:
1- Go to Modeling and hit on New column
2. A new column will be added in the field area like this:
3. Click on that and add this formula here
My output:
Let me know for any if this works.
Thanks,
Tejaswi
Hi @Anonymous ,
Follow these steps:
1- Go to Modeling and hit on New column
2. A new column will be added in the field area like this:
3. Click on that and add this formula here
My output:
Let me know for any if this works.
Thanks,
Tejaswi
hi @Anonymous
try a simple measure if i understand you correct
Measure = calculate(count('Table'[obs]),ALLEXCEPT('Table','Table'[group]))will it be ok for you?
do not hesitate to give a kudo to useful posts and mark solutions as solution
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 39 | |
| 37 | |
| 29 | |
| 24 |
| User | Count |
|---|---|
| 120 | |
| 95 | |
| 70 | |
| 69 | |
| 65 |