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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
alexis
Partner - Specialist
Partner - Specialist

Formula to table?

Hi

The below represents the formula that I use to calculate a KPI.

As you can see the formula consists of a number of elements that refer to a number of dimensions (like "Software Owner", "ModelID") as well as "filters" such as "Vendor Name", TFDescription" etc.

I get the correct result (the number of Terminal_ID that meet the criteria that I specify) but now I need to create a table of the "qualifying" terminals and their dimensions - any idea how I can use this formula to create the results table?

Your help would be highly appreciated

= count (

{$<

[$(=Concat({1<$Field-={'VendorName','ModelName','TFDescription','SerialNumber','TID','MerchantID'}>}distinct $Field,']=,[')&']='),

[Terminal_ID] = E({1<[stat_type] = {'1','2','3'}>}),

[SoftwareOwner] = {'999'},

[ModelID]= -{'25','26','27'},

[ProdOUTNumeric] = {'>=$(=Min(DateNo))'},

[ProdINNumeric] = {'<=$(=Max(DateNo))'}

>} DISTINCT [Terminal_ID])

Labels (1)
1 Solution

Accepted Solutions
Clever_Anjos
Support
Support

  1. create a graph simple table
  2. Add Terminal_ID as dimension
  3. Add other dimensions
  4. Add that formula as first expression
  5. Hide the last column if you want (Presentation Tab)

View solution in original post

2 Replies
Clever_Anjos
Support
Support

  1. create a graph simple table
  2. Add Terminal_ID as dimension
  3. Add other dimensions
  4. Add that formula as first expression
  5. Hide the last column if you want (Presentation Tab)
alexis
Partner - Specialist
Partner - Specialist
Author

Excellent - your solution is exactly what I was after.

Thank you Clever Anjos!