Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

Dynamic Columns via Slicer Selection for Dates

Hi,   I have seen several other posts covering things that seem similar but ultimately are different.   I have an interval filter which isn't tied to anything: - Day - Week - Month - Year   ...
  • Anonymous's avatar
    Anonymous
    7 years ago

    Thank you yulgu. I actually found a way to somewhat do this. Essentially, creating a date table using

     

     

    Union(
    SelectColumns("Selections", Column1forDays, "Order", 1, "Category", "Days"),
    SelectColumns("Selections", Column2forWeeks, "Order", 2, "Category", "Weeks"),
    etc for months, years

     

     

    Then making a primary filter on Category (Days, Weeks, Months, Years from the above).

    And a secondary filter on Selections from the above.

     

    The only remaining issue is solving for slicer cross-filtering as once something in the Selection slicer category is selected, it limits the category selections accordingly. I found I can solve this by making the primary filter a table and setting it to ignore the selection slicer via edit interactions. However, that solution isn't very elegant.