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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

0

Report blank when using parameters

Hello everyone!

 

I'm working with PBI Paginated Reports in Report Builder.

I'm creating a report that uses 3 parameters: StartDate, EndDate and Type (as a dropdown list from a dataset).

 

The report works fine on the desktop, it shows all the information once given the parameters. I'm using an ODBC connection for this report.

However, when I publish the report to my Premium workspace, the report returns no data

After some research, I figured out this happens when I'm using the parameters. If I remove the parameters from the report, the data loads simply fine. 

 

Any idea how to fix this?

Status: Delivered
Comments
forantes
New Member

I just realized the issue with parameters is for the ones that are dates 😪 

 

Leaving the Type parameter only, works fine on the workspace

forantes
New Member

I FIXED THIS!!!!

 

I found this article --> Using Date Pickers in Power BI Report Builder (coeo.com)

 

Basically, In the tab for Parameters into the DataSet Properties, the ones using DateTime picker, I added the following function 

forantes_0-1658506601378.png

=Format((Parameters!<your_parameter_name>.Value), "yyyy-MM-dd")

 

It worked! 🌟

Anonymous
Not applicable

Hi @forantes 

I am so glad to hear that you have fixed your issue . I will change the status to "Delivered" so that other users who have same issues can deal with their issues through your method .

 

Best Regards,
Community Support Team _ Ailsa Tao

This widget could not be displayed.