Forum Discussion
Problem with DATESMTD
- Anonymous9 years ago
Your english is great!
*if* you calendar stopped at the end of May... this would work fine.
Ignoring that, you can add a calc column on your calendar table:
IsCurrentMonth = IF (MONTH(TODAY()) = MONTH(MyCalendar[Date]), TRUE(), FALSE())
Then set a filter on the card visual to IsCurrentMonth = TRUE ?
Actually... In case we are lucky... I assume your calendar table is going "into the future" -- it doesn't stop at THIS month. Could that be changed? In which case... your current MTD would magically work?
Thanks Scottsen, don't really understand your last reply. My Calendar table goes until 12/31/2017 so until the end of the year.
English is not my first language.
- Anonymous9 years agoNot applicable
Your english is great!
*if* you calendar stopped at the end of May... this would work fine.
Ignoring that, you can add a calc column on your calendar table:
IsCurrentMonth = IF (MONTH(TODAY()) = MONTH(MyCalendar[Date]), TRUE(), FALSE())
Then set a filter on the card visual to IsCurrentMonth = TRUE ?
- ContabilidadBI9 years agoHelper III
Thanks man, I learned a lot today!
- Anonymous2 years agoNot applicable
This worked for me, i just don't know why..
DATESQTD() and DATESTYD(,) worked fine...... why not month??