11 Replies Latest reply: Sep 24, 2014 11:46 AM by Michael Tarallo RSS

    Questions on "new" search behavior

    Roland Vecera

      HI!

       

      I must say I have my difficulties to understand the new QVSense numeric search behavior. See attached video.

       

      I have a field with numeric IDs:

       

      1) I do a search in ther filter panel for "<5" --> the current selection shows 1,2,3,4 --> behavior OK

      2) I do a search for "<10" --> the current selection shows me 5,6,7,8,9 --> to me thats a strange behavior

       

      Questions:

      - Why does the "current selection box" shows selected items, instead of the search query. What happens if I do a snapshot. Will it save the search expression, or the selected values?

       

      - I would expect the second .search to return 1,2,3,4,5,6,7,8,9. Why are the green values from Step1) excluded?

        • Re: Questions on "new" search behavior
          Michael Tarallo

          Hi Roland - let's take each question 1 at a time -

           

          My example - works using <10

           

           

          Here is my sample data you can use in the Data Load Editor:

           

          load * Inline [

          Id,age

          1,30

          2,40

          3,50

          4,60

          5,70

          6,80

          7,90

          8,100

          9,110

          10,120

          ]

           

          Can you check your data model and see what the datatype of your column is flagged as - I am curious to see if this has something to do with it defining it as ascii or something.

           

           

           

          let me know

           

          Mike Tarallo

          Qlik

            • Re: Re: Questions on "new" search behavior
              Roland Vecera

              Hi Michael!

               

              See attached the .qvf and screenshot

               

              "Standalone" Search for < 10 works for me as well.

              Its just when you first search for "<5", after that search for "<10" --> only values 5,6,7,8,9 are selected.

               

              The simple workaround is, that a  user always has to clear a field before it starts a new search; but I think that's not a very natural behavior.Qlik Sense Desktop_2014-09-24_08-34-05.png

                • Re: Re: Re: Questions on "new" search behavior
                  Michael Tarallo

                  Hello Roland - first thank you for the screenshots and the sample - very valuable to our team when trying to troubleshoot.

                   

                  However, I AM NOT seeing this behavior with your app or mine - see the attached video attached to the bottom of this reply.

                   

                  Are you using Desktop version 1.0 - or an older release?

                   

                   

                   

                  Regards,

                   

                  Let me know.

                   

                  Mike

                  • Re: Re: Questions on "new" search behavior
                    Michael Tarallo

                    Roland / Janusz

                     

                    OK - this is what I have found:

                     

                    Pressing the ENTER  key - seems to remove the current selections. (i picked up on that after watching the video again)

                     

                    • Search <5   - [press Enter]
                    • values 1 to 4 selected
                    • Search <10  - [press Enter]
                    • values 1 to 4 removed from selection and values 5,6,7,8,9 selected
                    • Search <5 again  - [press Enter]
                    • all values are NOW selected

                     

                    I will report this to our support team to log as a bug or to see if this is by design, etc. However, seems to be odd behavior to me too.

                     

                    Work-around: - DO NOT USE the ENTER Key use the mouse and select the values and click the apply button - green check

                     

                    Thanks for taking the time to report this.

                     

                    Please mark the appropriate replies as helpful / correct so our team and other members know that your question(s) has been answered to your satisfaction.

                     

                    Regards,

                     

                    Mike