web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Reference column name with a variable

(0) ShareShare
ReportReport
Posted on by 178

I created a sharepoint list with all the required columns of a spreadsheet. I want to run a get items on the sharepoint list inside an apply to each for every row in a spreadsheet. My goal is to create a condition to see if the value is empty but I'd like to reference the column name of the spreadsheet with a variable (from the SP list). Is this possible? I'm getting an error

 

empty(items('Validation')?[variables('Column')])

 

 

lui_0-1597891457561.png

 

I have the same question (0)
  • Verified answer
    v-bacao-msft Profile Picture
    on at
    Re: Reference column name with a variable

     

    Hi @lui ,

     

    What is the error you encountered? In theory, we can dynamically set the property name.

     

    Best Regards,

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 659 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 386 Moderator

#3
chiaraalina Profile Picture

chiaraalina 290

Last 30 days Overall leaderboard