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

Announcements
We are aware of an issue with the Product Downloads page and looking into it.
cancel
Showing results for 
Search instead for 
Did you mean: 
sivarajs
Specialist II
Specialist II

before functionality in pivot table

Hi All,

i am using before function in pivot table with 3 dimensions. My expression is as below

if(columnno()=1, Sum(Qty), Before ([inv])) --inv is one of my expression

When i select some values in the dimension am getting proper values as per the expression defined. But without selection am not getting the values proper, giving some random.

How do i get without selection.

Thank you!

-Sivaraj

Labels (1)
4 Replies
sunny_talwar
MVP
MVP

Would you be able to share an image with and without selection?

sivarajs
Specialist II
Specialist II
Author

Thank you for your reply

i have just pasted a sample here,

when i select source 165A,

   

Source Planmonth201609201610201611201612201701201702
165Ahand 200002050021700221802318027200
offset 500120048010004020-100
inv 205002170022180231802720027100

when i dont select somewhere i get right values but not proper

   

Source Planmonth201609201610201611201612201701201702
165Ahand 2000035000-14000221802318012000
offset 500120048010004020-100
inv 205003620022180231802720011900
sunny_talwar
MVP
MVP

when i dont select somewhere i get right values but not proper

What do you mean? that the values are right but not proper? What is proper?

sivarajs
Specialist II
Specialist II
Author

In 2nd table, i have not selected source 165A, for some months am getting before values of inv is correct for some other it's not correct