Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!View all the Fabric Data Days sessions on demand. View schedule
Hi,
I’m working on filtering a report (embeded report) by passing tableName, columnName, and values in URL and setting filters when rendering the report.
Questions:
Note : I'm not using ?filter query instead taking params and setting the filters during report render
Solved! Go to Solution.
@PoovigaS Please refer the below documentation on how to filter for dates using the url
https://learn.microsoft.com/en-us/power-bi/collaborate-share/service-url-filters#date-data-types
OData V4 format: filter=Table/Date gt 2019-05-20
OData V3 format: filter=Table/Date gt datetime'2019-05-20T00:00:00'
Appreciate a Kudos !
Thanks,
Jai
Proud to be a Super User! | |
I'm embedding a Power BI report in a custom application and applying filters via URL parameters — not using the ?filter query string directly. I parse the parameters and apply filters during report rendering using the Power BI JavaScript API.
Filtering works fine for text columns, but I'm having trouble applying filters to date columns. Here's what I've tried:
Any insights or suggestions would be greatly appreciated!
What' not working:
1) ?table=Agent Status&column=Agent Date&values=2025-09-02,2025-09-06&type=date-range
2) ?table=Agent Status&column=Agent Date&values=datetime'2025-09-02T00:00:00',datetime'2025-09-06T00:00:00'&type=date-range
What's working:
?table=Agent Status&column=Agent Name&values=CSR - Ashamad
@PoovigaS Please refer the below documentation on how to filter for dates using the url
https://learn.microsoft.com/en-us/power-bi/collaborate-share/service-url-filters#date-data-types
OData V4 format: filter=Table/Date gt 2019-05-20
OData V3 format: filter=Table/Date gt datetime'2019-05-20T00:00:00'
Appreciate a Kudos !
Thanks,
Jai
Proud to be a Super User! | |
Hi @PoovigaS ,
Based on the information, it appears you are utilizing a date range slicer along with a measure to count records within the selected date range. The card visual is returning a count of 3, which indicates that your DAX measure is functioning correctly and the model is filtering data according to the slicer selection.
If your measure is similar to:
CountWithinRange = COUNTROWS(YourTable)
or uses CALCULATE, it should be capturing the slicer context appropriately. In Power BI, applying a date column to a slicer will filter visuals using that field automatically, unless the filter context is explicitly removed.
If you are implementing more advanced logic, such as comparing two date fields or requiring dynamic date filtering, please share the specific DAX formula you are using. This will allow us to review and suggest any necessary improvements.
Please let me know if you encounter any discrepancies in the counts or if the measure does not respond as expected to slicer changes. I am available to assist further.
Please find the attached PBIX and Screenshort file for your reference.
Best Regards,
Tejaswi.
Community Support
Hi @PoovigaS ,
I wanted to follow up and see if you had a chance to review the information shared. If you have any further questions or need additional assistance, feel free to reach out.
Thank you,
Tejaswi.
Hi @PoovigaS ,
Just checking in have you been able to resolve this issue? If so, it would be greatly appreciated if you could mark the most helpful reply accordingly. This helps other community members quickly find relevant solutions.
Thank you.
Hi @PoovigaS ,
I hope the information provided has been useful. Please let me know if you need further clarification or would like to continue the discussion.
Thank you,
Tejaswi.
@PoovigaS You can find the support date formats here: Filter a report using query string parameters in the URL - Power BI | Microsoft Learn
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!