Hi All,
I have a gallery within a gallery (nested gallery) where gallery 1 holds all DD names and gallery 2 will hold the respective details of all the DD(eg. project name, DD name, account name, account manager).
Gallery 1 - Collects all the DD names by Group By using a collection.
Gallery 2 - Collects all the values from 4 different SharePoint list (Dev Master, test master, CSS master, main master) into a common collection called varoveralltype.
The code on the second gallery is:
If(
rdoRAYG_2.Selected.Value = "All",
If(
Is Blank(ComboBox5.Selected.Result) && Is Blank(PMSearchText_2.Text) && Is Blank(DMSearchText_2.Text),
Filter(
varoveralltype,
ThisItem.Result in DD,
ProjectSearchText_2.Text in Proj Name,
TextInput3.Text in Acct name,
Prjmethod in Prjmethod,
TextInput7.Text in Geo Head,
PMSearchText_2.Text in PM,
DMSearchText_2.Text in DM
)
),
Filter(
varoveralltype,
ThisItem.Result in DD,
ProjectSearchText_2.Text in ProjName,
TextInput3.Text in Account name,
TextInput5.Text in Account Manager,
TextInput4.Text in DD,
TextInput7.Text in Geo Head,
Customer in Customer,
Prjmethod in Prjmethod,
PMSearchText_2.Text in PM,
DMSearchText_2.Text in DM,
rdoRAYG_2.Selected.Value in OverAllRAG
)
)
Based on the filter selected the nested gallery should filter the respective data's. By default the overall rag radio buttons will be selected as all and will load all the project details under the respective DD names. I am using Combo box for filtering the DD and senior DD values. When DD combo box is dependent on Senior DD selected value and the combo box show only the respective DD who is under Senior DD. When combo box value is selected the nested gallery must display only that specific DD values. In my case when one condition works the other doesn't work.
I have attached the screenshot of my page.
Any help would be greatly appreciated.