Skip to main content
Announcements
Global Transformation Awards submissions are open! SUBMIT YOUR STORY
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Master/Detail

I have 2 table with 1->0:n relation.

Table 1:

-Year
- KEY1
...

Table 2:

- KEY2
- KEY1 (foreign Key)
...

What can I create a graph with:

DIMENSION : YEAR

EXPRESSION: Number of records on Table 1 don't have corrispondence on Table2

Thans

4 Replies
Not applicable
Author

You can use the set analysis to accompolish this by using something like this

sum({1-$} Key1)

Please refer to Set analysis is reference Manual

Talha





Not applicable
Author

Thank you but I can't use Set Analysis.

I'll be more clear,

TAB1
YEARKEY1
2008A
2008B
2009C
2009D
2009E
TAB2
KEY2KEY1
A1A
A2A
A3A
A4A
C1C
D1D
D2D
Result
YEARNr rec TAB1Nr Rec Unmatched
200821
200931

Not applicable
Author

Maybe this will help you

let me know if this is the solution you want

Talha

Not applicable
Author

Ok, it's I can use nullcount (I didn't know that operator) but, in order to use it, I have to concatenate on tab2 the not exists key1.

Thanks a lot

Bye