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: 
Daniel1908
Creator
Creator

Text available in Search/Filter but no value

Hello together, 

I have created a worksheet with different fields.

The formula in the background works well, but in the search field are Numbers/Text available  which are not present in the table.

When selecting the fields I then get the value 0 displayed.

Any experience on that?

Kind Regards,
Daniel



5 Replies
Anil_Babu_Samineni

Hello, Can you please explain in details?

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Daniel1908
Creator
Creator
Author

Hi, 

in my table I got for example 100 Material Numbers. 
But in the Search Field appear quite more and if I select them I then get the value 0 displayed.

I want to get these out of the search field.
It should only show the 100 which are in my table. 

Kind Regards, 
Daniel

marcus_sommer

It sounds that your fact-table with the transactions contained not all materials which are listed within the linked dimension-table. It's not uncommon because the facts are usually limited to last n years but the dimensions contain all ever existing items. To overcome it you could filter the dimension-loads on the existing items (requires that they are loaded afterwards of the fact-tables), maybe in this way:

fact: load * from transactions;
dim: load * from dimension where exists([Material Number]);

- Marcus

Daniel1908
Creator
Creator
Author

Is there a way to get this solved in the formula itself?

Count({<ProductKey*={"TH"}>*<[Returnlabel.]-={"A"}>*<[Price1]-={"0,00"}>*<[Price2]={"0,00"}>}distinct Material)

Kind Regards
Daniel

marcus_sommer

No, not really. You could easily exclude them with set analysis within the expressions but the dimension-values exists further within the field and therefore within the search. You may create a calculated dimension within the list-box or the charts but such an approach has several disadvantages by aggr(), totals, displaying selections ... and is therefore rather not a general solution.

Therefore I suggest to do it within the script - it's simple and quite probably there are more dimensions which may be filtered in a similar way, like: stores, staff, regions/channels ....

- Marcus