Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 974

Re: Case When Where Object in Universe

$
0
0

Hi,

 

An easy solution is to create a derived table in the universe.
The SQL will use2 sub-select statements:

  • 1 statement for Medicaid
  • 1 statement for Managed Care

 

SELECT "Client Name", A."Managed Care", B."Medicaid" FROM

(SELECT "Client Name", "Policy ID" as "Medicaid" FROM .... WHERE "Insurance Name" = 'Medicaid') A,

(SELECT "Client Name", "Policy ID" as "Managed Care" FROM .... WHERE "Insurance Name" = 'Managed Care') B

 

So you will have only 1 record for the customer including "Managed Care" and "Medicaid".

 

Regards,

Didier


Viewing all articles
Browse latest Browse all 974

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>