Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
Hey there!
Hoping I get some help with a measure I am working on. My ultimate goal is to get a concatenated list of contacts returned based on the data uploaded to a particular report.
Getting more detailed, I have three tables uploaded in a report that is going to act as a tool for our team. The data file that is uploaded is provided by a customer, and one of the functions of the report is providing a list of providers that can service a particular customer based on the LANES of the shipments.
My data is connected this way:
- Data file from the customer ('Data') > has a column called "Lane"
- 'Carrier Assignments (Master)' > has a column called "LANE" as well.
- 'Carrier Assignments (Master)' matches the LANE with a SCAC code (column called "SCAC")
- Finally a table called "Contacts" with a column called "SCAC"
Ideally what is being returned is a single string of contacts - however what is being currently returned is a list of contacts for every unique lane, resulting in many duplicates. I thought it would be easier, since I have a bar graph that shows the providers and what % of the shipments they can handle.
Here is the current measure:
Solved! Go to Solution.
Hi,
I created this calculated column formula in the Data Table
Contact = related(Contacts[Contact])
and then wrote this measure
Sure!
Data Table ex:
Ship ID | Lane |
1 | AR_CA |
2 | CA_CA |
3 | ME_AR |
4 | AR_CA |
5 | ME_CA |
SCAC Assignments ex:
Lane | Scac |
AR_CA | ABCD |
CA_CA | EFGH |
ME_AR | IJKL |
AR_OK | MNOP |
ME_CA | QRST |
Contacts ex:
Scac | Contact |
ABCD | John.Smith@abcd.com |
EFGH | Jack.Moore@efgh.com |
IJKL | Jane.Smith@ijkl.com |
MNOP | Jill.White@mnop.com |
QRST | Leia.Organa@qrst.com |
Sample return data:
Desired Result: |
John.Smith@abcd.com;Jack.Moore@efgh.com;Jane.Smith@ijkl.com;Leia.Organa@qrst.com |
No duplicates, only includes applicable contacts for lanes provided.
Let me know if there's anything else I can provide!
Hi,
I created this calculated column formula in the Data Table
Contact = related(Contacts[Contact])
and then wrote this measure
Hi,
Share data in a format that can be pasted in an MS Excel file. Show the expected result in a simple Table format.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
85 | |
70 | |
68 | |
51 | |
32 |
User | Count |
---|---|
115 | |
100 | |
74 | |
65 | |
40 |