Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Maciej29
Contributor III
Contributor III

Would like to see only data from 2019 to today's date

Hello,

I'd like to see only data from 2019 to today's date using Set expression.

 

Date Created

1/12/2015

06/03/2016

12/31/2018

05/05/2019

1/12/2020

 

Thanks in advance

2 Solutions

Accepted Solutions
Anil_Babu_Samineni

When you say set expression, It is difficult to us to understand where you are using?

Dimension Level : If(Year([Date Created])>=2019, [Date Created])

Using Expression : Sum(If(Year([Date Created]>=2019, Measure))

Please add me Anil_Babu_Samineni to interact faster when reply back. Speak low think High.

Before develop something, think If placed (The Right information | To the right people | At the Right time | In the Right place | With the Right context)

View solution in original post

tresesco
MVP
MVP

Try something like:

Sum( {<[Date Created]={">=MakeDate(2019,1) <= today()"}>} Sales)

View solution in original post

3 Replies
Anil_Babu_Samineni

When you say set expression, It is difficult to us to understand where you are using?

Dimension Level : If(Year([Date Created])>=2019, [Date Created])

Using Expression : Sum(If(Year([Date Created]>=2019, Measure))

Please add me Anil_Babu_Samineni to interact faster when reply back. Speak low think High.

Before develop something, think If placed (The Right information | To the right people | At the Right time | In the Right place | With the Right context)
tresesco
MVP
MVP

Try something like:

Sum( {<[Date Created]={">=MakeDate(2019,1) <= today()"}>} Sales)

Maciej29
Contributor III
Contributor III
Author

Anil,

I need both.

Thank you