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

Announcements

No record found.

News and Announcements icon
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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 681

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 448 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 218 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans