Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
Would it be possible to get DAX de-duplicating a text string? In the example below - or any suggestions on alternate ways, but still using DAX 🙂 thanks in advance
| Address | Area | Distribution | string = CONCATENATEX(FILTER(('Table'),'Table'[Address]=EARLIER('Table'[Address])),'Table'[Area],"; ") | would then like it de-duplicated -- but wondered if DAX could facilitate? |
| George Street | 1st Floor | Zone 3 | 1st Floor; 1st Floor; 2nd Floor | 1st Floor; 2nd Floor |
| George Street | 2nd Floor | Zone 1 | 1st Floor; 1st Floor; 2nd Floor | 1st Floor; 2nd Floor |
| George Street | 1st Floor | Zone 5 | 1st Floor; 1st Floor; 2nd Floor | 1st Floor; 2nd Floor |
| Lime Walk | Basement | Zone 7 | Basement; Basement | Basement |
| Lime Walk | Basement | Zone 4 | Basement; Basement | Basement |
| Hope Avenue | Basement | Zone 2 | 1st Floor; 1st Floor; Basement | Basement; 1st Floor |
| Hope Avenue | 1st Floor | Zone 8 | 1st Floor; 1st Floor; Basement | Basement; 1st Floor |
| Hope Avenue | 1st Floor | Zone 5 | 1st Floor; 1st Floor; Basement | Basement; 1st Floor |
| Market Square | 2nd Floor | Zone 6 | 2nd Floor | 2nd Floor |
Solved! Go to Solution.
Try this.DeDuplicatedString =
CALCULATE(
CONCATENATEX(
VALUES('Table'[Area]), -- <-- this removes duplicates
'Table'[Area],
"; ",
'Table'[Area]
),
ALLEXCEPT('Table', 'Table'[Addr
ess])
)
Hi @JK-1 please try this calculated column
Chanty4u is right. You can also only use
CONCATENATEX(
VALUES('Table'[Area]), -- <-- this removes duplicates
'Table'[Area],
"; ",
'Table'[Area]
Try this.DeDuplicatedString =
CALCULATE(
CONCATENATEX(
VALUES('Table'[Area]), -- <-- this removes duplicates
'Table'[Area],
"; ",
'Table'[Area]
),
ALLEXCEPT('Table', 'Table'[Addr
ess])
)
I do not get the question
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 3 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 13 | |
| 9 | |
| 8 | |
| 8 | |
| 7 |