cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jpicou
Level: Powered On

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
nickduxfield
Level 8

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
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (10,094)