Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
paulyeo11
Master
Master

Set expression how to modify to > then 2017 ?

Hi All

Below expression is working well :-

Sum({<year={2017},sub_seg={"01"}>} sales)

I like to modify the expression to for more then 2017 instead of equal to 2017 and I have try below :-

Sum({<year>{2017},sub_seg={"01"}>} sales)

Sum({<year{>2017},sub_seg={"01"}>} sales)

Not working

Paul Yeo

1 Solution

Accepted Solutions
jonathandienst
Partner - Champion III
Partner - Champion III

Like this

Sum({<year = {">2017"}, sub_seg={'01'}>} sales)


Quoting rules

double quotes " - search expression, like >2017

single quotes ' - literal text, like '01'

These are rules were previously disregarded, but are now being enforced in new models created using the most recent versions of QS/QV.

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein

View solution in original post

2 Replies
jonathandienst
Partner - Champion III
Partner - Champion III

Like this

Sum({<year = {">2017"}, sub_seg={'01'}>} sales)


Quoting rules

double quotes " - search expression, like >2017

single quotes ' - literal text, like '01'

These are rules were previously disregarded, but are now being enforced in new models created using the most recent versions of QS/QV.

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
paulyeo11
Master
Master
Author

Hi Jona

Thank you very much.

it work

Paul