Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
9 years ago
Solved

If contains function with a filter

Hi, I've got a holiday table with dates (like xmas) which is an import of SQL and I've got a own created date table (with weekdays, month, date from Date Dimension table). Now I want to know which...
  • dedelman_clng's avatar
    9 years ago

    Try

     

    Holiday =
    IF (
        CONTAINS (
            FILTER ( CalendarEntry; CalendarEntry[ModifiedBy] = "German" );
            CalendarEntry[StartTime]; 'Date'[Date]
        );
        "Yes";
        "No"
    )

     

    Hope this helps
    David