Hi,
I'm new to powerapps. Would like to know is there any way to pass the column name dynamically? We have 50+ columns and 3000+ records(varies on each column) in SP List. Suppose lets say If user selects a value from the list of 50 distinct values and the dropdown should display the values from the respective column.(Column name and the User selection list are having same values)
Thanks in advance.
Anobody update on this?
Would be helpful.
Thank you Reza.
Hi @RamK ,
I'm afraid it's not supported to change fieldname dynamicly.
For now, you need to clearly state which field that you want to display.
I suggest you express your views on PowerApps Ideas Forum. Your precious advice will be very helpful for our work.
https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas
As an alternative way, you could try If statement to change displaying fieldname.
For example, set the drop down2's Items:
If(dropdown1.Selected.Value="fieldname1",listname.fieldname1,
dropdown1.Selected.Value="fieldname2",listname.fieldname2,
dropdown1.Selected.Value="fieldname3",listname.fieldname3,.......)
Please replace fieldnames with the names that you use.
Hi @RamK
Dynamic columns is not currently possible
Your option would be to call Flow and pass column name, flow can perform query and send response back to PowerApp (but that would be an overkill)
Regards,
Reza Dorrani
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly