Forum Discussion
Get related record info in same table
- Anonymous2 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 KongIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi jja ,
Maybe you can try formula like below to create calculated column:
FailedSuvirinimoPatikraEmployee =
VAR InspectionStage = 'new_transactions'[Inspect stage]
VAR DarboTipoNuoroda = 'new_transactions'[Darbo tipo nuoroda]
RETURN
IF(
InspectionStage = "suvirinimas" && DarboTipoNuoroda = "suvirinimo patikra" && '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.
Anonymous
In this case i want to return not that Employee who made "suvirinimo patikra" but emploee who made suvirinimas and the inspecting emploee found it failed. So in this case regarding data i sent it should return 030. Maybe it is easier to add some calculated column and in the original record add that it failed. Like i have failed inspection and then i need to find the original record and put there failed also?
- Anonymous2 years agoNot applicable
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 KongIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.