Forum Discussion
NipponSahore
Resolver II
10 years agoDrill by decade
Hi Guys, I'm quite new to PowerBI and i was wondering if there is any way to Drilldown an Year value by decade. I have a sample dataset of IMDB top 250 movies and want to drill down by decade, b...
v-caliao-msft
Microsoft Employee
10 years agoHi Nippon,
According to your description, you need way to Drilldown an Year value by decade, right?
If that is the case, you can create a column use the DAX below.
Decade = FLOOR(YEAR(Decade[Date])/10,1)*10&"-"&CEILING(YEAR(Decade[Date])/10,1)*10
Regards,
Charlie Liao
shinypurple
5 years agoFrequent Visitor
Good tip! worked for me 🙂