Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hi I have a table which I would like to do the following: counta(numObjects) divided by counta(all objects. my table looks like this Band numObjects %
a 10 10%
b 20 20%
c 70 70%
total =100 100%
I did a workaround by calculating the max numObjects/Total (but then the 100% shows as 70% because it is getting the max value.
Going crazy 🙂
Jo
also will answer appear in my inbox or do i have to come back to this page to get the answer?
Solved! Go to Solution.
Hi I worked around your formula:
This worked 🙂
Percent GT = DIVIDE (COUNTA (Sheet1 [ProjUserFormID]),CALCULATE (COUNTA (' Sheet1 ' [ProjUserFormID]), ALLSELECTED (' Sheet1 ' [HRECBAND1])))
Thank you
Jo
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com
Hi I worked around your formula:
This worked 🙂
Percent GT = DIVIDE (COUNTA (Sheet1 [ProjUserFormID]),CALCULATE (COUNTA (' Sheet1 ' [ProjUserFormID]), ALLSELECTED (' Sheet1 ' [HRECBAND1])))
Thank you
Jo
User | Count |
---|---|
128 | |
108 | |
100 | |
64 | |
62 |
User | Count |
---|---|
136 | |
113 | |
102 | |
71 | |
60 |