Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
mario-sarkis
Creator II
Creator II

Straight table

hey all

i have a straight table but my pro is i dont want it to be affected by date

when i select the date i dont want the chart to change , but if i select on other field it should be affected.

hope you canhelp thank you,

15 Replies
Kushal_Chawda

=Sum({<Date>} Value)

tresesco
MVP
MVP

Use set in your expression like:

Sum({<DateField>} Amount)

mario-sarkis
Creator II
Creator II
Author

‌but there is no amount or something to aggregate how can i do it?

Anonymous
Not applicable

use only function only({<DateField>} FieldName).....

Img1.PNG

Kushal_Chawda

If you have straight table then you should have expression in your straight table. So in each expression you need to write the set analysis like this

{<Date>}

tresesco
MVP
MVP

How does your expression look like?

mario-sarkis
Creator II
Creator II
Author

‌my expression look like this:

=if(date <=today()-6,date)

avinashelite

you can use the only() function  only({<DateField>} pro )

tamilarasu
Champion
Champion

Hi,

Try like below,

=if(date <=today()-6,Only({<Date>}date))

                    Or

=if(date <=today()-6,Only({<Date= >}date))