This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hi I have a measure that will let me know if someone is expected to make a target
Solved! Go to Solution.
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!
pls try this
CALCULATE(COUNTROWS(SQL),
FILTER(
ALL(SQL)
,[Expected to Make Target]= "No"))
Hey @Anonymous
One workaround is that create a Calculated column instead of measure with the same Dax code and plot it in the value field of the pie chart.
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!
I want to see a number like a the Number of No expected not to make target, but when I put in card view it does not give me an option to count. Intstead it just shows No
I tried putting in count display name and then filtering it by No but I get 3,932, however there should only be 3
I've tried a use the measure =
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!
Yes @Anonymous please convert your measure to the calculated column, it will work perfectly.
Sorry I don't know how to make it a calculated column
@Anonymous
Please find the above image it will help you for creating column
Thank you, It worked, however, I think the problem is with my original measure. When I put the data in the people are coming up as both and I think that is messing up the count. Kass should be "yes"
Hey @Anonymous
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!
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 31 | |
| 26 | |
| 23 | |
| 22 | |
| 13 |
| User | Count |
|---|---|
| 61 | |
| 47 | |
| 27 | |
| 23 | |
| 18 |