cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
amoshe2
Helper III
Helper III

Tabbed form - Tabs depend on number column field - Show only relevant tabs acc depend field value

Hi,

 

I have created a tabbed form and I want that the tab visibility will be shown depend on the Number of die field value

so When I have 1 die it will show only the 1st tab, When it's 2 show only 1st and 2nd if "3" show 1st 2nd and 3rd...........

 

The Gallery(tabs) Items is:

Table({ID:1,Label:"General+Die1 Info"},{ID:2,Label:"Die2 Info"},{ID:3,Label:"Die3 Info"},{ID:4,Label:"Die4 Info"},{ID:5,Label:"Die5 Info"},{ID:6,Label:"Die6 Info"},{ID:7,Label:"Die7 Info"},{ID:8,Label:"Die8 Info"},{ID:9,Label:"Die9 Info"},{ID:10,Label:"Die10 Info"})

Tab Button - on Select property: Set(Vartabselected, ThisItem.ID)

 

Number of Dies - choice value(DropDown) from 1-10

Items: Choices([@'Modular Request Form'].'Number of Dies')

Capture.PNG

Thanks

Almog

 

1 ACCEPTED SOLUTION

Accepted Solutions
PowerRanger
Resident Rockstar
Resident Rockstar

@amoshe2 Your formular for your Gallery Items property will look something like that:

FirstN(Table({ID:1,Label:"General+Die1 Info"},{ID:2,Label:"Die2 Info"},{ID:3,Label:"Die3 Info"},{ID:4,Label:"Die4 Info"},{ID:5,Label:"Die5 Info"},{ID:6,Label:"Die6 Info"},{ID:7,Label:"Die7 Info"},{ID:8,Label:"Die8 Info"},{ID:9,Label:"Die9 Info"},{ID:10,Label:"Die10 Info"}),Value(Dropdown1.Selected.Value))

 

 




​Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item.

If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

1 REPLY 1
PowerRanger
Resident Rockstar
Resident Rockstar

@amoshe2 Your formular for your Gallery Items property will look something like that:

FirstN(Table({ID:1,Label:"General+Die1 Info"},{ID:2,Label:"Die2 Info"},{ID:3,Label:"Die3 Info"},{ID:4,Label:"Die4 Info"},{ID:5,Label:"Die5 Info"},{ID:6,Label:"Die6 Info"},{ID:7,Label:"Die7 Info"},{ID:8,Label:"Die8 Info"},{ID:9,Label:"Die9 Info"},{ID:10,Label:"Die10 Info"}),Value(Dropdown1.Selected.Value))

 

 




​Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item.

If the content was useful in other ways, please consider giving it Thumbs Up.

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.

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on June 15, 2022 at 8am PDT.

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.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (3,520)