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 to add dynamic columns in SSRS report

(0) ShareShare
ReportReport
Posted on by 30

Dear All,

As per customer requirement I need to add dynamics columns in SSRS report.
Please give me more shed on this.

Thanks!

Arpan Sen

*This post is locked for comments

I have the same question (0)
  • @rp@n Profile Picture
    30 on at

    Thanks Crispin

    I think this is not a proper way to do. Shall i do by Matrix?

    Thanks!

    Arpan Sen

  • @rp@n Profile Picture
    30 on at

    Thank u np.

  • Martin Dráb Profile Picture
    237,880 Most Valuable Professional on at

    If you need some help from us, you should first explain what you mean by "dynamic"? Assuming you want to add extra column based on some logic, what the logic would be?

  • Suggested answer
    Community Member Profile Picture
    on at

    Dear Arpan,

      You better try with LayoutTemplate. it may work

    Report-Layout.JPG

    Thanks,
    Suresh

  • @rp@n Profile Picture
    30 on at

    Thanks Suresh

  • Suggested answer
    guk1964 Profile Picture
    10,888 on at

    Matrix and tablix report are probably your best option with SSRS  - but as Martin said it would help to explain what you are trying to do i.e. what does dynamic mean in your case - and maybe you should instead use Atlas,  or Power Bi.

  • @rp@n Profile Picture
    30 on at

    Thanks Magic,

    Here dynamic columns means for example :

    If user put value 10 in dialog

    then in report it should print 10 customer account based on value.

    Please give me more shed on this.

    Thanks!

    Arpan Sen

  • Suggested answer
    guk1964 Profile Picture
    10,888 on at

    Then it sounds like you looking to filter the report data by a parameter.

    You can use ranges or add a filter. A filter works on the client side and operates on the flattened data. Filters must be used cautiously and must not be considered as an alternative for a query range because .the system fetches the whole data from the datasource, after which it then applies the filter/

    The data needs to be restricted only to a certain data region and not the entire dataset.

    A new parameter can be added to a dataset through a query.

    When a dataset is linked to a query, then the parameters are automatically created from the fields that are added to the Ranges node in the AOT query.

    e.g. on the filters node of the CustTransTable you might  create a new filter and nn the new filter node, set the fproperties e.g.:

    Name CustGroup

    Value =1

    Expression =IIF((Parameters!CustGroup.

    Value=Fields!CustGroup.Value),1,0)

    The data region displays only the data for which the expression evaluates to 1.

    ,Select preview and activate the parameters tab. The parameters that were added are visible along with the standard parameters.  Verify the parameters through the report preview.

    The deployed report dialog will provide a parameter field for CustGroup for you to enter a value.

    If this does not make sense to then you need to buy a manual, or speak with a consultant.

    these links may help

    msdax.wordpress.com/.../how-to-set-the-query-range-on-a-ssrs-report

    community.dynamics.com/.../186009

    blogs.msdn.microsoft.com/.../how-to-specify-range-values-on-a-query-in-a-ax-ssrs-report

    technet.microsoft.com/.../aa337401(v=sql.105).aspx

    It is possible to allow more parameters to be added by the user through the query framework. To enable this, set the Dynamic filters property to Yes on the datasource node

    (You can also  use a parameter that is not linked to the dataset but is needed for the purpose of reporting. Such parameters are referred as unbound parameters. These are parameters tare added manually and are typically used for the purpose of formatting or calculating methods.)

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
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans