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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Full Outer Join using chart expression.

Hi,

I use two charts:

Chart 1: GL Summary Report

MonthEndGLDatasetIDCount(GLDatasetID)
Jan-1625973317
Jan-163341979
Jan-1624390156
Jan-1652773512

Chart 2: DW Summary Report

MonthEndDWDatasetIDCount(DWDatasetID)
Jan-201625973317
Jan-201649231531
Jan-201624390150
Jan-20165277354

From these two charts I need another chart which has a result set like this:

Chasrt 3: Final Required result (Chart 1's expression minus Chart 2's expression) on status if Dataset ID matched or not

MonthEndDataset IDNet Result (Count(GLDatasetID) - Count(DWDatasetID))Status
Jan-20162597330Matched
Jan-20163341979Not Matched
Jan-2016492315-31Not Matched
Jan-20162439016Not Matched
Jan-20165277358Not Matched

Is it possible to achieve this result in in Chart expression? I know we can use the script and achieve this goal, but I would like to know if a solution exists using chart expression directly.

Thanks!

Labels (1)
2 Replies
Chanty4u
MVP
MVP

//=count( DISTINCT if(count(glddatasetid)-count(DWDatasetid),if(Status = 'Matched','Notmatched', DatasetID)))

Not applicable
Author

Suri - Thanks for your reply.

But Status is a derived column. Status is based on if the result is 0 or not.

Another point is what should be the dimension values in order to calculate count(GLDatasetID)-count(DWDatsetID)