Hello Everyone,
We are trying to develop a data quality rule for uniqueness dimension using Is_unique function in data intelligence. However, we are getting an error message (attached) stating this function is not supported in DI. Please help with some workaround.
Thanks in advance.
Request clarification before answering.
Hello,
is_unique is not avalibale on SAP Data Intelligence trial edition 3.1 as well.
Thanks,
Indu.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello
Use the exists function.
exists(<connection name>, <table name>, <comparison column>, <parameter or value the compare column will test>)Michael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Michael.
The exists function works well for comparing one column. Is there any way we can compare uniqueness of combination of two or more columns. For instance, one customer should have one mobile number. In this case, we need to compare the uniqueness of customer id and mobile number.
Many thanks for your support.
One technique is to concatenate the source columns first, then you can compare them to a single concatenated value.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.