Forum Discussion

Syndicate_Admin's avatar
Syndicate_Admin
Icon for Administrator rankAdministrator
1 year ago
Solved

How do I assemble a column from a table that queries data from another table?

Good afternoon I have two tables: "INPO Details" and "Execution without CO". The "INPO Details" table is the one with the query information. The table "Execution without CO" needs to put together...
  • Anonymous's avatar
    Anonymous
    1 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.