cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
RamK
Level: Powered On

Dynamic Column name

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.

2 ACCEPTED SOLUTIONS

Accepted Solutions
Dual Super User
Dual Super User

Re: Dynamic Column name

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

 

 

 

View solution in original post

Community Support Team
Community Support Team

Re: Dynamic Column name

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.

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Dual Super User
Dual Super User

Re: Dynamic Column name

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

 

 

 

View solution in original post

Community Support Team
Community Support Team

Re: Dynamic Column name

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.

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

RamK
Level: Powered On

Re: Dynamic Column name

Thank you Reza.

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (4,896)