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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Find the first positive value in the row and count the previous negative values

Hello,

I have some problem, I have a data set about customer and want to calculate landing time, if not want to say not landing

data set :

Thank you very much

               

customer2016-012016-022016-032016-042016-052016-062016-072016-082016-092016-102016-112016-12result
a1----4284280-4819475,97-5454904,625876117,876369789,83683620773604057944499,948519044,453
a2-3-5-7-5915304
a3-3-5-5-5-5-5-5-5-5-5-5-5"NOT YET"
9 Replies
sunny_talwar

In the script or front end of the application?

Not applicable
Author

Front end of the application

sunny_talwar

Would you be able to share a sample where you are trying to do this?

Not applicable
Author

I added an Excel sheet

Have an 100 customer want to calculate when a customer become + like result column

Not applicable
Author

Trying to do in qlikview; I have an data set like added Excel sheet

Anonymous
Not applicable
Author

Something like this?

Would there be negative numbers after there are positive numbers?

Not applicable
Author

yes there would be negatif numbers after positife but,

it is important for me to count only the negatif values before first positive number

Not applicable
Author

Pavan Thanks for your help, but I want to calculate only the negatif values before first positive number ,

if there would be negative number after positive number, it is not counted, can you help ?

Not applicable
Author

i there anybody wants to help me

it is so important for me