You can create a report to display data from the General ledger cube and then
create a dataset based on a multidimensional expression (MDX) query to retrieve
data from the General ledger cube. Then, create a column chart report based on
the dataset and then apply layout and style templates to the report.
Follow these steps to create a report:
1. In Model Editor, right-click SampleCubeReport, point to Add, and then click Report.
2. Select the Report1 node.
3. In the Properties window, type "ProfitChart" as the name.
4. Expand the node for the report if it is not already expanded.
5. Right-click the Datasets node and then click Add Dataset.
6. Select the node for the dataset.
7. In the Properties window, specify the following values:
o Data Source: ProfitAnalysisOLAPData
o Data Source Type: Query
o Default Layout: ColumnChart
o Name: Profit
8. For the Query property, enter the following expression: SELECT {[Measures].[General ledger gross profit - accounting currency]} ON COLUMNS, {[Transaction date].[Year].&[2008-01-01T00:00:00], [Transaction date].[Year].&[2009-01-01T00:00:00], [Transaction date].[Year].&[2010-01-01T00:00:00]} ON ROWS FROM "General ledger cube"
NOTE: You might have to modify the MDX query depending on the data that is
available in your cube. For example, you night not have data for all the years
that are listed in the query.
9. In Model Editor, select the Year field.
10. In the Properties window, make sure that the Field Type property is set to Grouping and the Grouping Type property is set to Category.
11. In Model Editor, select the Measures_General_ledger_gross_profit_ field.
12. In the Properties window, make sure that the Field Type property is set to Data. Type "Gross profit" in the Caption property.
13. In Model Editor, drag the Profit dataset onto the Designs node for the report.
14. An auto design is generated for the report. Expand the node for the auto design and notice that it contains a category based on the Year field.
Regards,
Hossein Karimi
Friday, July 20, 2018
Develop a Report in Microsoft Dynamics AX 2012 "Create a Report"
+10 years of experience with hands-on lead-level background in the full life cycle of software development with demonstrated cross-functional team leadership skills.
Programming:
• ERP :Microsoft Dynamics AX 2012
• Language :X++, C#, C++, XAML, Asp.Net, Html, VB.Net, Android
• Environment : Windows XP, Windows 8, Windows 10, Windows Server
• DataBase : Oracle 9i,10g,11g and SqlServer and SQLlite
Subscribe to:
Post Comments (Atom)
Configure the Firewall on the Enterprise Portal Server
After you install Enterprise Portal, enable Web Server (HTTP) in Windows Firewall. If you do not enable the web server in Windows Firewall...
-
To integrate Microsoft Dynamics AX and Analysis Services, you must connect Analysis Services to the Application Object Server (AOS). To do s...
-
The below select query will give the both the Sales Line record count and the sum of sales quantity. static void Test_Data(Args _args) ...
-
In Reporting Services, reports and resources are processed under the security identity of the user who is running the report. If the report ...
No comments:
Post a Comment