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

Reply
Jamesmathew
Helper I
Helper I

Paginated Report with parameter True/False

Hello Community,

         I am building a paginated report with Power BI dataset as Source. I am trying to add a parameter of type "Boolean". When I added this parameter, and run the report, it is giving me an error i.e., Function 'CONTAINSROW' does not support comparing values of type Text with values of type True/False. Consider using the VALUE or FORMAT function to convert one of the values. 

 

Error MessageError Message

I don't see any CONTAINSROW function in my query. Below is the screenshot of query Query.PNG

 

Can anybody help me with fixing the issue to add boolean datatype as parameter.

 

Below is the link to rdl file and pbix dataset

https://1drv.ms/u/s!AlTyyZ_9D_Wji1R3O3yougWplyrQ?e=ztyoVi 

 

Thanks

 

 

4 REPLIES 4
v-easonf-msft
Community Support
Community Support

Hi , @Jamesmathew 

Have you check the  Data Type of your Parameter?

2.png

 

I don't have much experience in SSRS. You can also post your question on sql-server-reporting-services forum  for professional help.

Best Regards,
Community Support Team _ Eason

Jamesmathew
Helper I
Helper I

Can anybody help me on this issue?

 

Hi, @Jamesmathew 

Could you please tell me whether your problem has been solved?
If yes, you could accept the helpful answer as solution. You also could share your own solution here. For now, there is no content of description in the thread. If you still need help, please share more details to us.

Best Regards,
Community Support Team _ Eason

@v-easonf-msft I did try using Boolean as a data type, it still gave me the same error.

 

As an interim solution, I changed the data type of the field to "Text" in Power bi dataset. 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.