Forum Discussion
Anonymous
6 years agoNot applicable
monthwise previous year data on line chart
Hi everyone, Hope you guys are doing great. I am new to POWER BI, I want to implement one thing that if i have admissions data that contains admission ID and a DATE Column that contains date in t...
- 6 years ago
Hi Anonymous ,
You could create a measure and add it in the filter pane.
Measure = var a = DATEDIFF(SELECTEDVALUE('Table'[Date]),TODAY(),MONTH) return IF(a<=12,1,0)Then set the rule to show the result whose measure is 1.
amitchandak
Super User
6 years agoIf you date has been detected as date you can use relative date slicer
https://docs.microsoft.com/en-us/power-bi/visuals/desktop-slicer-filter-date-range
I am hosting a webinar on 25th April on Power BI, Check Details - https://www.linkedin.com/posts/amitchandak78_webinar-tech-techforgood-activity-6658266754378231808-ye5L