cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Spotto
Helper II
Helper II

How to ignore CONCATENATEX duplicates

hello everyone, I need some help, I'm making a measurement in a direct query table using CONCATENATEX.
The measure I put it to not bring the blank fields but the problem is that when I put the result it brings me a duplicate, I don't know how to fix the measure to disregard the duplicates.

 

Spotto_0-1656091043930.png

 

 
Nr Salesforce Reverso =
var nrsalesrev =
CONCATENATEX(
FILTER('gdp tb_Pagamento_Contrato','gdp tb_Pagamento_Contrato'[SalesForce_Reverso]<> BLANK()),
'gdp tb_Pagamento_Contrato'[SalesForce_Reverso],
", "
)
return nrsalesrev
 
tks for help
1 ACCEPTED SOLUTION
yingyinr
Community Support
Community Support

Hi @Spotto ,

You can update the formula of measure [Nr Salesforce Reverso] as below to get it:

Nr Salesforce Reverso =
VAR nrsalesrev =
CONCATENATEX (
FILTER (
VALUES ( 'gdp tb_Pagamento_Contrato'[SalesForce_Reverso] ),
'gdp tb_Pagamento_Contrato'[SalesForce_Reverso] <> BLANK ()
),
'gdp tb_Pagamento_Contrato'[SalesForce_Reverso],
", "
)
RETURN
nrsalesrev

yingyinr_0-1656322780618.png

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
yingyinr
Community Support
Community Support

Hi @Spotto ,

You can update the formula of measure [Nr Salesforce Reverso] as below to get it:

Nr Salesforce Reverso =
VAR nrsalesrev =
CONCATENATEX (
FILTER (
VALUES ( 'gdp tb_Pagamento_Contrato'[SalesForce_Reverso] ),
'gdp tb_Pagamento_Contrato'[SalesForce_Reverso] <> BLANK ()
),
'gdp tb_Pagamento_Contrato'[SalesForce_Reverso],
", "
)
RETURN
nrsalesrev

yingyinr_0-1656322780618.png

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

it worked, thank you very much🙂

Helpful resources

Announcements
August 1 episode 9_no_dates 768x460.jpg

The Power BI Community Show

Watch the playback when Priya Sathy and Charles Webb discuss Datamarts! Kelly also shares Power BI Community updates.

Power BI Dev Camp Session 24 without aka link and time 768x460.jpg

Ted's Dev Camp - July 28, 2022

Watch Session 24 of Ted's Dev Camp along with past sessions!

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.