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
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (3,526)