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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Dynamic Date as column label.

(0) ShareShare
ReportReport
Posted on by 53

I want to display dynamic dates as column label. Requirement is that I need to show previous six and next six weeks dates dynamically as column headers.

Refer to the screenshot for the details considering 12 sep as present date for this example.

6012.MicrosoftTeams_2D00_image-_2800_1_2900_.png 

Thanks and Regards

rsingh

I have the same question (0)
  • Suggested answer
    GirishS Profile Picture
    27,829 Moderator on at

    Hi rsingh,

    You can try column wise grouping with SSRS report.

    In DP class you can insert the date value to the field in the temp table. You can add that date value as group by in the column nodes.

    Thanks,

    Girish S.

  • Suggested answer
    Mohit Rampal Profile Picture
    12,565 Moderator on at

    Hi, Check this thread, if it helps you.

    community.dynamics.com/.../label-change-at-runtime

  • Suggested answer
    Bharani Preetham Peraka Profile Picture
    3,634 Moderator on at

    As far as I know, the headers cannot come dynamically if you are talking about a form.

    But in report, it will work.

  • Martin Dráb Profile Picture
    238,296 Most Valuable Professional on at

    It's possible, but it'll be more work, therefore consider if you have a stronger reason than mere "I want".

    One possible design in a form is using a temporary table (with fields for those twelve date columns), using it in a grid and changing field labels at runtime.

  • rsingh62 Profile Picture
    53 on at

    Hi Bharani and Martin, thank u for your response.

    Actually I want to know is it possible to design a form like this(as in added  screenshot) instead of report ?

    The requirement is that I want to add dynamic dates as column label(header) in form.

    Thanks

  • Martin Dráb Profile Picture
    238,296 Most Valuable Professional on at

    If you want it in a report, you can do it quite easily with the matrix control. It would be the right tool for this purpose.

  • Suggested answer
    Bharani Preetham Peraka Profile Picture
    3,634 Moderator on at

    Dynamic dates where? In the report? If yes, then you can add those columns in the report and you can write code for that in dp class and set the column visibility.

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

News and Announcements

Season of Giving Solutions is Here!

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
Abhilash Warrier Profile Picture

Abhilash Warrier 843 Super User 2025 Season 2

#2
André Arnaud de Calavon Profile Picture

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

#3
Martin Dráb Profile Picture

Martin Dráb 325 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans