The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Dear colleagues !
Please could you help me with DAX Mesure that can allow me to have number of each service
Solved! Go to Solution.
Dear @dharmendars007
Thank you for this proposition; but the Distinct Count should be based on the ID column insteand of service.
So, below is the solution:
Number of Mental Health =
Hello @dofrancis3 ,
Please try the below measures..
Number of Legal Assistance =
CALCULATE(
COUNT('Dataset'[Service]),
'Dataset'[Service] = "Legal assistance")
Number of Mental Health =
CALCULATE(
COUNT('Dataset'[Service]),
'Dataset'[Service] = "Mental health")
Number of Family =
CALCULATE(
COUNT('Dataset'[Service]),
'Dataset'[Service] = "Family")
If you find this helpful , please mark it as solution which will be helpful for others and Your Kudos/Likes 👍 are much appreciated!
Thank You
Dharmendar S
Dear @dharmendars007
Thank you for this proposition; but the Distinct Count should be based on the ID column insteand of service.
So, below is the solution:
Number of Mental Health =
User | Count |
---|---|
14 | |
12 | |
7 | |
6 | |
5 |
User | Count |
---|---|
28 | |
18 | |
13 | |
7 | |
5 |