Forum Discussion
How do I assemble a column from a table that queries data from another table?
- Anonymous1 year ago
Hi Syndicate_Admin ,
Thank you for reaching out to the Microsoft Fabric Community.
We have reviewed your inquiry regarding the requirement to retrieve the corresponding INPO detail from the ‘Detalle INPOs’ table into the ‘Ejecución sin OC’ table, based on the shared INPO number. This is a common lookup scenario in Power BI, and we appreciate the clarity with which you’ve described your objective.
We would like to confirm that both community responses provided by DataInsights and Ashish_Mathur technically correct:
For your reference, here is the recommended formula:
Detalle de INPO = LOOKUPVALUE( 'Detalle INPOs'[Detalle], 'Detalle INPOs'[Numero de Inpo], 'Ejecución sin OC'[INPO] )Please ensure that the data types of both columns involved in the comparison (INPO and Numero de Inpo) are consistent (preferably whole numbers), and confirm that no ambiguity exists in the matching logic.
If this post helps, then please give us Kudos and consider Accept it as a solution to help the other members find it more quickly.
Thankyou.
Hi Syndicate_Admin ,
Thank you for reaching out to the Microsoft Fabric Community.
We have reviewed your inquiry regarding the requirement to retrieve the corresponding INPO detail from the ‘Detalle INPOs’ table into the ‘Ejecución sin OC’ table, based on the shared INPO number. This is a common lookup scenario in Power BI, and we appreciate the clarity with which you’ve described your objective.
We would like to confirm that both community responses provided by DataInsights and Ashish_Mathur technically correct:
For your reference, here is the recommended formula:
Detalle de INPO = LOOKUPVALUE(
'Detalle INPOs'[Detalle],
'Detalle INPOs'[Numero de Inpo],
'Ejecución sin OC'[INPO]
)
Please ensure that the data types of both columns involved in the comparison (INPO and Numero de Inpo) are consistent (preferably whole numbers), and confirm that no ambiguity exists in the matching logic.
If this post helps, then please give us Kudos and consider Accept it as a solution to help the other members find it more quickly.
Thankyou.
- Syndicate_Admin1 year ago
Administrator
Thank you all very much! I didn't know the LOOKUPVALUE feature!.
Thank you!
- Anonymous1 year agoNot applicable
Hello Syndicate_Admin ,
Thank you for your follow-up, and we’re glad to hear that the LOOKUPVALUE function addressed your requirement effectively.
This function is indeed a powerful and widely used approach in Power BI when performing row-level lookups across related datasets, especially in scenarios where relationships are not explicitly defined in the model.
please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.
Thank you.
- Anonymous1 year agoNot applicable
Hi Syndicate_Admin ,
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank you.