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

how to do column chart in ssrs report??

(0) ShareShare
ReportReport
Posted on by

I took case Id as parameter and I want to display quantity,price,Discount in x axis.Vendour Id in y axis using rdp class 

I wrote this code in dp class give me suggestion to get report.

public void ProcessReport()

{
ITTI_purchcontract1 contract = this.parmDataContract() as ITTI_purchcontract1;
CaseId = contract.parmPurchRFQCaseId();
delete_from ITTI_purchtemp1;
if(!CaseId ==0)
while select PurchRFQCaseTable where PurchRFQCaseTable.RFQCaseId==CaseId
join PurchRFQCaseLine where PurchRFQCaseLine.RFQCaseId==PurchRFQCaseTable.RFQCaseId
join PurchRFQVendLink where PurchRFQVendLink.RFQCaseId==PurchRFQCaseTable.RFQCaseId

{

/*
ITTI_purchtemp1.PurchQty =PurchRFQCaseLine.PurchQty;
ITTI_purchtemp1.Price =PurchRFQCaseLine.PurchPrice;
ITTI_purchtemp1.Discount =PurchRFQCaseLine.LinePercent;
ITTI_purchtemp1.VendAccount =PurchRFQVendLink.vendAccount;
ITTI_purchtemp1.insert();*/

if(i==1)
{
i++;
ITTI_purchtemp1.LabelDescription ="Qty";
ITTI_purchtemp1.PurchQty =PurchRFQCaseLine.PurchQty;
ITTI_purchtemp1.VendAccount =PurchRFQVendLink.vendAccount;
ITTI_purchtemp1.doInsert();
}
if(i==2)
{
i++;
ITTI_purchtemp1.LabelDescription ="Unit price";
ITTI_purchtemp1.Price =PurchRFQCaseLine.PurchPrice;
ITTI_purchtemp1.VendAccount =PurchRFQVendLink.vendAccount;
ITTI_purchtemp1.doInsert();
}
if(i==3)
{
i++;
ITTI_purchtemp1.LabelDescription ="Disscount";
ITTI_purchtemp1.Discount =PurchRFQCaseLine.LinePercent;
ITTI_purchtemp1.VendAccount =PurchRFQVendLink.vendAccount;
ITTI_purchtemp1.doInsert();


}
}
}

*This post is locked for comments

I have the same question (0)
  • Sohaib Cheema Profile Picture
    49,528 User Group Leader on at

    In SSRS there is something called MATRIX, that is typically used for such reports. Have you tried that?

    msdn.microsoft.com/.../dd207149.aspx

  • Community Member Profile Picture
    on at

    No

  • Hariharans87 Profile Picture
    3 on at

    Refer into this link for column chart control community.dynamics.com/.../ax-2012-create-ssrs-column-chart-report

  • Community Member Profile Picture
    on at

    I took another string field(labels) and added qty,price and discount.In category field I choose labels field

  • Sohaib Cheema Profile Picture
    49,528 User Group Leader on at

    So give a try :)

    Find below some sample examples of designing

    ssrstutorials.blogspot.com/.../lesson-15-ssrs-matrix-reports.html

    sqljason.com/.../ssrs-charts-with-data-tables-excel-style.html

  • Community Member Profile Picture
    on at

    I did this way but in this I can get vendour id in x axis but actuallly I want to display vendour id in Y axis?

  • Hariharans87 Profile Picture
    3 on at

    Add a new tablix control and create a group for vendor id and delete the detail line and create columns for other fields qty, price etc.  use the expression like sum(qty).

  • Community Member Profile Picture
    on at

    @sohaib

    In matrix we can get values but I want labels(qty,price,disc.) also

  • Sohaib Cheema Profile Picture
    49,528 User Group Leader on at

    Hi Sachin,

    it does not matter what you to display. The process is almost same as for displaying data.

    Have a look at 2nd url given by me previously.

    you can use chart control by dragging it from toolbox

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

#1
TAHER Mehdi Profile Picture

TAHER Mehdi 3

#2
Martin Dráb Profile Picture

Martin Dráb 2 Most Valuable Professional

#2
Nakul Profile Picture

Nakul 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans