Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello people,
I need a way to count how many times a value appears in a given column. This could occur by creating a new column indicating the amount of incidence of the value, as an example of the "duplicity" column in the image below. It could be in M, DAX language or any other form that exists.
Hugs!
Solved! Go to Solution.
Hi @aplopes
You can create a calculated column in DAX:
Duplicidade_idbaixa = CALCULATE ( COUNTROWS ( Table1 ), ALLEXCEPT ( TAble1, Table1[idbaixa] ) )
Hi @aplopes
You can create a calculated column in DAX:
Duplicidade_idbaixa = CALCULATE ( COUNTROWS ( Table1 ), ALLEXCEPT ( TAble1, Table1[idbaixa] ) )
Perfect! Thank you!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
107 | |
94 | |
77 | |
63 | |
50 |
User | Count |
---|---|
147 | |
106 | |
104 | |
87 | |
61 |