Forum Discussion

Kacper3's avatar
Kacper3
New Member
1 year ago
Solved

Data from previous years not appearing when filtering

My issue is the data is inaccurate when I filter by date. Context:  The report shows: The total won projects (This is based on dealstage = "Closed - Won") Total quotes submitted (I'm using th...
  • Kacper3's avatar
    1 year ago

    I managed to solve the issue. 

    I create a new column that will chose the relevant date. If the project has been closed - won, it will take the date from closedate column otherwise use original_quote_date. 

    Relevant_Date = 
    IF('result_deals'[dealstage] = "Closed - Won",
        'result_deals'[closedate],
        'result_deals'[original_quote_date]
    )


    I'm using the above column for filtering and using the relevant date column as the date slicer.