Forum Discussion
lmcpinto
3 years agoFrequent Visitor
Calculated column
Hello everyone, I have a doubt. I need the following, if column 3 has event "Envio de Comunicação", then in column Is Comunicação, it should appear "Envio de Comunicação" for all the ids that have t...
- Anonymous3 years ago
Hi lmcpinto ,
You can create a calculated column by below code.
Is Comunicação = VAR _LIST = CALCULATETABLE ( VALUES ( 'Table'[Column3] ), ALLEXCEPT ( 'Table', 'Table'[Column1] ) ) RETURN IF ( "Envio de Comunicação" IN _LIST, "Envio de Comunicação", " Não Envio de Comunicação" )Result is as below.
Best Regards,
Rico ZhouIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
3 years agoNot applicable
Hi lmcpinto ,
You can create a calculated column by below code.
Is Comunicação =
VAR _LIST =
CALCULATETABLE (
VALUES ( 'Table'[Column3] ),
ALLEXCEPT ( 'Table', 'Table'[Column1] )
)
RETURN
IF (
"Envio de Comunicação" IN _LIST,
"Envio de Comunicação",
" Não Envio de Comunicação"
)
Result is as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- lmcpinto3 years agoFrequent Visitor
Thank you!!!!!