Hi,
I am trying to filter a large data set using cascading dropdowns. The large data set is displayed in a table in powerapps, so that I am able to see all the columns.
I think the problem might be that the first dropdown is a text field and the second dropdown is a date field.
In the first dropdown I have "Distinct('RCF Processing Detailed PM Table',FacilityID_SystemName)" in the items field.
In the second dropdown I have "Distinct(Filter('RCF Processing Detailed PM Table',FacilityID_SystemName=Dropdown2.Selected.Result),ReviewDate)" in the items field.
I am able to see all the relevant dates in the second dropdown when I select an item from the first dropdown. The table also populates to show the relevant records when an item from the first dropdown is selected. The problem occurs when I select a date from the second dropdown. The table goes blank and I get an error.
Here is the formula I have in the items field for my table:
If(
IsBlank(Dropdown1_2.Selected.Result),
Filter(
'RCF Processing Detailed PM Table',
FacilityID_SystemName = ComboBox2_3.Selected.Result
),
!IsBlank(Dropdown1_2.Selected.Result),
Filter(
'RCF Processing Detailed PM Table',
FacilityID_SystemName = ComboBox2_3.Selected.Result,
ReviewDate = Dropdown1_2.Selected.Result
)
)
I have attached an image of the error I am getting. Please let me know if you need any more information from me.
Thank you!