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 / Retrieve certain value...
Power Automate
Answered

Retrieve certain values from a Choice type column of a Sharepoint list in a variable

(0) ShareShare
ReportReport
Posted on by 691

Hello,
I have a Sharepoint list that looks like this:

 

 

And, in a WorkFlow, I would like to create a variable that retrieves only the "Télétravail" values from the "Lundi" column.

s44_2-1645528028253.png

 

But I don't know at all how to get these values in my variable of my WorkFlow..

s44_3-1645528157805.png

 

Can you help me please ? 😞 
Thank you in advance !

 

 

Categories:
I have the same question (0)
  • Hii_iii Profile Picture
    691 on at

    Thank you so much !

  • Verified answer
    Expiscornovus Profile Picture
    33,417 Most Valuable Professional on at

    Hi @s44,

     

    Normally you could use a Select action to pick the specific columns you want to use. The output of that Select can be turned into an html table.

     

    Just to double check. Do you have a reason why you are storing the filtered items in a separate variable? If so, can you share the rest of your flow setup?

     

    Below is an example of that select, create html table, send e-mail approach:

     

    arrayvariable_lundi_01.png

     

    However, if for some reason it is still required to use the Array variable you could use the following steps.

     

    In the gif below you can see I am retrieving the title & lundi value. Both field mappings use the item()['ColumnName'] syntax for the value.

     

    So, when you change the From to our Array variable afterwards it is still valid. Bit of workaround, but it should work 😁

     

    ReplaceValueofItemsbyArrayVariable.gif

  • Hii_iii Profile Picture
    691 on at

    @Expiscornovus 

    Thanks for your help !

  • Expiscornovus Profile Picture
    33,417 Most Valuable Professional on at

    Hi @s44,

     

    You could use a Get Items and use the Filter query field to specifically filter on a Lundi value. I would also change the variable type from Object to Array btw.

     

    Below is an example:

     

    Lundi eq 'Télétravail'

     

    filterquery_andarray.png

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
David_MA Profile Picture

David_MA 258 Super User 2025 Season 2

#2
trice602 Profile Picture

trice602 205 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 204 Most Valuable Professional

Last 30 days Overall leaderboard