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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Referencing a specific...
Power Automate
Answered

Referencing a specific column in an array

(0) ShareShare
ReportReport
Posted on by 113

I'm getting an error like this:

Unable to process template language expressions for action 'Warunek' at line '0' and column '0': 'The template language expression 'string(body('TabelaLicencjeM365')?['Subscription End Date'])' cannot be evaluated because property 'Subscription End Date' cannot be selected. Array elements can only be selected using an integer index. Please see https://aka.ms/logicexpressions for usage details.'.

 

Here is a piece of automation:

 

Sbsyx_0-1713444118855.png

"zawiera" is contain on English.

 

I want to compare two columns unfortunately I can not refer to the array TabelaLicencjeM365. I've tried by the column name then the above error pops up, as it indexes via string(body('TabelaLicencjeM365')?[ 4]) it gets me all the data from the table.

 

Is it possible to refer to the contents of a table outside the loop in a loop?

Categories:
I have the same question (0)
  • Verified answer
    Expiscornovus Profile Picture
    33,195 Most Valuable Professional on at

    Hi @Sbsyx,

     

    I see in your example you use index [4]. Do you want to compare with Subscription End Date value of the 5th item of your TabelaLicencjeM365?

     

    If that is the case try the expression below in your condition and see if that works for you?

    body('TabelaLicencjeM365')[4]['Subscription End Date']

     

  • Sbsyx Profile Picture
    113 on at

    Thank you, I did it a different way 🙂

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard