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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hi,
I want to count how many duplicate values are in the column. But want this in a calculated column rather that measure.
thanks,
@Anonymous can you give an example of what you asking? ie.
col 1 calculated column
1 3
1 3
1 3
2 2
2 2
?
Proud to be a Super User!
@Anonymous i can only figure out how to use it in a calculated measure
ie.
calculate(countx(table, table[column])
will a measure not work for you? the other way of doing it is to summarize the table and then create a relationship to it
ie.
summarize (table, table[column], "count" countx(table, table[column]))
Proud to be a Super User!
@vanessafvg Thank you for your time. I have already tried calculated function with measure which is working fine for me. But there is requirement for a colunm which we need to add with desired output. I beleive we don't have any workaround for it.
must be a way to do it
also this
ie.
calculate(countx(table, table[column])
will a measure not work for you? the other way of doing it is to summarize the table and then create a relationship to it
ie.
summarize (table, table[column], "count" countx(table, table[column]))
Proud to be a Super User!
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 58 | |
| 53 | |
| 40 | |
| 17 | |
| 16 |
| User | Count |
|---|---|
| 116 | |
| 105 | |
| 41 | |
| 34 | |
| 25 |