web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Hide/Show a column based on enum parameter in an SSRS Report

(0) ShareShare
ReportReport
Posted on by 390

Hey team,

I want to hide a column based on the Parameter value. The Parameter name is "ReportLevel" which is an enum with values "Customer" ,"Project", "Estimate". If the Parameter selected value = "Customer" then hide the ProjectId and Project Name field.

I used this expression the column visibility expression of ProjectId , but every time I use write this expression in the column visibility the report gets deployed but I get an error on my front end "Something went wrong while generating the report. Please try again." and when I remove this condition it works normally. Please can you help me resolve this issue. I want to hide the column based on the selected parameter

=iif(Parameters!ProjectEstimateMain_Report_Level.Value=0,false,true)

I have the same question (0)
  • Verified answer
    huijij Profile Picture
    19,811 on at

    Hi skd,

    Did you try this expression: =IIF(Parameters!ProjectEstimateMain_Report_Level.Value="Customer",false,true)

    regards

  • skd Profile Picture
    390 on at

    Yes, I tried but there is no change it does not hide the column.

  • skd Profile Picture
    390 on at

    HEy Judy Jee,

    It started working. Thank you!!!

  • huijij Profile Picture
    19,811 on at

    Hi skd,

    You're welcome!! Have a nice day!!!

    regards

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 664 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 522 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 303 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans