简体   繁体   中英

Power BI URL filter parameter - Date filter

I am new to using filter parameters in the source URL for power BI queries. I have successfully applied some fixed date filters, eg ?$filter = CURDATE ge 2022-01-01T00:00:00Z .

Can someone please help me defining the correct filter parameters for CURDATE greater or equal to (today-90 days), ie the filter parameter equivalent to ">= Date.AddDays(DateTime.FixedLocalNow(),-90)"

I need to apply the data in the URL as the source data is huge and server performance is poor whilst I GET the data from the server. Applying the filter in the URL reduces the size of the GET command.

If CURDATE is already configured as a date, you can simply go to Date Filters -> In the Previous:

在此处输入图像描述

And then define the period, for instance, previous 90 days:

在此处输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM