Forum Discussion

dbrown2002's avatar
dbrown2002
Regular Visitor
2 years ago
Solved

Auto identifying month

Morning,   I have a report that provides various HR info, one of the reports is regarding leavers, my data is stored and connected via excel and at the minute anything where I want to see only this...
  • danextian's avatar
    2 years ago

    Hi dbrown2002 ,

     

    Add a month colum in your data either in DAX or M and use that to filter your visuals. Sample DAX calc column:

    Month =
    FORMAT ( 'table'[date], "mmmm" )
    

    The above column will return text strings and will be sorted alphabetically. Create another calc column to sort your month column by

    Month Sort =
    MONTH ( 'table'[date] )
    

    Please refer to this link for custom column sort - https://radacad.com/sort-by-column-in-power-bi