Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Calender function

Hello, I want that the calendar function creates a list of every month of eachyear between my min and max date and not a list of every day of each month of each year. Do you know how to do it pls? ...
  • Jihwan_Kim's avatar
    5 years ago

    Hi, Anonymous 

    I am not sure if I understood your question correctly, but please try something like below.

     

     

    Calendar Table =
    SUMMARIZE (
    ADDCOLUMNS (
    CALENDAR ( MIN ( Data[Date] ), MAX ( Data[Date] ) ),
    "month & year", FORMAT ( [Date], "MMM-YYYY" )
    ),
    [month & year]
    )

     

     

    Hi, My name is Jihwan Kim.

     

    If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.

     

    Linkedin: linkedin.com/in/jihwankim1975/

    Twitter: twitter.com/Jihwan_JHKIM