Forum Discussion
Date
- 4 years ago
Hi Anonymous ,
The DAY() function returns the day for each month:
Would it solve your issue by using a filter like "DAY ( Date[Date] ) <= 8"? 🙂
/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/
Hey Tom,
That worked perfectly thank you!
My next question is, i want to put this into a line graph and want to make it so that it will show the first 8 days of say April now but next month i would want it to automatically update to May is that possible?
Thansk,
Jon
- tackytechtom4 years ago
Most Valuable Professional
Hi Anonymous ,
It should be possible to build this into your measure. You could create a variable where you fetch the current month like VAR _currentMonth = MONTH ( TODAY() ). After you could use it to filter your measure with that VAR.
Sometimes it is easier though to use the filter pane on the visual directly:
This one would also change each month.
If either of the two solutions helped you, you can mark them as solution so it will be easier for others to find it 🙂/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/- Anonymous4 years agoNot applicable
Perfect thats got it!
Thank you so much!