- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Multiple lookup
Hi
I am relatively new back to using DAX and come up against my first conundrum. I have two tables, table one being a fact table with a 'Date' column and 'Name' column, then a lookup table with 'Name' 'Start Date' and 'End Date'.
What Im looking for is to create a column on the fact table that both looks up on the lookup table for a row that matches the 'Name' and the 'Date' is between the 'Start Date' and 'End Date' and returns something like match and no match.
Can someone provide some support with this?
Thanks in advance!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

CalculatedColumn=IF(COUNTROWS(FILTER(LookupTable,LookupTable[Name]=Table[Name]&&LookupTable[Start Date]<=Table[Date]&&LookupTable[End Date]>=Table[Date])),"Match","No Match")
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

CalculatedColumn=IF(COUNTROWS(FILTER(LookupTable,LookupTable[Name]=Table[Name]&&LookupTable[Start Date]<=Table[Date]&&LookupTable[End Date]>=Table[Date])),"Match","No Match")
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Helpful resources
Subject | Author | Posted | |
---|---|---|---|
03-03-2025 05:11 AM | |||
01-22-2025 11:27 AM | |||
02-24-2025 11:19 PM | |||
12-16-2024 06:38 AM | |||
11-21-2023 05:01 AM |