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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Juuls
Frequent Visitor

Conversion error when applying filter

Hi all,

 

Currently I am facing an error in Power BI which is as follows:

Juuls_0-1707119077606.png

I get this error whenever I apply a filter on a table. The table does not cause any error in SQL, which is why I am confuzed why this happens and I cannot seem to fix it. The table looks as below data wise:

Juuls_1-1707119314818.png

 

The DDL is:

Juuls_2-1707119337885.png

Whenever I do not select all values in the filter, the error arises.

Juuls_3-1707119387739.pngJuuls_4-1707119411793.png

I hope someone can guide me into the right direction to fix this issue.

Thanks in advance!

 

Best Regards,

 

Juul

1 ACCEPTED SOLUTION

Hi @Juuls ,

 

Just for a test try to change the format of that column to a Text format instead of date time and see if still get the error? What I believe can be happening is the local settngs being inconsistent with SQL so instead of having dd/mm/yyyy you arwe getting mm/dd/yyyy (for example) that leads to errors in conversion.


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



View solution in original post

5 REPLIES 5
Juuls
Frequent Visitor

Hi all,

 

Thanks for the replies!

I have checked the format, since I am indeed using direct query, however without success.

Both the SQL data type als the data type in Power BI are set to Date time, but still the error arrises as soon as I filter a value in the table. Are there any other options to troubleshoot this?

Thanks once more for your help.

 

Best Regards,

 

Juul

Hi @Juuls , how are you with your issue? Could you solve it? If possible, could you have a look at my current problem? Here you have the link https://community.fabric.microsoft.com/t5/Power-Query/Power-Query-Date-Parameter-Binding-to-my-Direc....

Thanks in advance.

Hi @Juuls ,

 

Just for a test try to change the format of that column to a Text format instead of date time and see if still get the error? What I believe can be happening is the local settngs being inconsistent with SQL so instead of having dd/mm/yyyy you arwe getting mm/dd/yyyy (for example) that leads to errors in conversion.


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Anonymous
Not applicable

Hi @Juuls 

 

If the values of font column have some Special characters?

Or if your connection mode is direct query or live connection?

You should ensure that the data types for date and/or time fields are consistent both in your SQL database and Power BI. If there’s any discrepancy, it could lead to conversion errors.

 

Best Regards,

Zhengdong Xu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

MFelix
Super User
Super User

Hi @Juuls ,

 

What type of data does the field has in Power BI? is it text or you did not define it? Try to force the format of the field in Power Query.


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.