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 All,
Need help with the DAX for the below scenario.
I have column (STATE) in a table , now i need to create a measure called STATE_COUNT.
Data for the new column will be count of each STATE
Regards
Nagaraj
Solved! Go to Solution.
Try like
calculated(count(table[state]),allexcept(table[state]))
Also refer : https://www.sqlbi.com/articles/managing-all-functions-in-dax-all-allselected-allnoblankrow-allexcept...
Appreciate your Kudos.
Try like
calculated(count(table[state]),allexcept(table[state]))
Also refer : https://www.sqlbi.com/articles/managing-all-functions-in-dax-all-allselected-allnoblankrow-allexcept...
Appreciate your Kudos.
For the below scenario, let's say i have a country column as well.
And lets say BANGALORE is part of COuntry 1 and Country 2 ... i need to count seperately based on Coutnry.
At present, the expression is counting all BANGALORE regardless of the Country.
Any Idea?
Regards
Nagaraj
Hi Amit,
Thanks for the help, it worked 🙂
Regards
Nagaraj
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 |
---|---|
114 | |
97 | |
85 | |
70 | |
61 |
User | Count |
---|---|
151 | |
120 | |
103 | |
87 | |
68 |