Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Equivalent of like on Qlikview

hello

i have a table with this info example...

12300     1

12301     2

12302     3

12304     4

13300     1

13301     2

13302     3

13303     4

i need and expresion for a chart box where sum the rows that start with '12' for example and it has to show 10 as a result.

thanks

1 Solution

Accepted Solutions
Gysbert_Wassenaar

Try something like sum({<Field1={"12*"}>} Field2)


talk is cheap, supply exceeds demand

View solution in original post

5 Replies
Not applicable
Author

COL_A     COL_B

12300     1

12301     2

12302     3

12304     4

13300     1

13301     2

13302     3

13303     4

try this:

SUM( IF( TEXT( COL_A) LIKE '12*', COL_B ) )

Not applicable
Author

Eduardo

It didn't work...

Gysbert_Wassenaar

Try something like sum({<Field1={"12*"}>} Field2)


talk is cheap, supply exceeds demand
Not applicable
Author

Verify the file

Not applicable
Author

Thanks