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 / How to retrieve square...
Power Automate
Unanswered

How to retrieve square brackets column value using power automate e.g. : zBlock_Acc(333)

(1) ShareShare
ReportReport
Posted on by
Hi,

1. How to retrieve only square brackets column value using power automate from dataverse table.

e.g. : zBlock_Acc(333) - Column value (Only retrieve bracket column value)

        MBlock_ACC - Column value

2. How to get highest bracket column value using power automate from dataverse table

e.g : zBlock_Acc(333)

        Z_Block_ACC (335) - Column value (Only retrieve highest bracket column value)

Please assist me

Thanks

Mukesh

Categories:
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,335 Super User 2025 Season 2 on at
     
    I apologies, but I am confused what you are ask. What is bracket column?
     
    Definitely want to help and maybe it is just me, but can you try to give a more detail explanation of what retrieve only square brackets column means.
     
     
  • Suggested answer
    David_MA Profile Picture
    12,966 Super User 2025 Season 2 on at
    • Are you referring to the parentheses () as square brackets []?
    • If so, are you then saying you want to get '333' from 'zBlock_Acc(333)'?
    • If so, is the value in the column always formatted as  zBlock_Acc(333) and the only thing that changes is the number in the parentheses?
    • If so, you can use this expression and replace the variable with your Dataverse value: substring(variables('Value'), add(indexOf(variables('Value'),'('), 1), sub(indexOf(variables('Value'), ')'), add(indexOf(variables('Value'),'('), 1)))
     
    The expression basically finds the position of the opening parentheses and closing parentheses, then returns the value between them. Therefore, as long as there is only one set of parentheses, this expression will work no matter what is on each side of it.

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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard