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 :
Microsoft Dynamics AX (Archived)

How to Hide Columns in Report based on condition

(0) ShareShare
ReportReport
Posted on by

Hi,

I have an report which shows list of employee now i want ot hide few columns base on the parameters i give my parameters are to date and from date if it is one qtr (From and to date) then hide certain columns else if From and two dates are more than one Qtr the don't hide

*This post is locked for comments

I have the same question (0)
  • Martin Dráb Profile Picture
    237,996 Most Valuable Professional on at

    You can simply set AutoDeclaration=Yes on you columns (report controls) and call visible(false) (based on your conditions) in the init() method of the report.

  • Community Member Profile Picture
    on at

    hi martin,

    in my report i have used Proggrammable  section which contain my all fields init.

    my query is when i enterd From and To date in Parameters i need to find whether it  is one Quater or More eg: From date : 01/04/10 Todate :30/06/10 if it is one qtr to and from date then i don't want some feilds to display else if From date : 01/04/10 Todate :31/12/10 then i want all to display

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Priya_K Profile Picture

Priya_K 4

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans