Forum Discussion

EaglesTony's avatar
EaglesTony
Post Prodigy
1 year ago
Solved

How do I get a value from another table based on a date range

Hi,     I have a table with multiple Date Ranges (table called "DateRanges"):   Column1    Cycle   CycleStartDate   CycleEndDate 2                 1          3/31/2022          4/13/2022 2     ...
  • divyed's avatar
    divyed
    1 year ago

    Hello EaglesTony ,

     

    Simple use Lookup between FinalTable and ReportTable to get the value :

     

    Cycle =
    LOOKUPVALUE(
        FinalTable [Cycle],        -- Column to return
        FinalTable [Key], ReportTable [Key] -- Matching Key from both tables
    )
     
    I have checked this with sample data :

     

     

    I hope this is what you are looking for .

     

    Did I solve your Query ? Please mark this as solution. Appreciate Kudos always

     

    Cheers