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 am looking for some help calculating the number of times each of my departments is tagged in an audit findings. We are managing our audits in Smartsheet which has a multi-select dropdown feature - this allows me to tag multiple departments to a single audit finding. Smartsheet exports the multi-select dropdown as a list as shown below:
We currently have 30+ departments and I am trying to write a DAX formula to count the number of times each department is tagged. I am looking for a dynamic solution which will not require me to create 30+ measures......does anyone have any ideas on how to create a formula for the whole column to calculate......
Currently I have a separate table with a list of the departments - I am trying to calculate the number of time each department appears in the table posted above with the audit findings. These are two separate tables.
Brody
Solved! Go to Solution.
Hi, @brodyleon
Please try formula like:
RESULT =
CALCULATE (
COUNTROWS ( Table1 ),
CONTAINSSTRING ( Table1[Department], MAX ( Table2[Department Name] ) )
)
Best Regards,
Community Support Team _ Eason
Hi, @brodyleon
Please try formula like:
RESULT =
CALCULATE (
COUNTROWS ( Table1 ),
CONTAINSSTRING ( Table1[Department], MAX ( Table2[Department Name] ) )
)
Best Regards,
Community Support Team _ Eason
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 |