Hi All,
I have developed a powerapp screen which has a data table with SQL Server as a source. I have multiple single select drop down filters to filter data in the data table. This is currently working fine.
Now i got a requirement to change one of the single select to multi select filters. I changed that particular drop down to combo box and when i applied the following code in my items property along with other filter conditions, i am getting some random filtered output. When i remove all the filter conditions and apply only the combo box condition, my output works fine.
Collection :
ClearCollect(DD,
ForAll(Distinct(Table,Column),
{Result: ThisRecord.Value}
));
ComboBox Items Property : DD.Result
In data table Items Property Filter condition:
Filter(Table,
If(IsBlank(ComboBox.Selected.Result), true,
Column in ComboBox.Selected.Result))
The above condition is not working when i add another filter condition with this.
EX:
Filter(Table,
If(IsBlank(ComboBox.Selected.Result), true,
Column in ComboBox.Selected.Result),
status = "1")
I tried the same by replacing the comma with and..
Filter(Table,
If(IsBlank(ComboBox.Selected.Result), true,
Column in ComboBox.Selected.Result) &&
status = "1").
This also doesn't works. Can someone help here with a solution?
Thanks in advance.
Keerthanagowsi.