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.
Hi ,
I have a sample data below. I want to count the number of BU for each ID. Could you please let me know how to use DAX to create the new column that I highlighted?
Thanks in advance.
Proud to be a Super User!
Solved! Go to Solution.
@ryan_mayu Please try this as a "New Column"
Count = CALCULATE(DISTINCTCOUNT(Test81Count[BU]),ALLEXCEPT(Test81Count,Test81Count[ID]))
Proud to be a PBI Community Champion
@ryan_mayu Please try this as a "New Column"
Count = CALCULATE(DISTINCTCOUNT(Test81Count[BU]),ALLEXCEPT(Test81Count,Test81Count[ID]))
Proud to be a PBI Community Champion
Thanks for your help. It works.
Proud to be a Super User!
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 |
---|---|
104 | |
95 | |
80 | |
67 | |
62 |
User | Count |
---|---|
147 | |
109 | |
107 | |
85 | |
63 |