Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
SebastianRichter
Contributor III
Contributor III

Help needed on "How to find next/previous value of the field?"

Hello experts,

I'm referring to this post:

Solved: How to find next/previous value of the field? - Qlik Community - 831644

 

I'm not able to open the qvw file since I'm working in a company system.

I would really appreciate if anyone can give a short instruction with screenshots on which button i should use and which code i need to enter.

I have a list of order numbers through which i want to switch.

 

Thanks a lot.

 

Best regards,

Sebastian

Labels (3)
2 Solutions

Accepted Solutions
saso70
Partner - Creator II
Partner - Creator II

Hi, Please find attached word document , I hope this will help you

View solution in original post

saso70
Partner - Creator II
Partner - Creator II

saso70_0-1705479019232.png

In all your fields(all fields are from Fact table) in background color you need to add the expression:  if(OrderID = only({1} OrderID) and count(total distinct OrderID)=1,
green(), white())

OrderDate Field is calculated: only({<OrderID=>}OrderDate)

View solution in original post

7 Replies
saso70
Partner - Creator II
Partner - Creator II

Hi, Please find attached word document , I hope this will help you

SebastianRichter
Contributor III
Contributor III
Author

Thanks, this is awesome.

SebastianRichter
Contributor III
Contributor III
Author

Hi Saso70, 

one more question. Rows in the straight table in the left lower corner of your word file do not get filtered by the selection made with the "previous and next buttons" but are only highlighted green.

How to do that? When I use the buttons, my straight table only show the one row currently selected.

Thanks in advance.

Best regards,

Sebastian

saso70
Partner - Creator II
Partner - Creator II

Hi, you first select orderID and then you are using the buttons previous next

saso70_0-1705476676866.pngsaso70_1-1705476790865.png

 

SebastianRichter
Contributor III
Contributor III
Author

Hi, 

what I meant is the table in left lower corner, please see the screenshot below.

Even though you selected Order ID 10248 (red circle), you still have all other order IDs visible in the table (blue circle). It is just that order ID 10248 has a green background. I want the same in my table for better overview, but in my table all not selected Order IDs vanish and only order ID10248 remains in the table. 

So what do i need to set in the table in order to keep all Order IDs visible and only give the green background to the row I selected by the buttons.

SebastianRichter_1-1705478161214.png

 

Thanks for having patience with me.

Best regards,

Sebastian

 

saso70
Partner - Creator II
Partner - Creator II

saso70_0-1705479019232.png

In all your fields(all fields are from Fact table) in background color you need to add the expression:  if(OrderID = only({1} OrderID) and count(total distinct OrderID)=1,
green(), white())

OrderDate Field is calculated: only({<OrderID=>}OrderDate)

SebastianRichter
Contributor III
Contributor III
Author

Again, thank you very much.