Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
KevSan
Contributor II
Contributor II

Pivot table

Hi everybody,

I need to use a pivot table to show the remaining amount of holidays month by month for selected year... This is not complicated... but...

I also need to show in this table a unique initial amount calculated by the remaining of last year and a particular amount handled by a field. 

How can I do this? 

Can someone please help me?

KevSan_0-1643034669669.png

 

3 Replies
SBDataspark
Creator
Creator

Hi there KevSan,

I came across your question and have a suggestion that I use to add "fixed columns" to a pivot table.
You can find it in the attached QVF.
This is an adjusted QVF for another community question, but gives you an idea of how you can use this little "trick" in your situation.
The result is this:

Sebb_0-1646338957164.png

Kind regards,

Sebb.

 

KevSan
Contributor II
Contributor II
Author

Hi @SBDataspark , thanks for your answer. Do you have a QVD file please ?

or just the formula maybe?

SBDataspark
Creator
Creator

Hi @KevSan,

There's an example attached to my initial answer...😀
It's not just a formula you need to adjust your load script and be creative in that.
Just have a look at the example and let me know if you need some more help with it.

Kind regards,

Sebb