How to use filter data table activity after a read range activity

Hi, I am doing Lesson 9 Practice 2 from the Foundation Training - revamped course. I need to read an excel sheet and then filter the obtained data table using a Filter Data Table Activity by a column “ID” of type Int32. But when I use the activity and set filtering criteria:
I got an error because it says that the column is of type Object and in order to make the comparison, it needs to be of type Double. There is any way for me to define the type of the columns of the data table I obtain from the Read Range Activity, or to cast the type of data at the moment of the comparison?
I want to do it by the Filter Data Table Activity. I know that there are others workaround, but the purpose of this exercise is to use this activity. Thanks in advance.

Hey did you find any solution for this, I am stuck with same error.


you should use a decimal value while filtering. Instead of 10 write 10.00. It should work then, at least worked in my case.

1 Like

Whenever I need to compare to the number, use double instead of int. My filtered data table always worked with double not int. (13.9 KB)
@Vivian You can refer the below xaml file

@Babla, that worked out, thanks. Sorry for the very late reply.

1 Like