Hi Guys,
I have two dropdown lists on my form, dd_Level1 and dd_Level2
I have a hierarchy of data and I am trying to create two dropdown lists. The first one selects all distinct values from column HierarchyLevel1, the second selects distinct values from column HierarchyLevel2 where HierarchyLevel1=dd_Level1
Here is the Items property for dd_Level1
Sort(Distinct([@PowerBIIntegration].Data,hierarchylevel1),Result)
Here is the Items property for dd_Level2
Sort(Distinct(Filter([@PowerBIIntegration].Data,hierarchylevel1=dd_Level1.Selected.Result),hierarchylevel2),Result)
My problem is that dd_Level2 only returns 2 values (one of which is a blank value) and it should be returning about 12 different values.
As you can see I am integrating my app within PowerBI
My form looks like this:

Please help 😃