Hello everyone,
I would like to sort my gallery with table source: Trainees by the column "cref8_remainingbudget" from the table TraineeYearlyBudget. I made a lookup field:
So i tried researching and adding code to my sort function but it is not behaving how it should behave:
!IsBlank(varSortByBudget),
SortByColumns(
AddColumns(
Trainees,
"cref8_remainingbudget",
traineeyearlybudget.cref8_remainingbudget
),
"cref8_remainingbudget",
If(
varSortByBudget,
Ascending,
Descending
)
)
What am i doing wrong here?
thanks in advance,
Anthony
I believe the name within quotations is just a random name you give the column you are adding. It is not actually referencing anything in this step: AddColumns(Table, "Name of your choice", LookUpTableName)
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
User | Count |
---|---|
9 | |
8 | |
6 | |
4 | |
4 |
User | Count |
---|---|
36 | |
21 | |
20 | |
8 | |
6 |