Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
139068
Regular Visitor

Date comparison of parameter in Paginated Report

Hi.  I have a simple paginated report against a dataset.  I created a query parameter against a date field in the dataset.  I set a filter on the dataset to filter the result set such that the report will bring back data where the date field in the dataset is equal to the date selected in the parameter.  The report works fine.  But when I change the dataset filter  from '=' to something like '<' or '>' , the report is always empty even though there is data for prior and later months.  I added the date field and the parameter to the report just so I can see what is being compared, and it looks fine.  The parameter shows '6/30/2022 12:00:00 AM', and the date field shows as '6/30/2022 12:00:00 AM'.  Hence, they look the same to me, but if I change the filter to anything other than '=' the result set is empty.  The parameter is defined as date/time, and the date field in the data set is defined as date.  I thought maybe I need to redefine it as date/time in the dataset, but it works for the filter set to '='.  Any ideas?  This sounds simple but frustrating.

2 REPLIES 2
139068
Regular Visitor

@amitchandak thanks for the response and the video link.  However, is there a way to do this without having to create a PBI report to pass dates to the paginated report?  i.e, can't the paginated report itself be set up such that the user selects the date in the dropdown?  It works for me this way when the filter is set to =, but not when I change the filter from = to < or to >.  Thanks

amitchandak
Super User
Super User

@139068 ,

refer if this can help

Create a date range parameter with Power BI Paginated Reports

https://www.youtube.com/watch?v=v79MjJZoIZg

Helpful resources

Announcements
Fabcon_Europe_Social_Bogo

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.