Announcements
No record found.
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.
Thanks and Regards
rsingh
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.
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.
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
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.
As far as I know, the headers cannot come dynamically if you are talking about a form.
But in report, it will work.
Hi, Check this thread, if it helps you.
community.dynamics.com/.../label-change-at-runtime
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.
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.
Congratulations to our 2026 Super Stars!
Thanks to all of our 2025 Community Spotlight stars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
André Arnaud de Cal... 512 Super User 2026 Season 1
Giorgio Bonacorsi 386
Adis 259 Super User 2026 Season 1