Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

How can conditional columns be added after ThisItem.Value.ColumnName in a PowerApps gallery?

(1) ShareShare
ReportReport
Posted on by 2

I have a scenario where I passed an array (Using the Parse JSON function) to a gallery in my PowerApps application. Within this gallery, I have added two labels and assigned formulas to their Text properties:

For Label 1, the formula ThisItem.Value.ColumnName works perfectly well.
However, for Label 2, the formula ThisItem.Value.LookUp(MappingMaster, AgentName = Dropdown2.Selected.Value).ColumnName is not functioning correctly.

My question is: Can we add a condition-based column after ThisItem.Value?

I would appreciate your guidance on how to address this issue.

  • mmbr1606 Profile Picture
    12,121 Super User 2025 Season 1 on at
    Re: How can conditional columns be added after ThisItem.Value.ColumnName in a PowerApps gallery?

    hey @Jitesh1432 

     

    what do you exactly mean by:

    Can we add a condition-based column after ThisItem.Value?

     

    Do you mean make them visible or really add new columns to the List?

     

    If its the first, yes you could make them visible based on conditions. If its the second scenario, no you could not add new columns automatically if a condition is met.

     

    Let me know if my answer helped solving your issue.

    If it did please accept as solution and give it a thumbs up so we can help others in the community.



    Greetings

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,695 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,015 Most Valuable Professional

Leaderboard