Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
JFaucher
Contributor II
Contributor II

The column must not influence the rows

I have a table with several columns, and one column shows the difference between today's amount and the amount one year ago. This calculation shows rows with items opened last year. I'd like this column not to affect the lines displayed, as I don't want them to show data from a year ago, but current data. Do you know how I can set this up?

Labels (1)
1 Reply
Clement15
Partner - Specialist
Partner - Specialist

Hello,

Sorry, it's in French, but here's an example that works. You need to use an aggr and set analysis

 

Clement15_0-1742481912154.png

 

sum({<Année={"$(=max(Année))"}>}aggr(Sum({<Année={"$(=max(Année))"}>}FlagLancement)-Sum({<Année={"$(=max(Année)-1)"}>}FlagLancement),Organisation))