Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register 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!
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 51 | |
| 37 | |
| 35 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 69 | |
| 65 | |
| 39 | |
| 33 | |
| 23 |