Forum Discussion

maricelgg's avatar
maricelgg
Regular Visitor
4 years ago
Solved

How to complete a column depending on values or another?

Hi, I need to fill in the blanks of this column with the value ("Nombre ganador") that corresponds to the "Nombrelicitación" column. That is to say: JORGE PIDDO Y CIA LTDA. it must appear for all bids "Consultoría de Varios Puentes Valdivia y Ranco"; LOUIS BERGER CHILE S.A. it must appear in all the "ATIF Ampliación Cañal Bajo FASE 1", etc.

Please can you helpme

Thanks

Hola, necesito completar los vacíos de esta columna con el valor (Nombre ganador) que corresponde a la columna NombreLicitación. Es decir: JORGE PIDDO Y CIA LTDA. debe aparecer para todas las licitaciones "Consultoría de Varios Puentes Valdivia y Ranco"; LOUIS BERGER CHILE S.A. debe aparecer en todos los "ATIF Ampliación Cañal Bajo FASE 1", etc.

Pueden ayudarme por favor, gracias!

 

 

 

  • Hi maricelgg ,

     

    Please create a new column:

     

    Column = 
    CALCULATE (
        MAX ( 'Table'[Nombre ganador] ),
        FILTER (
            'Table',
            'Table'[Nombrelicitación] = EARLIER ( 'Table'[Nombrelicitación] )
        )
    )

     

    If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
    Best Regards,
    Winniz
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

2 Replies

  • v-kkf-msft's avatar
    v-kkf-msft
    Icon for Community Support rankCommunity Support

    Hi maricelgg ,

     

    Please create a new column:

     

    Column = 
    CALCULATE (
        MAX ( 'Table'[Nombre ganador] ),
        FILTER (
            'Table',
            'Table'[Nombrelicitación] = EARLIER ( 'Table'[Nombrelicitación] )
        )
    )

     

    If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
    Best Regards,
    Winniz
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.