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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 37 | |
| 33 | |
| 33 | |
| 29 |
| User | Count |
|---|---|
| 132 | |
| 90 | |
| 78 | |
| 66 | |
| 65 |