cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Ignore case in Get a row Excel Online(Business)

I am trying to get excel row using Get a row Excel Online(Business) connector.

 

It fetches the data correctly, but the data is case sensitive.

 

For eg. If I want to get a row where Key Value is "ABC" then it returns the row.

But, if Key Value is "abc" then it does not return the row.

 

How to ignore the case while matching the condition?

 

Any help?Capture.JPG

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @Anonymous,

 

You could use the Filter array action to find these rows which ID to upper equals to "ABC", no matter it is Abc or aBc:

Annotation 2020-08-13 105854.jpg

  

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

8 REPLIES 8
Hardesh15
Super User
Super User

@Anonymous 

 

You can use condition action. 

column Value contains toLower(ColumnValue) (i am checking only lower case)

Based on True and False return, you can use Get a row action in which convert your key value in Upper or Lower case.

 

Thanks

Hardesh

 

Anonymous
Not applicable

@Hardesh15 

 

I can convert the column value to upper/lower case.

 

But my problem is sometimes the actual excel value can be "aBc" or "abC".

 

If I convert the column value to upper/lower case it will always be "ABC" or "abc" and it will not match with the excel key column. 

 

Hence I want to do upper/lower case on excel excel key column

Anonymous
Not applicable

"List rows present in a table" returns rows even if case is not matching. That's what I want.

 

But, I need this to work for "Get a row" action.

 

Any help here?

@Anonymous 

After using list row present in a table, you can use condition action and choose another pair of Key-Value.

 

Thanks

Hardesh

Hi @Anonymous,

 

You could use the Filter array action to find these rows which ID to upper equals to "ABC", no matter it is Abc or aBc:

Annotation 2020-08-13 105854.jpg

  

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Hi @v-litu-msft ,

 

How can we achieve this with "Get a row" action?

 

I do not want to use "List rows present in a table" due to some other problems.

 

Hi @Anonymous,

 

Get a row action couldn't do it, because it is case-sensitive, what we can do is to take out all the columns first.

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Hi @v-litu-msft ,

 

I tried using "List rows present in a table" but I am facing some other issues.

 

Could you please have a look at https://powerusers.microsoft.com/t5/Using-Flows/List-rows-in-a-table-filter-query-failing/m-p/658218...

 

Thanks

Helpful resources

Announcements
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power automate tips 768x460 v2.png

Restore a Deleted Flow

Did you know that you could restore a deleted flow? Check out this helpful article.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

Users online (2,042)