cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
WiggityZwiggity
Helper V
Helper V

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?

2 REPLIES 2
v-micsh-msft
Community Support
Community Support

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.

This is really helpful. Thank you!

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (2,541)