Forum Discussion
nick9one1
Helper III
3 years agolookup boolean value from another table
I have two tables and using this DAX to import values from one table to the other; (this works) Total Rooms =
CALCULATE(
MAX('Lettings Fact_SPVDetails_Summary'[TotalRooms]),
FILTER(
...
- 3 years ago
Hi, nick9one1
I simulated some data to restore your problem, you can use the lookupvalue formula to see the boolean value.
Total Rooms = LOOKUPVALUE ( 'Lettings Fact_SPVDetails_Summary'[TotalRooms], 'Lettings Fact_SPVDetails_Summary'[SPV], [SPV], 'Lettings Fact_SPVDetails_Summary'[Academic_Year], [Academic_Year] )LOOKUPVALUE function (DAX) - DAX | Microsoft Learn
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
FreemanZ
Super User
3 years agohi nick9one1
try to use LOOKUPVALUE, like this:
Nominated =
LOOKUPVALUE(
'Lettings Fact_SPVDetails_Summary'[Nominated],
'Lettings Fact_Lettings_Summary'[SPV],
[SPV],
'Lettings Fact_Lettings_Summary'[Academic_Year],
[Academic_Year]
)
if the two tables are connected one-many, this shall be enough:
Nominated = RELATED('Lettings Fact_SPVDetails_Summary'[Nominated])