absolutely great, because it is also expandable to more than two datasets to be compared. here's what i done for a "triff":
index=a | stats count by PSP_Element | rename * as a_* | rename a_PSP_Element as PSP_Element | eval a=1
| append [ | inputlookup koop_aws_spitz_zahlen PSP_Element=* | rename * as b_* | rename b_PSP_Element as PSP_Element | eval b=1 ]
| selfjoin max=0 keepsingle=yes PSP_Element
| append [ | makeresults format=csv data="PSP_Element F-330751 F-330755 F-330758 "
| rename * as c_* | rename c_PSP_Element as PSP_Element | eval c=1 ]
| selfjoin max=0 keepsingle=yes PSP_Element
| where isnull(a) OR isnull(b) OR isnull(c)
| eval x = coalesce(b_PLAN,a_Preis) | sort - x | fields - x
| fields PSP_Element c a b *
... View more