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: 
Not applicable

pivot table problem

Hello , I'm using a pivot table in my recent application and i have a small problem , my table is the following ,

pivot.PNG

in the column AN-1 i want to have the value of the first expression for the previous year, i tried set analysis  ,it didn't work, i found out about the after() function , i worked well when no filters are applicated, but when i select one year the vaules for AN-1,AN-2 .. disappear. is there any other solution ? thanks in advance.

1 Solution

Accepted Solutions
Not applicable
Author

wi juste pour tester si ça marche j’utilise une fontion générique

View solution in original post

4 Replies
mohamed_ahid
Partner - Specialist
Partner - Specialist

hi,

set analysis  .

can you send a sample file ?

Not applicable
Author

Hi Mohamed,

i used the following set analysis expression for testing

sum({1<Année={'2013'}>}[Evolution. Montant_Invest_fin]*[Evolution. TxParticipation])

it worked well in a text object but it didn't work when i put in the pivot table

mohamed_ahid
Partner - Specialist
Partner - Specialist

pourquoi tu fixe l'année à 2013 ?

tu utilise un calendrier non ?  sur ton application tu as un selecteur de date ?

Not applicable
Author

wi juste pour tester si ça marche j’utilise une fontion générique