This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hi all,
Is there an easy way I can get multiple values deom a second table based on a value in the first table?
I both tables I have a value (Line Number) and I would like to get several column values based on the Line number vale in Table one.#
Soi if Table A has a Line Number value 12345-678 then I would like my table to show maybe 2/3 column values where the Line Number value in Table B is also 12345-678
Solved! Go to Solution.
Create a New Calculated Table
FilteredTable =
SELECTCOLUMNS(
FILTER(
TableB,
TableB[Line Number] IN VALUES(TableA[Line Number])
),
"Line Number", TableB[Line Number],
"Column1", TableB[Column1],
"Column2", TableB[Column2]
// Add more columns as needed
)
Thank you - worked perfectly
you can try to merge queries in PQ
https://learn.microsoft.com/en-us/power-query/merge-queries-overview?wt.mc_id=DP-MVP-5004616
Proud to be a Super User!
Thank you
Create a New Calculated Table
FilteredTable =
SELECTCOLUMNS(
FILTER(
TableB,
TableB[Line Number] IN VALUES(TableA[Line Number])
),
"Line Number", TableB[Line Number],
"Column1", TableB[Column1],
"Column2", TableB[Column2]
// Add more columns as needed
)
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 36 | |
| 28 | |
| 27 | |
| 20 | |
| 18 |
| User | Count |
|---|---|
| 66 | |
| 34 | |
| 32 | |
| 25 | |
| 23 |