Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.
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 April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
72 | |
68 | |
67 | |
41 | |
41 |
User | Count |
---|---|
48 | |
44 | |
29 | |
28 | |
28 |