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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
wolverine1010
New Member

Check column for any instance of a value, provide a way to show "Fail"

Hello, I'm looking for a way to set up a simple visual that displays either pass/fail, based on if a value is found in a column of a table.

 

So for example, there's two columns. If the number "1" is found in any cell within column 2, a subsequent visual should reflect this (maybe a card saying fail?). If it's not found, the text/card should say "pass" or something like that. Thanks for help, I'm pretty new and doing my best to learn as quickly as I can for a project I need to take on. 

 

1 ACCEPTED SOLUTION

Hi 

 

Is this the output wanted ?  

 

onurbmiguel__0-1674685699534.png

 

i creat this calculated column : 

Result = 
if('Table (2)'[Value] > 0 , "Fail" , "Pass" ) 

onurbmiguel__1-1674685781261.png

You need to have the column "Value" set as number 

 

Best regards

Bruno Costa | Solution Supplier

 

Did I help you to answer your question? Accepted my post as a solution! Appreciate your Kudos!! 👍

Take a look at the blog: PBI Portugal 

 

wp-1586527108426

 


Best regards


Bruno Costa | Super User


 


Did I help you to answer your question? Accepted my post as a solution! Appreciate your Kudos!! 


Take a look at the blog: PBI Portugal 


 


View solution in original post

4 REPLIES 4
wolverine1010
New Member

ProcessValue
Alpha1
Beta0
Theta1
Omega2

 

So let's say since 2 has been found within this table, we need to display a fail.

Hi 

 

Is this the output wanted ?  

 

onurbmiguel__0-1674685699534.png

 

i creat this calculated column : 

Result = 
if('Table (2)'[Value] > 0 , "Fail" , "Pass" ) 

onurbmiguel__1-1674685781261.png

You need to have the column "Value" set as number 

 

Best regards

Bruno Costa | Solution Supplier

 

Did I help you to answer your question? Accepted my post as a solution! Appreciate your Kudos!! 👍

Take a look at the blog: PBI Portugal 

 

wp-1586527108426

 


Best regards


Bruno Costa | Super User


 


Did I help you to answer your question? Accepted my post as a solution! Appreciate your Kudos!! 


Take a look at the blog: PBI Portugal 


 


Thank you, that's exactly what I needed!

onurbmiguel_
Super User
Super User

Hello wolverine1010

 

Can you share some dummy values , 

 

Thanks 

Bruno 

 


Best regards


Bruno Costa | Super User


 


Did I help you to answer your question? Accepted my post as a solution! Appreciate your Kudos!! 


Take a look at the blog: PBI Portugal 


 


Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.