Forum Discussion
PowerBITestingG
4 years agoResolver I
Fill column with lookup minimum value
Hi all I have the following table: Company created date original date created by created by fix Google 1 1 john john Google 2 1 kim john Google 3 1 dum john Amazon...
- Anonymous4 years ago
Hi PowerBITestingG ,
I suggest you to create a calculated column by this code.
Create by fix = CALCULATE ( MAX ( 'Table'[created by] ), FILTER ( ALLEXCEPT ( 'Table', 'Table'[Company] ), 'Table'[created date] = 'Table'[original date] ) )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
4 years agoNot applicable
Hi PowerBITestingG ,
I suggest you to create a calculated column by this code.
Create by fix =
CALCULATE (
MAX ( 'Table'[created by] ),
FILTER (
ALLEXCEPT ( 'Table', 'Table'[Company] ),
'Table'[created date] = 'Table'[original date]
)
)
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.