Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Need help in expression

Hi all,

Please find the attached snap shot.

In my application moevement type 106 have two 105 records.and system is not maintained proper linking.

but still I want remove where ever 105 double entries and 106 single entries.

Please help..........

Thanks & Regards

Surender

5 Replies
sinanozdemir
Specialist III
Specialist III

Hi Surender,

I am not sure where you want to achieve this, in the front end or in the back end. Here are the solutions for both:

In the front-end, you can achieve this by RowNo() function:

Capture.PNG

In the back-end, you can use Previous() function:

Capture.PNG

And your data model will look like this:'

Capture.PNG

Hope this helps.

Not applicable
Author

Hi

Thanks for your reply.

Actually Script change values are different.

please find the attached snap shotAgeing issue.png

Fact table like below

RefereceKey, [Material Doc 106],Quantity105,[Material Document1]

HK03 ,5005134977 ,12500, 5005134976

         ,                , 12500,5005180235

Please help

Thanks & regards

Surender

sasiparupudi1
Master III
Master III

please post your application

sinanozdemir
Specialist III
Specialist III

Hi Surender,

You have a totally different snap shot then what you originally posted. I suggest you either post a sample dataset or an application so that we can understand better your requirements.

Thanks

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

Try this.

Load Distinct

RefereceKey, [Material Doc 106],Quantity105

From XYZ;

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!