Forum Discussion
Anonymous
3 years agoNot applicable
Count Text Measure
Hi I have a measure that will let me know if someone is expected to make a target Expected to Make Target = IF([Hours needed per Month]<=[MTD Expected Hours]+40, "Yes", "No") However, I don'...
- 3 years ago
Hey Anonymous
Create the following two measureCount of No = CALCULATE(COUNT(SQL[Expected to Make Target]), SQL[Expected to Make Target] = "No")
Count of Yes = CALCULATE(COUNT(SQL[Expected to Make Target]), SQL[Expected to Make Target] = "Yes")
and use them to plot cards and pie charts, you will get following result
If this helps you, please mark my solution as accepted so that others can find this quickly when they face a similar issue. Thank you!
Dhairya
3 years agoSolution Supplier
Hey Anonymous
Create the following two measure
Count of No = CALCULATE(COUNT(SQL[Expected to Make Target]), SQL[Expected to Make Target] = "No")
Count of Yes = CALCULATE(COUNT(SQL[Expected to Make Target]), SQL[Expected to Make Target] = "Yes")
and use them to plot cards and pie charts, you will get following result
If this helps you, please mark my solution as accepted so that others can find this quickly when they face a similar issue. Thank you!
Anonymous
3 years agoNot applicable
- Dhairya3 years agoSolution Supplier
Yes Anonymous please convert your measure to the calculated column, it will work perfectly.
- Anonymous3 years agoNot applicable
Sorry I don't know how to make it a calculated column
- Dhairya3 years agoSolution Supplier
Anonymous
Please find the above image it will help you for creating column