Hi All,
I have a gallery which filters all the DD in the organization from a SP list and the code for that is
Sort(
Filter(
Distinct(varcomb,DD),
Not(IsBlank(Result))
),Result)
I have a nested gallery into this which filters the respective details of the DD's (e.g. Project name, account name, respective PM and DM under them) from a collection. The items of the nested galley has
If(
rdoRAYG_2.Selected.Value = "All",
(If(
(IsBlank(TextInput3.Text) && IsBlank(DMSearchText_2.Text) && IsBlank(ProjectSearchText_2.Text) && IsEmpty(ddcol)
&& IsEmpty(seniorddcol) && IsEmpty(geocol) && IsBlank(PMSearchText_2.Text) && IsBlank(TextInput5.Text)),
Filter(
varoveralltype,
ThisItem.Result in DD,
ProjectSearchText_2.Text in ProjName,
TextInput3.Text in Acctname,
TextInput5.Text in AccManager,
Prjmethod in Prjmethod,
PMSearchText_2.Text in PM,
DMSearchText_2.Text in DM
),
Filter(
varoveralltype,
ThisItem.Result in DD,
ProjectSearchText_2.Text in ProjName,
TextInput3.Text in Acctname,
TextInput5.Text in AccManager,
IsBlank(geocol.Result) || IsEmpty(geocol.Result) || GeoHead in geocol.Result,
IsBlank(seniorddcol.Result) || IsEmpty(seniorddcol.Result) || Seniordd in seniorddcol.Result,
IsBlank(ddcol.Result) || IsEmpty(ddcol.Result) || DD in ddcol.Result,
Prjmethod in Prjmethod,
PMSearchText_2.Text in PM,
DMSearchText_2.Text in DM
)
)),
Filter(
varoveralltype,
ThisItem.Result in DD,
ProjectSearchText_2.Text in ProjName,
TextInput3.Text in Acctname,
TextInput5.Text in AccManager,
IsBlank(geocol.Result) || IsEmpty(geocol.Result) || GeoHead in geocol.Result,
IsBlank(seniorddcol.Result) || IsEmpty(seniorddcol.Result) || Seniordd in seniorddcol.Result,
IsBlank(ddcol.Result) || IsEmpty(ddcol.Result) || DD in ddcol.Result,
Prjmethod in Prjmethod,
PMSearchText_2.Text in PM,
DMSearchText_2.Text in DM,
rdoRAYG_2.Selected. Value in OverAllRAG
)
)
If I select the value from combo box, I need only that DD details to be displayed in the gallery and other DD names should be hidden from gallery. I have attached a screenshot of how it is getting displayed.
Any help would be greatly appreciated.