Dear Experts,
To get unique and summarize result of a value in pivot tables i am using below command in to get distinct values from the data.
and i get the output as APPLES, ORANGES
As the data is very lengthy and there are suppose to be blanks values in the [ModalityCode] and it wasn't there in some months, so when there are blank values in start or end of the data so then i get the data as
, APPLES, BANANA
, APPLES
ORANGES, APPLES,
BANANA,
APPLES,
I want to customize the above CONCATENATEX and to eliminate the initial or ending delimeter if there are blank values.
To get unique and summarize result of a value in pivot tables i am using below command in to get distinct values from the data.
Excel Formula:
=CONCATENATEX(VALUES(Table1[ModalityCode]), Table1[ModalityCode] ,", ")
and i get the output as APPLES, ORANGES
As the data is very lengthy and there are suppose to be blanks values in the [ModalityCode] and it wasn't there in some months, so when there are blank values in start or end of the data so then i get the data as
, APPLES, BANANA
, APPLES
ORANGES, APPLES,
BANANA,
APPLES,
I want to customize the above CONCATENATEX and to eliminate the initial or ending delimeter if there are blank values.
Last edited: