cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

Filter Array on Calculated Column

I am trying to filter a get items (SharePoint) array by a calaculated column that is numerical.  The filter array action does not recognize this column as numerical however.  I have tried using a conversion function on the calculated column i.e float(item()?['Calculated_x0020_Column']) in the advance mode of the filter but it still seems to recognize it as a string.

 

Anyone have any idea how to acheive this?

1 REPLY 1
Community Support Team
Community Support Team

Re: Filter Array on Calculated Column

Hi @WiggityZwiggity,

 

Please take a try to use Float () function with both the parameter.

For example, if you would like to check if the Calculated column equals a number 10.333, then take a try with the format below:

@equals(float(item()?['Calculated_x0020_Column']), float('10.333'))

Tested from my side and it works:

8.PNG

7.PNG

 

Regards,

Michael

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

Helpful resources

Announcements
firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (4,061)