Skip to main content

Notifications

Power Apps - Building Power Apps
Answered

Dynamic Column name

(2) ShareShare
ReportReport
Posted on by 9

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.

Categories:
  • VK2 Profile Picture
    VK2 29 on at
    Re: Dynamic Column name

    Anobody update on this?
    Would be helpful.

  • RamK Profile Picture
    RamK 9 on at
    Re: Dynamic Column name

    Thank you Reza.

  • Verified answer
    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.

  • Verified answer
    RezaDorrani Profile Picture
    RezaDorrani 12,141 on at
    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

     

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,508

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,839

Leaderboard