Hello all,
Here I meet a problem.
I insert the form in power apps and connect to the excel online raw data.
For a column named size, I hope the user can select between A3, A4, B4, B5, 8K, 16K and so on. But in my raw data, I only have sheet width and sheet length.
I have use the distinct function in items, that is,
Distinct(Filter(Table2Data,Description=DataCardValue3.Selected.Value && 'GSM '=DataCardValue4.Selected.Value),'Sheet width')
After applying the function above, the user can select between 297, 210,195 and so on.
So what I need is to switch 297, 210, 195 to A3, A4, 16K...
I tried to use the function in onselect, that is,
Switch(DataCardValue5.Selected.Value,
"297","A3",
"210","A4",
"420","A3",
"182","B5",
"195","16K",
"257","B4",
"270","8K",
"216","Letter Size")
But it seems not work.
Hope you can help me solve the problem.
Thanks!