Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7496459
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T18:37:19+00:00 2026-05-29T18:37:19+00:00

I am using SSRS 2008 with a tablix. I want to make one of

  • 0

I am using SSRS 2008 with a tablix. I want to make one of my rows visible, when field value = 1 and invisible when this value = 0. How do I configure this? Right now I right-clicked teh row and entered the field value for the expression. Then I said “= 1″ for visible. I’ve also tried: =”1” (text), true, “true”.

But all of these result in the row always appearing, regardless if it is 1 or 0. This is an integer field value. How to rewrite the expression to make this row visible or invisible depending on the value?

I think the problem now is the T-SQL and not SSMS. Currently, it returns these records on separate rows. Instead I think I need all of these values on just one row so that all of these values can appear in the table at one time. How could I rewrite this snippet to return the same information on just one line?

CASE WHEN [test_details].[test_setup_details_caption] LIKE '%?%' 
      THEN LEFT([test_details].[test_setup_details_caption],CHARINDEX('?',[test_details].[test_setup_details_caption]))
      ELSE [test_details].[test_setup_details_caption] END [test_setup_details_caption],
      [test_details_answers_expanded_view].[test_setup_answers_value],
      CASE WHEN [test_details].[test_setup_details_caption] in ( 'Self-Harm', 'Suicidal Ideations / Attempts')
            AND [test_details_answers_expanded_view].[test_setup_answers_value] >0 THEN 1 ELSE 0 END AS [Self_Harm_Flag],
      CASE WHEN [test_details].[test_setup_details_caption] in ( 'Substance Abuse / Drug Use')
            AND [test_details_answers_expanded_view].[test_setup_answers_value] >0 THEN 1 ELSE 0 END AS [Drug_Use_Flag],
      CASE WHEN [test_details].[test_setup_details_caption] in ( 'Homicidal Ideations / Attempts')
            AND [test_details_answers_expanded_view].[test_setup_answers_value] >0 THEN 1 ELSE 0 END AS [Homicidal_Falg],
      CASE WHEN [test_details].[test_setup_details_caption] in ( 'Runaway Behavior')
            AND [test_details_answers_expanded_view].[test_setup_answers_value] >0 THEN 1 ELSE 0 END AS [Runaway_Flag],
      CASE WHEN [test_details].[test_setup_details_caption] in ( 'Problem Sexual Behavior', 'Inappropriate Sexual Behavior')
            AND [test_details_answers_expanded_view].[test_setup_answers_value] >0 THEN 1 ELSE 0 END AS [Sexual_Bx_Flag],
      CASE WHEN [test_details].[test_setup_details_caption] in ( 'Gang Involvement')
            AND [test_details_answers_expanded_view].[test_setup_answers_value] >0 THEN 1 ELSE 0 END AS [Gang_Flag]
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T18:37:22+00:00Added an answer on May 29, 2026 at 6:37 pm

    You are setting the expression for: Hidden, correct? Try:

    =IIf(Parameters!value.Value = 1, False, True) ' Note: Setting Hidden to False will make the row visible
    

    You may want some other logic since you refer to “one of my rows” not all of them

    =IIf((Parameters!value.Value = 1) And (RowNumber(Nothing) = 5), False, True) ' Only applies to row # 5
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using SSRS 2008 to make something for label printing. I want to make
I am using SSRS 2008. Now I am trying to SUM one of the
Using SSRS BIDS 2008 to create a Pie Chart in one of my reports.
I need to modify a report in SSRS 2008 that displays a value using
I am using SSRS 2008 and am trying to write a summary expression: =iif(Fields!contact_type.Value
I am using SSRS 2008. I am hiding some of the rows based on
Please look at this ss I am using SSRS 2008 + pulling data from
I'm using SSRS 2008 (NOT R2) I have a report deployed to a dev
I'm trying to access list data using SSRS 2008. I have created an XML
I am using BIDS and SQL Server Reporting Services (SSRS) 2008 R2 to build

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.