Forum Discussion
Murphy
5 years agoFrequent Visitor
Creating a Slicer in a complex FY Calendar
Hello, The company I work for has a complex FY calendar which it just doesn't start in July but also the day it starts is based on a 4-4-5 weeks grouping into a month for that quarter. Just to e...
amitchandak
Super User
5 years agoMurphy , Try this for MTD, same way you can get QTD and ytd
var _min = minx(filter('Date', 'Date'[Date] = today()),[FY Month])
var _st = minx(filter('Date', [FY Month]= _min),[Date] )
return
calculate(sum(Table[Value]), filter(all('Date') 'Date'[Date] >=_st && 'Date'[Date] = Today()))
Change _min and _st
Murphy
5 years agoFrequent Visitor
Hi amitchandak
Other than making this as a measure am I able to make so I want this to be a dynamic filter?
Like i can put this as a filter and I can filter around MTD, QTD and YTD?