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.
I'm trying to find a way to create a column using Power BI with DAX that does what =COUNTIFS($B$3:$B$12,B3) would do in Excel. I just want a count of values that are the same as the value in the current record.
Any Ideas?
Solved! Go to Solution.
You may use DAX below.
Column = COUNTROWS ( FILTER ( Table1, Table1[Value] = EARLIER ( Table1[Value] ) ) )
You may use DAX below.
Column = COUNTROWS ( FILTER ( Table1, Table1[Value] = EARLIER ( Table1[Value] ) ) )
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 |
---|---|
113 | |
97 | |
85 | |
70 | |
61 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |