Hello Dear Community.
I"m creating an inspection App for a buildings suite, where I have a โCorridorsโ Database with columns ordered like so:
[Building] - [Floor] - [IDCorridor] - [SubIDCorridor] (KEY)
I Then have an โInspection pointsโ Database, which is used to collect data through a form. I want the users to be โguidedโ through the form in the selection of where they are doing inspections.
So I do have these 4 columns again, as Enum, pulling data from โCorridorsโ table with these settings :
The Workflow is functionning as expected, and each subsequent field is correctly populated with data related to previously selected field. However the last Enum/Ref (SubIDCorridor) selection a doesnt appear in correct alphabetical/logical order (Buttons or dropdown, same issueโฆ)
This despite the fact that they are correctly sorted in the โCorridor Databaseโโฆ
Is there any way I can make these fields correctly ordered ?
Many thanks by advance !
Regards .
Solved! Go to Solution.
It should works the same way as Corridors Database[SubIDCorridors].
Try SORT(UNIQUE(SELECT(Corridors Database[SubIDCorridors], AND([Building] = [_THISROW].[Building], [Floor] = [_THISROW].[Floor]))))
You could try using SORT() expression
SORT(Corridors Database[SubIDCorridors])
Thanks for your input !
But Unfortunatelly I tried it and this doesn't work, as it is breaking the "nested continuity" of the "dependant dropdown" selection...
Applying "SORT(Corridors Database[SubIDCorridors])", returns me ALL the items in the SubID Corridors Column, and not only the items dependant of the Building+Floor selection...
It should works the same way as Corridors Database[SubIDCorridors].
Try SORT(UNIQUE(SELECT(Corridors Database[SubIDCorridors], AND([Building] = [_THISROW].[Building], [Floor] = [_THISROW].[Floor]))))
Thanks so much. That did the trick !
I had to add an "AND" condition, for the "Corridor ID" And this input works as expected !
Thumbs up !
User | Count |
---|---|
18 | |
9 | |
6 | |
5 | |
3 |