Forum Discussion

jja's avatar
jja
Icon for Helper III rankHelper III
2 years ago
Solved

Get related record info in same table

Hi I have this tructure in my table new_transactions What user do they inspect some work done in this case it is recorded in G column as "suvirinimo patikra" and insoect stage in column U is recor...
  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi jja ,

     

    Try below:

    FailedSuvirinimoPatikraEmployee = 
    VAR InspectionStage = 'new_transactions'[Inspect stage]
    VAR DarboTipoNuoroda = 'new_transactions'[Darbo tipo nuoroda]
    RETURN
        IF(
             DarboTipoNuoroda = "suvirinimas" && InspectionStage <> "suvirinimas" &&  'new_transactions'[Inspect type] <> "failed",
            'new_transactions'[Darbuotojo nuoroda],
            BLANK()
        )
    

     

     

    Best Regards,
    Adamk Kong

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.