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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to invoke the text...
Power Automate
Answered

How to invoke the text part of a choice field in Dataverse from a List Rows Filter query

(0) ShareShare
ReportReport
Posted on by 105

Hi all!

I have a table with a choice field and need to filter based on the text part of the choice.

This is the Table, and the choice is "Aplicacion"

DiegoEscobar2_0-1675729013872.png

Now I need to filter this table using the text part of the Choice

I tried to do this, where Current Item is a string ("Application X"):

DiegoEscobar2_1-1675729175233.png

because "opmc_aplicacion@OData.Community.Display.V1.FormattedValue"  is what i see that brings the text:

"value": [
{
"@odata.type": "#Microsoft.Dynamics.CRM.opmc_perfiles",
"opmc_aplicacion@OData.Community.Display.V1.FormattedValue": "Application X",
"opmc_aplicacion": 128230001,

....

...

}

]

 

What I get is a syntax error.

I will appreciate any help, because I'm stucked with this.

 

Thank you!

Diego.

Categories:
  • v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @DiegoEscobar2 ,

     

    At my knowledge, we should filter choice value(number) rather than choice label.

     

    I have a choice sample like this:

    crba2_test_choice@OData.Community.Display.V1.FormattedValue":"Test1","crba2_test_choice":886370000 

     

    If I use crba2_test_choice@OData.Community.Display.V1.FormattedValue eq 'Test1', It will report an error.

    If I use crba2_test_choice eq 886370000, it will work.

    vxiaochenmsft_0-1675734483457.png

     

    Best Regards,

    Wearsky

  • DE-23081130-0 Profile Picture
    105 on at

    Thanks @v-xiaochen-msft for your reply.

    I know that using the number works, but I only have the text part to compare in my flow. So, what you are saying is that is not possible to compare with the text part? 

  • Verified answer
    v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @DiegoEscobar2 ,

     

    Unfortunately, I don't think it's possible to compare with the text part. 

    The workaround is to create an array variable in flow with hard code something like:

    [
    
    {Lable:"Test1", Value:1000},
    
    {Lable:"Test2", Value:1001}
    
    ]
    
    

     

    Then we can dynamically find the Value from the text part.

    Hope it makes sense.

     

    Best Regards,

    Wearsky

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 321 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 244

#3
Henil Profile Picture

Henil 102

Last 30 days Overall leaderboard