Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Date filter selection issue - graphs with different need

Hi,    I'm struggling to use a date slicer (Month and Year) to work properly with my different graphs.   1. I have a Date table, see below:   2. I have a Fact table with all transactions,...
  • Anonymous's avatar
    Anonymous
    6 years ago

    Thanks PaulDBrown . I tried a few approaches and managed to solve the issue with one table using disconnected Date-table and a measure to filter the original date table using selected value (A, below). However, I have several tables and graphs with different values (MTD, YTD, %-differences etc). If I would use the same approach for all tables I would need to re-create 50+ measures.

     

    I hoped that I could use a measure to filter a whole table (with several values). However, I didnt work as planned (B, below).

     

    A - My approach below (solution for one table with one value):

    -----------------------------------------------------------------

     

    1. Measure (all months in selected Month-Year)

    2. Result (selecting Aug 2019 and I get all months during 2019)

     

    B - My failed approach to use a measure filter to filter a whole table/graph with several values:

    ---------------------------------------------------------------------

    1. Using measure in the visual filter (returing 1 if table should show the corresponding MonthYears)

     

    I thought I could create a visual filter using a measure, where the measure return "1" if the MonthsYears are included in the selected set (same logic as before, selecting Aug2019 should return Jan-Dec during 2019 of MonthYear). However, I dont receive any values.

     

     

    Please let me know if you see any errors or have a smarter approach. Would too much work to create 50+ measures to filter some tables with 10+ values.

     

    Many thanks