Forum Discussion
tebtim19
5 years agoHelper IV
Date Sortfo
Is anyone here know how to sort date for my slicer. Doesn't look like sorted
- Anonymous5 years ago
Anonymous
5 years agoNot applicable
tebtim19
5 years agoHelper IV
Its a calculated table
Dates =
ADDCOLUMNS (
CALENDAR ( DATE ( 2012, 1, 1 ), DATE ( 2021, 12, 31 ) ),
"Year", YEAR ( [Date] ),
"Month", FORMAT ( [Date], "MMMM" ),
"Month #", MONTH ( [Date] ),
"Year Month", YEAR ( [Date] ) & " " & FORMAT ( [Date], "MMMM" ),
"Year Month #", YEAR ( [Date] ) * 100 + MONTH ( [Date] )
)
- Anonymous5 years agoNot applicable
- tebtim195 years agoHelper IV
Hi Thank you this solve my problem.
I have one more thing to ask.
I am trying to get the total number of male current employees.
Males = COUNTROWS(FILTER('SAP Table'[Gender] = "Male"))But everytime I filtered it with my year month slicer it doesn't seems to work.I need to this so I could also get the Average of Male. Hopw you can help- Anonymous5 years agoNot applicable
Hello tebtim19 ,
Try this
males = CALCULATE(COUNTROWS(FILTER(SAP Table,SAP Table[Gender]="Male")),ALLSELECTED(Dates[Year Month]))