FILTER(Template, [Template_ID] = tks) selects ALL rows, why?

I tried to change only the rows with tks, but my action changed every Package_ID to "1".
How?

FILTER(Template, true) selects ALL rows.

FILTER(Template, [Template_ID] = tks) also selects ALL rows. How?

random9_2-1698335725331.png

 

Select all rows that fit property

random9_4-1698335870876.png

 

Change the Package_ID of those packages

random9_5-1698336663014.png

 

 

 

 

 

Solved Solved
0 6 261
2 ACCEPTED SOLUTIONS


@random9 wrote:

FILTER(Template, [Template_ID] = tks) also selects ALL rows. How?


What is the data type for Template_ID?  If it is a Ref column, are the values shown in your table the Row Keys?

I don't think it should make a difference but I always wrap text literals in quotes :

FILTER(Template, [Template_ID] = "tks")

Other than that, the values in your actions don't match your results so it is a bit confusing if these were the actual actions you used or some other actions that might actually have an issue.  Can you clarify?

View solution in original post

SELECT will work...just not as written.  Need to insert the Row Key column before the comma.  

 

SELECT(Template[Row Key], [Template_ID] = "tks")

This is equivalent to the FILTER() 

View solution in original post

6 REPLIES 6


@random9 wrote:

FILTER(Template, [Template_ID] = tks) also selects ALL rows. How?


What is the data type for Template_ID?  If it is a Ref column, are the values shown in your table the Row Keys?

I don't think it should make a difference but I always wrap text literals in quotes :

FILTER(Template, [Template_ID] = "tks")

Other than that, the values in your actions don't match your results so it is a bit confusing if these were the actual actions you used or some other actions that might actually have an issue.  Can you clarify?

Good call for the type of Template_ID: It was a number in a different table, now I changed it to Text.

Quotes for literals don't make a difference. Thank you ๐Ÿ™‚

FILTER(Template, [Template_ID] = "tks")

Or

Select(Template, [Template_ID] = "tks")

 

Select does not work. I did put the tks in quotes though.

SELECT will work...just not as written.  Need to insert the Row Key column before the comma.  

 

SELECT(Template[Row Key], [Template_ID] = "tks")

This is equivalent to the FILTER() 

Again, thank you very much!

Top Labels in this Space