Hi,
Can someone take a look at the query I am using for trying to concatenate various fields into one.
<QUERY>
Category Type: [a_issuetype_call_quality] & IIf(Not IsNull([a_issuetype_call_quality]),"") & IIf(Not IsNull([a_issuetype_coverage]),IIf(Not IsNull([a_issuetype_call_quality]),", " & [a_issuetype_coverage] & IIf(Not IsNull([a_issuetype_translations]),IIf(Not IsNull([a_issuetype_coverage]),", " & [a_issuetype_translations] & IIf(Not IsNull([a_issuetype_other]),IIf(Not IsNull([a_issuetype_translations]),", " & [a_issuetype_other]))))))
<QUERY>
It partly works. I would like to get the results in the sample output below.
<OUTPUT>
Item Quality Coverage Trans Other Cat Type
01 1 1 2 2 1, 1, 2, 2
02 2 2 2, 2
03 3 1 3, 1
<OUTPUT>
Appreciate your help. Thanks.
Can someone take a look at the query I am using for trying to concatenate various fields into one.
<QUERY>
Category Type: [a_issuetype_call_quality] & IIf(Not IsNull([a_issuetype_call_quality]),"") & IIf(Not IsNull([a_issuetype_coverage]),IIf(Not IsNull([a_issuetype_call_quality]),", " & [a_issuetype_coverage] & IIf(Not IsNull([a_issuetype_translations]),IIf(Not IsNull([a_issuetype_coverage]),", " & [a_issuetype_translations] & IIf(Not IsNull([a_issuetype_other]),IIf(Not IsNull([a_issuetype_translations]),", " & [a_issuetype_other]))))))
<QUERY>
It partly works. I would like to get the results in the sample output below.
<OUTPUT>
Item Quality Coverage Trans Other Cat Type
01 1 1 2 2 1, 1, 2, 2
02 2 2 2, 2
03 3 1 3, 1
<OUTPUT>
Appreciate your help. Thanks.