Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I have a calculated column which was created using RELATEDTABLE
ID | NAMES(CALCULATED COLUMN) |
1 | A,A,B,C,D,D |
2 | A,B,E,E,D,F,F |
3 | A,A,S,S,D,F,H |
4 | A,S,D |
5 | A,A |
What I need:
1 | A,B,C,D |
2 | A,B,E,D,F |
3 | A,S,D,F,H |
4 | A,S,D |
5 | A |
Can you please let me know how to get distinct values for a calculated column.
Thank you!
Solved! Go to Solution.
Try something like:
Unique IDs = CONCATENATEX(
DISTINCT(SELECTCOLUMNS(RELATEDTABLE('Table'), "values", 'Table'[Value])),
[values],
", "
)
Try something like:
Unique IDs = CONCATENATEX(
DISTINCT(SELECTCOLUMNS(RELATEDTABLE('Table'), "values", 'Table'[Value])),
[values],
", "
)
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
65 | |
64 | |
56 | |
39 | |
27 |
User | Count |
---|---|
85 | |
59 | |
45 | |
43 | |
38 |