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

Only show Certain Items when Selected

How can you show only certain data cards when one is selected. For example, If I choose Choice 1 it will only display certain data cards related to Choice 1?

1 REPLY 1
Highlighted
Responsive Resident
Responsive Resident

Re: Only show Certain Items when Selected

You can build most if not all related conditions if you use a:

  • Single Context Variable
  • Or Global Variable
  • Or Write to a TempCollection

I use a trick I coined "StateVariable" together with the above to build a Switch()

For example if you add this to the datacard visible property and an appropriate OnSelect property:

Switch(StateVariable,

1, false

2,false,

3,true,

true

)

Works like a charm.

 

You could get complex and build this into a collection/SPlist so you can easily edit the behaviours.

 

Helpful resources

Announcements
Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (8,690)