Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hi,
I have a table of loan numbers, and I need to return a list of tenants for each address (CODE), so I'm trying to retrieve data from the Many side and bring it into the One. When I use RELATEDTABLE, the error message it gives me is "The expression refers to multiple columns. Multiple columns cannot be converted to a scalar value." But I WANT those mulitple lines, at least (not columns). How do I write my DAX for this measure?
This is the measure I've written:
Hi,
Share some data to work with and show the expected result. Share data in a format that can be pasted in an MS Excel file.
Try this
1) TenantsList =
CONCATENATEX(
RELATEDTABLE(Tenants),
Tenants[TenantName],
", "
)
2) if above one fails try this
TenantsPerAddress =
VAR Tenants =
SUMMARIZECOLUMNS(
'TenantTable',
"Tenant", [TenantName] -- Replace with actual tenant name column
)
RETURN
CONCATENATX(
Tenants,
Tenants[Tenant],
", " -- Adjust delimiter as needed
)
If it helps you please Aceept it as Solution so others can get the solution of this problem
Thank you
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 48 | |
| 46 | |
| 41 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 70 | |
| 69 | |
| 32 | |
| 27 | |
| 26 |