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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

expression for pivot table

Hi all,

The Required O/p is mentioned in the excel with the label O/p. Kindly find  attached  excel .

Thanks!!!

6 Replies
Not applicable
Author

May i know what is the calculation of o/p measure

Not applicable
Author

Could you explain breifly

Not applicable
Author


Hi Saurabh,

So what is your question, do you want to know how O/p is derived?

If yes then divide Document by Actual

for example 100/0 is error so it is zero , 50 / 105 is 0.47 round it.

Regards,

NR

Not applicable
Author

1.

if(document>actual,actual)

2. i m confused with the 2nd conditon

here actual quantity is 105 for the same batch

1000060550

and in document we have 50 ,50,50 for the same batch. i have to break the quantity 50,50,5. need to start from max date.

qlikpahadi07
Specialist
Specialist

May i know what is the calculation/Logic for o/p

Not applicable
Author

Hi Saurabh,

Oder (Sort) the data by "Batch", "Posting Date_BUDAT" then put if condition get O/p then use Previous() on Batch to give 50,50,5

Please give a try and let me know if still you are not able to achieve the same.

Regards,

NR