Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. SSRS Table row should be visible and Invisible based on Input parameter

SSRS Table row should be visible and Invisible based on Input parameter

Scheduled Pinned Locked Moved ASP.NET
sql-server
8 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    siddisagar
    wrote on last edited by
    #1

    I have one table with two rows in tables 1. Employee Details 2. Employee History Details Depending on my input parameter I have to show only one row and other I have to show to make hide if @hisId=0 then I have to show Tablerow1 if @hisId=1 then I have to show Tablerow2 Kindly Tell me solution.

    N N 2 Replies Last reply
    0
    • S siddisagar

      I have one table with two rows in tables 1. Employee Details 2. Employee History Details Depending on my input parameter I have to show only one row and other I have to show to make hide if @hisId=0 then I have to show Tablerow1 if @hisId=1 then I have to show Tablerow2 Kindly Tell me solution.

      N Offline
      N Offline
      Not Active
      wrote on last edited by
      #2

      You can't hide individual rows but you can filter the dataset so only the required rows are rendered


      I know the language. I've read a book. - _Madmatt

      1 Reply Last reply
      0
      • S siddisagar

        I have one table with two rows in tables 1. Employee Details 2. Employee History Details Depending on my input parameter I have to show only one row and other I have to show to make hide if @hisId=0 then I have to show Tablerow1 if @hisId=1 then I have to show Tablerow2 Kindly Tell me solution.

        N Offline
        N Offline
        nainakarri
        wrote on last edited by
        #3

        You can go to properties of each row and give validation there. Rightclick row->properties->visibility->Expression. There give the validation for each row seperately. (I mean this u need to do seperately for each row)

        =IIF((Parameters!hisid=0,false,true) //this is for tablerow1
        =IIF(Parameters!hisid=1,false,true) //this is for tablerow2

        Naina

        Naina

        N 1 Reply Last reply
        0
        • N nainakarri

          You can go to properties of each row and give validation there. Rightclick row->properties->visibility->Expression. There give the validation for each row seperately. (I mean this u need to do seperately for each row)

          =IIF((Parameters!hisid=0,false,true) //this is for tablerow1
          =IIF(Parameters!hisid=1,false,true) //this is for tablerow2

          Naina

          Naina

          N Offline
          N Offline
          Not Active
          wrote on last edited by
          #4

          The rows in a ssrs table are rendered dynamically based on the dataset assigned, you can't control the individual table rows in this way.


          I know the language. I've read a book. - _Madmatt

          N 1 Reply Last reply
          0
          • N Not Active

            The rows in a ssrs table are rendered dynamically based on the dataset assigned, you can't control the individual table rows in this way.


            I know the language. I've read a book. - _Madmatt

            N Offline
            N Offline
            nainakarri
            wrote on last edited by
            #5

            But i have implemented the same.

            Naina

            S 1 Reply Last reply
            0
            • N nainakarri

              But i have implemented the same.

              Naina

              S Offline
              S Offline
              sashidhar
              wrote on last edited by
              #6

              You may have done for values in the row not for the complete one..! Tht guy is asking for complete Row..! Just think it you will find the solution.

              LatestArticle :Log4Net Why Do Some People Forget To Mark as Answer .If It Helps.

              N 1 Reply Last reply
              0
              • S sashidhar

                You may have done for values in the row not for the complete one..! Tht guy is asking for complete Row..! Just think it you will find the solution.

                LatestArticle :Log4Net Why Do Some People Forget To Mark as Answer .If It Helps.

                N Offline
                N Offline
                nainakarri
                wrote on last edited by
                #7

                Does 2 rows in table mean "In SSRS 2 rows in a single table" If so as per my knowledge i have worked on this kind of scenario of hiding rows based on parameter value as i have mentioned in my first post.

                Naina

                N 1 Reply Last reply
                0
                • N nainakarri

                  Does 2 rows in table mean "In SSRS 2 rows in a single table" If so as per my knowledge i have worked on this kind of scenario of hiding rows based on parameter value as i have mentioned in my first post.

                  Naina

                  N Offline
                  N Offline
                  Not Active
                  wrote on last edited by
                  #8

                  I doubt that very much. Prove it. Show an application of it or write an article.


                  I know the language. I've read a book. - _Madmatt

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups