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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello!
I need a help to create a new collunm at power BI using DAX. In my example I have a colunm1 with some values that are repeat. I need a collunm that count how many times the value is repeated:
| Colunm1 | How many times |
| A | 3 |
| A | 3 |
| A | 3 |
| B | 2 |
| B | 2 |
| C | 4 |
| C | 4 |
| C | 4 |
| C | 4 |
| D | 1 |
Anybody can help me? Thanks a lot.
Solved! Go to Solution.
@Anonymous
New Col =
CALCULATE(
COUNTROWS( TableName),
ALLEXCEPT( TableName , TableName[Column1] )
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
@Anonymous
New Col =
CALCULATE(
COUNTROWS( TableName),
ALLEXCEPT( TableName , TableName[Column1] )
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
U need context transition:
CALCULATE(COUNT(Table[Column1]))
This creates a filter on the value in the first column, counting the unique filtered values.
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 |
|---|---|
| 9 | |
| 7 | |
| 6 | |
| 6 | |
| 5 |
| User | Count |
|---|---|
| 24 | |
| 21 | |
| 15 | |
| 14 | |
| 13 |