Skip to main content
Question

Dear all, I am looking for a solution to count and list cases that do NOT find a related information in an additional table but do have the status "A50".

  • October 21, 2021
  • 3 replies
  • 1 view

I tried it with != '' or NULL but the result was not as expected.

 

The Result of the example attached should be:

 

Component > Number: 2 Cases

Component > OLAP Table: 1004 / A50 and 1010 / A50

 

Hope you can help me, many thanks Stefan

CELONIS_COMMUNITY

3 replies

  • Level 8
  • 65 replies
  • October 21, 2021

Hi,

I am not an expert (I mean some PQL really basic knowledge) therefore for sure there are better solutions.

Nevertheless a solution that works is using Pull functions, the PU_COUT.

 

FILTER PU_COUNT ( "CASE TAB", "DIMENSION TAB"."CHECK") = 0 AND "CASE TAB"."STATUS" = 'a50'.

 

Hope it helps.

Javier


  • Author
  • Level 3
  • 7 replies
  • October 22, 2021

Dear Javier,

 

many thanks for your information. I tried your code in a number component but there was no result for ("CASE TAB", "DIMENSION TAB"."CHECK") = 0 . Obviously it seems to be a problem to get an indication/count of cases when a specification (KEY CHECK does not exist) is true.

 

True means ( !='' or Null or =0).

 

best regards

Stefan


  • Level 8
  • 65 replies
  • October 24, 2021

Hi Stephan,

 

I built a small analysis to showcase the question, I've recorded a !quick and dirty video". Hope it helps

 

Javier