Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
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!
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.