Forum Discussion
Calculate column value based on reference table in another table
- Anonymous2 years ago
Hi,
Thanks for the solution ManuelBolz provided, and i want to offer some more infotmation for user to refet to.
hello FJ2017 , you can create a calculated column in data table.
Column = MAXX ( FILTER ( 'Lookup_table', [Siza(sq.m)] <= EARLIER ( 'Table'[Size(sq.m)] ) && [Type] = EARLIER ( 'Table'[Property Type] ) ), [Size Category] )Ouptut
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Dear Manuel
Thanks for offering your help on this. I attach som example data to explain the expected function.
Does this help ?
Regards
Hi,
Thanks for the solution ManuelBolz provided, and i want to offer some more infotmation for user to refet to.
hello FJ2017 , you can create a calculated column in data table.
Column =
MAXX (
FILTER (
'Lookup_table',
[Siza(sq.m)] <= EARLIER ( 'Table'[Size(sq.m)] )
&& [Type] = EARLIER ( 'Table'[Property Type] )
),
[Size Category]
)
Ouptut
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- FJ20172 years agoRegular Visitor
Thanks Anonymous , this worked perfect in it's most simple way without extensive coding. Much appreciated and have a nice day.