Forum Discussion
Issue with dates filters
- 7 years ago
Hi Anonymous ,
Your measure generates the following link:
https://app.powerbi.com/groups/6a4fa620-97e6-425b-ba79-1c9b9c209e68/reports/69ce2f6f-8fd7-4b5f-a758-98cbbb0064b6/ReportSectiond77d965cc24737ab52b1?filter=DIMSalesPerson/OfficeLocation eq 'USA' and DIMSalesPerson/City eq 'Seattle' and DIMShipper/ShipCompanyName eq 'United Package' and DIMProduct/CategoryName eq 'Dairy Products' and DIMSalesPerson/SalesPerson eq 'Davolio, Nancy' and DIMSalesPerson/SalesRegion eq 'WA' and Calendar/Date le 5/28/2017 and Calendar/Date ge 5/20/2015
According to Docs you are expected to use 'YYYY-MM-DD' or 'YYYY-MM-DDT00:00:00' date format:
https://docs.microsoft.com/en-us/power-bi/service-url-filters#date-data-types
I'd try changing date format.
Sergiy
Based on my test file how would you change the date parameters?
go to the browser, loging to Power BI and paste into the address string the following line then press Enter
https://app.powerbi.com/groups/6a4fa620-97e6-425b-ba79-1c9b9c209e68/reports/69ce2f6f-8fd7-4b5f-a758-98cbbb0064b6/ReportSectiond77d965cc24737ab52b1?filter=Time/Date le 2017-12-31 and Time/Date ge 2015-10-18
Will the report be filtered?
- Anonymous7 years agoNot applicable
sergiy
just typed the following in ad the report did not filter..
https://app.powerbi.com/groups/6a4fa620-97e6-425b-ba79-1c9b9c209e68/reports/69ce2f6f-8fd7-4b5f-a758-98cbbb0064b6/ReportSectiond77d965cc24737ab52b1?filter= Time/Date le 2017-12-31 and Time/Date ge 2014-01-23
- Sergiy7 years agoResolver II
you've entered one extra space symbol. Use this one:
https://app.powerbi.com/groups/6a4fa620-97e6-425b-ba79-1c9b9c209e68/reports/69ce2f6f-8fd7-4b5f-a758-98cbbb0064b6/ReportSectiond77d965cc24737ab52b1?filter=Time/Date le 2017-12-31 and Time/Date ge 2015-10-18
- Anonymous7 years agoNot applicable
i spotted that and it still is not working???
- Anonymous7 years agoNot applicable
message is "filter comes for query string parameter that was added to report URL"
- Sergiy7 years agoResolver II
what is about this one? :)
https://app.powerbi.com/groups/6a4fa620-97e6-425b-ba79-1c9b9c209e68/reports/69ce2f6f-8fd7-4b5f-a758-98cbbb0064b6/ReportSectiond77d965cc24737ab52b1?filter=Calendar/Date le 2017-12-31 and Calendar/Date ge 2015-10-18
- Sergiy7 years agoResolver II
you haven't got Time table in your! Model
You should change Time to Calendar.
https://app.powerbi.com/groups/6a4fa620-97e6-425b-ba79-1c9b9c209e68/reports/69ce2f6f-8fd7-4b5f-a758-98cbbb0064b6/ReportSectiond77d965cc24737ab52b1?filter=Calendar/Date le 2017-12-31 and Calendar/Date ge 2015-10-18