Join 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!View all the Fabric Data Days sessions on demand. View schedule
I am having data as per the below input table.
Now I want to create a new column where if the cluster name is the same then I want to concatenate the band else result in band available in the existing column. refer output table to understand my requirement.
pls help
input table
| Circle | Cluster | Band | 17_KPIs |
| BR | BR-ARRH-0001 | 700 | 12 |
| BR | BR-ARRH-0001 | 3500 | 10 |
| BR | BR-ARRH-0002 | 700 | 15 |
| BR | BR-BGLP-0003 | 3500 | 10 |
| BR | BR-BGLP-0004 | 700 | 15 |
| BR | BR-BGLP-0004 | 3500 | 16 |
Output table
| Circle | Cluster | Band | 17_KPIs | New column |
| BR | BR-ARRH-0001 | 700 | 12 | 700 |
| BR | BR-ARRH-0001 | 3500 | 10 | 700,3500 |
| BR | BR-ARRH-0002 | 700 | 15 | 700,3500 |
| BR | BR-BGLP-0003 | 3500 | 10 | 3500 |
| BR | BR-BGLP-0004 | 700 | 15 | 700,3500 |
| BR | BR-BGLP-0004 | 3500 | 16 | 700,3500 |
Solved! Go to Solution.
Hi @prashantg364 ,
I suggest you to try code as below to create a calculated column.
New column = CONCATENATEX(FILTER('Table','Table'[Cluster] = EARLIER('Table'[Cluster])),'Table'[Band],",")
Result is as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @prashantg364 ,
I suggest you to try code as below to create a calculated column.
New column = CONCATENATEX(FILTER('Table','Table'[Cluster] = EARLIER('Table'[Cluster])),'Table'[Band],",")
Result is as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
There is no sort oder in Power BI. How are you identifying the "first" entry per cluster? or should all rows in your expected result say 700,3500 ?
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 19 | |
| 11 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 31 | |
| 27 | |
| 21 | |
| 13 | |
| 12 |