Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Slicer

Hello all, I have a serious problem now. I have a data of                A     B      C      D      E January  2     53    34     15     56 Februar  3     63    94     75     86 March    4     3...
  • rbriga's avatar
    4 years ago

    Create a calendar table, or a year-month table if that's your smallest date granularity.

    It's best practice anyway, and it would yield a year-month field that's independent from the fact table.

    If you have no data for 3/2022, for example, your calendar table would still have that month.

     

    Create a relationship beytween 'Calendar'[Year-Month] and 'Data Table'[Year-Month].

    Use the 'Calendar'[Year-Month] in the slicer.

  • Anonymous's avatar
    Anonymous
    4 years ago

    Hey thanks for the  solution. That worked fine. I tried with a new dummy Excel sheet as you said and its working exactly. 

     

    I will accept this as a soluiton to my question. Once again Thankyou 🙂