Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Dear Experts,
In My report i kept date is a relative date filter on report level and use to fetch last 14 months and data is not fetching for Current mpnth last date inn cureent month and when I kept is in this month and getting only current month but I need to achive last 14 months + Current month last date.
I would like to achive date range on relativedate fileter 10/1/2019 to 12/31/2020.
Please suggest a solution on this.
Thanks & Regards,
Venkat.
Solved! Go to Solution.
Hi, @basirve
As a workaround you can try to create codes as below:
Measure:
Begindate = EDATE(DATE(YEAR(TODAY()),MONTH(TODAY()),1),-14)
Enddate = EDATE(DATE(YEAR(TODAY()),MONTH(TODAY()),1),1)-1
(As of now,we can't use measure value in Page Level Filter. This feature is not supported yet. You can review this feature request and vote it)
So here we create a page filter control using calculated column rather than measure:
flag =
IF ( Table1[Date] >= [Begindate] && Table1[Date] <= [Enddate], 1, 0 )
Then apply it to page filter pane:
Ps.Since we are using a calculated column, it is recommended to refresh the report manually every time you open the report to ensure that the data in the calculated column is timely.
Best Regards,
Community Support Team _ Eason
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @basirve
As a workaround you can try to create codes as below:
Measure:
Begindate = EDATE(DATE(YEAR(TODAY()),MONTH(TODAY()),1),-14)
Enddate = EDATE(DATE(YEAR(TODAY()),MONTH(TODAY()),1),1)-1
(As of now,we can't use measure value in Page Level Filter. This feature is not supported yet. You can review this feature request and vote it)
So here we create a page filter control using calculated column rather than measure:
flag =
IF ( Table1[Date] >= [Begindate] && Table1[Date] <= [Enddate], 1, 0 )
Then apply it to page filter pane:
Ps.Since we are using a calculated column, it is recommended to refresh the report manually every time you open the report to ensure that the data in the calculated column is timely.
Best Regards,
Community Support Team _ Eason
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@basirve , with relative dat slicer that is not possible.
refer this approch https://www.youtube.com/watch?v=duMSovyosXE
to default on end date of month follow the approch https://www.youtube.com/watch?v=hfn05preQYA
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
115 | |
99 | |
86 | |
70 | |
62 |
User | Count |
---|---|
151 | |
120 | |
103 | |
87 | |
68 |