Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Single Date Slicer for Multiple Dates on Visual

Hello!   I have one table that contains 9 columns, 7 of which are dates. They are dates of an enrolment process. I need to create a visual (bar chart) that shows the count of the dates for each col...
  • parry2k's avatar
    parry2k
    6 years ago

    Anonymous this is what you need to do, which will take care of everything.

     

    Unpivot your table, in query editor, select your school column and right click, and select upivot other columns

     

    It will add two column, one attribute which will be your category and other column value which will be your dates

     

    Apply the changes, add calendar dimension in your model (many blog posts are there).

     

    On bar chart, use date/month/year on x-axis from calendar table, legend will be your attribute and value will be count of rows from your table.

     

    Now you can slicer and dice the data by date or by category.