Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
I have two queries - Query A and Query B.
In Query A, I am trying to create a custom column whereby if Column A (which is within Query A) = 1, then the result should be an exact specific value from the table produced in Query B.
I would expect there is a very straightforward solution for this, but as I'm still relatively new to Power BI I'm struggling to work out the formula to retrieve a specific value from a different query.
Thanks.
Solved! Go to Solution.
Hi @Anonymous
Is there any relationship between two tables?
If there is no relationship, for example, get the first value from "table B" into "Table A" where [cola]=1
In Power query, add a custom column
Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous
Hi @Anonymous
Is there any relationship between two tables?
If there is no relationship, for example, get the first value from "table B" into "Table A" where [cola]=1
In Power query, add a custom column
Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 23 | |
| 23 | |
| 21 | |
| 17 | |
| 14 |
| User | Count |
|---|---|
| 58 | |
| 50 | |
| 37 | |
| 29 | |
| 24 |