cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
zuzuzu
Frequent Visitor

Display card when another card has data

I have cards in a power app that have their visibility dependent on other cards data:

 

If(DataCardValue8.Selected.Value="Yes", true, false) - this will show the the specific card.

 

How can i change this to make it visible just if the field is filled in with any value. ( i have several values, YES, NO, N/A etc)

I dont want to list them all out to make visible if the selected value is  YES or NO or N/A etc

 

Is there away to make visible if DataCardValue8 contains any value?

 

thanks

1 ACCEPTED SOLUTION

Accepted Solutions
GarethPrisk
Resident Rockstar
Resident Rockstar

There are some great options using blank checks, etc.

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-isblank-isempty

!IsBlank(DataCardValue8.Selected.Value)

The formula above will result in a True if it has data, or a False, if it does not.

Apply this to a Visible property, or as needed, to have something happen if the value is selected or not.

View solution in original post

2 REPLIES 2
GarethPrisk
Resident Rockstar
Resident Rockstar

There are some great options using blank checks, etc.

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-isblank-isempty

!IsBlank(DataCardValue8.Selected.Value)

The formula above will result in a True if it has data, or a False, if it does not.

Apply this to a Visible property, or as needed, to have something happen if the value is selected or not.

zuzuzu
Frequent Visitor

brilliant. thanks!

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (1,983)