SSRS Interview Questions - What should be the data type for Radio Button Parameter Type in SSRS Report

To create Radio Button Parameter in SSRS Report, The data type should be set to boolean for Parameter.


After writing the query for your report by using bit type column, you have to go to Parameter properties and then set the Parameter data type to boolean to show Radio Buttons, Otherwise you will see a text box for parameter value.

Query for report with Single Value parameter, remember IsActive is Bit type Column in table.



SELECT *
FROM dbo.TotalSale
WHERE IsActive = @Param_IsActive

Text Box will show up as we have not set the Parameter Data Type to Boolean


Let's go ahead and change the Data type of Param_IsActive Parameter to Boolean



Run the report and you will see now you have Radio Button Parameter. 



2 comments:

  1. When SSRS pass multiple values to parameter, it separate them by comma ( ,). We need to replace the comma with single quotes and vidmate comma as you can see in highlighted code.

    ReplyDelete
  2. NCERT Chemistry Solutions 2023 for Class 12 Pdf Chapter Wise Helps Students Prepare and eventually adjust to the Increased load of Chapters and Topics, by Clearing their Doubts from the very basics. NCERT 12th Class Solutions 2023 for Chemistry NCERT Chemistry Solutions 2023 for Class 12 Providing the Download Latest Edition you can Download Pdf Format NCERT Chemistry Solutions 2023 for Class 12 are Prepared by Subject Experts, Solutions 2023 are prepared detailed, step by step for all Questions 2023 in Text Book Solutions 2023 for quick Understanding and easy access. NCERT Class 12 Chemistry Books Solutions 2023.

    ReplyDelete