Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
SelflearningBi
Helper III
Helper III

how to get yes and no quantity % in a table

SelflearningBi_0-1661331822154.pngSelflearningBi_1-1661331859346.png

I am using this formula, but I only get 100% for all color, how to show YES %  / NO % 
HOW FAR FROM         YES Qty  vs.  Grand Qty 
Here is how it shows in EXCEL and this is the correct way I suppose to get:

SelflearningBi_2-1661331964399.png

 

1 REPLY 1
Luuky
Helper I
Helper I

Hi @SelflearningBi ,

 

Look into the IF or SWITCH statement:

IF(<logical_test>, <value_if_true>[, <value_if_false>])

SWITCH(<expression>, <value>, <result>[, <value>, <result>]…[, <else>])

With this you can choose a value that needs to be shown if the result of the logical test is true or false. 

 

If you mean that you want to see values instead of percentages then change the format in the Data tab to the correct one:

Luuky_4-1661333389776.png

 

Hope this helps!

greetings,

Luuk

 

 

 

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors