Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Extending Microsoft Dynamics AX 2012 Cookbook
Extending Microsoft Dynamics AX 2012 Cookbook

Extending Microsoft Dynamics AX 2012 Cookbook: This is a brilliantly accessible book, packed with practical examples, that's perfect for business professionals who want to make more of the advanced features of Dynamics AX to save money and increase management efficiency.

eBook
€8.99 €36.99
Paperback
€45.99
Subscription
Free Trial
Renews at €18.99p/m

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Table of content icon View table of contents Preview book icon Preview Book

Extending Microsoft Dynamics AX 2012 Cookbook

Chapter 2. Reports and Dashboards

In this chapter, we will show you how to create your own ad-hoc reports and dashboards by using tools that you are already using such as Excel, or by using PowerPivot and Power View to create interactive dashboards and reporting galleries. This chapter will cover:

  • Creating a Power View report from Dynamics AX

  • Creating a Power View report from Power View cubes

  • Saving Power View dashboards and reports

  • Adding a Power View report to a Role Center

  • Exporting a Power View report to PowerPoint

  • Creating a PowerPivot gallery in SharePoint

  • Creating a PowerPivot data source for Power View

  • Creating a Power View report via the PowerPivot gallery

  • Linking Power View reports to Dynamics AX forms

Introduction


Power View is a new reporting tool that was introduced by Microsoft with the release of Microsoft SQL Server 2012. Unlike many of the other reporting tools that are available, this one is designed so that users can create their own dashboards and reports without needing a lot of help, making everyone just a little more productive. Gone are the days where you have to export data from Dynamics AX to Excel, and then create a one-off dashboard when you want to analyze some data. Now you can create a dashboard in Power View, save it, and return to it any time you like.

With the R2 release of Microsoft Dynamics AX 2012, Power View was also embedded directly into the forms allowing users to create dashboards and reports on the fly without even knowing that they are using Power View.

In this chapter we will show how you can use Power View with the Dynamics AX 2012 R2 to create reports, how the users are able to save the reports for others to use, and also how you can export the reports...

Creating a Power View report from Dynamics AX


The Dynamics AX 2012 R2 release has links to Power View embedded directly into the application, allowing the users to create their own reports and dashboards with just a click of a button.

In this quick recipe, we will show how you can quickly create a report directly from the Dynamics AX application.

Getting ready

In order to work through this example, you need to be running Microsoft Dynamics AX 2012 R2, or later.

How to do it...

To create a simple ad-hoc report from Dynamics AX, follow these steps:

  1. Open up the Customers list from within Accounts Receivable.

  2. In the far right corner of the ribbon bar, in the Customer tab there is an Analyze data button. Click on this button to open up Power View:

  3. When the Power View window opens up, find the Accounts receivable open transactions measure from the field list on the right and select the checkbox to add it to the report canvas:

  4. Find the Month dimension that is in the Transaction Date group in the field list...

Creating a Power View report from Power View cubes


With the Dynamics AX 2012 R2 release, there are additional reporting cubes hidden within SharePoint that are not currently linked to the main forms. If you find them, then you are able to create Power View dashboards and reports.

In this example we will show how you can use the Sales cube to build a more elaborate Power View dashboard.

Getting ready

Before you start this recipe, you need to find where the Power View dashboards are stored. You may need to have administrator access to SharePoint for this step. To find the Power View Reports library follow these steps:

  1. Open up any Dynamics AX Role Center, and from the Site Actions drop-down menu in the top left corner, select the View All Site Content menu option:

  2. This will open up the Site Content browser. Here you should be able to see a Power View Reports document library and drill down into the contents to see all of the reports that have been saved, and also all of the available cubes:

How...

Saving Power View dashboards and reports


Although creating a Power View dashboard is a simple task, you probably don't want to recreate the same report over and over again, and others may be interested in using your dashboard as well.

In this quick recipe, we will show how you can save your dashboards back to the Power View Reports folder in Dynamics AX so that you and others are able to access the data at any time.

How to do it...

If you have a Power View report that you would like to use again, you can save it by following these steps:

  1. From the File menu on the Power View report designer, just select the Save As option:

  2. Then give your report a name and save it:

How it works...

Once your dashboard is saved, you can access it from the Power View Reports folder within your Role Center content:

Adding a Power View report to a Role Center


With Microsoft Dynamics AX 2012 R2, a new Web Part was added that allows you to easily embed your Power View dashboards into the Role Centers. Any report or dashboard that you create may be added this way, and users are able to view and filter the information directly within the Role Center, or pop the dashboard out of the Role Center and edit the report on the fly.

This recipe will show you how to customize your Role Center and add a Power View report or dashboard.

How to do it...

To add a Power View dashboard to a Role Center, follow these steps:

  1. Click on the Personalize this page link in the top-right of your Role Center within Dynamics AX.

  2. Click on the Add a Web Part link on the panel that you would like to add the Power View dashboard to.

  3. This should open up the Web Part browser. Find the Microsoft Dynamics AX category group and you should see an SQL Server Power view web part:

  4. Select the SQL Server Power view web part and then click on the Add button...

Exporting a Power View report to PowerPoint


If you spend your days recreating the same presentation, by refreshing the data in reports from Dynamics AX and then reformatting the information, then Power View has a very cool feature that you will be able to take advantage of that allows you to export any of the dashboards that you create to PowerPoint.

This is not your ordinary export that just takes a screen capture of your current view and then pastes it into your presentation, instead Power View is embedded into your presentation. If you have security to access the data, then your PowerPoint becomes an interactive dashboard whenever you enter into presentation mode. If you deliver the presentation to someone who does not have access to the source data, then the reports look just as they did when you last updated the data.

You can use this to create internal review presentations, or even start with a template and then filter the data individually to be delivered to customers or vendors for...

Creating a PowerPivot gallery in SharePoint


Up until now, we have just been creating dashboards and reports within Power View from the pre-defined cubes that are delivered with Dynamics AX 2012 R2 or later. You are not limited to those data sources for reporting though, and you can use Excel and PowerPivot for Excel to create your own data sources that you can report off. This is also an option that is available to all versions of Dynamics AX, so if you have not yet upgraded to the R2 or higher releases, then you can still take advantage of all the benefits of Power View for user reporting.

In order to use Power View in this way you need to have a PowerPivot Gallery site configured in SharePoint. This is where you will store your data sources, dashboards, and reports that you create.

If you do not currently have a PowerPivot Gallery site configured, then the following recipe will step through the process of creating the site in SharePoint.

Getting ready

Before you start on this example, you...

Creating a PowerPivot data source for Power View


You can create Power View reports directly off the data within Dynamics AX by building your own personal data sources through Excel and saving them to a PowerPivot gallery in SharePoint. This gives you the flexibility of accessing data that may not be in the existing Power View cubes, including custom tables and fields that you have added, without having to become a DBA and tweak the reporting cubes themselves.

In the following recipe we will work through a simple example of how you can use the PowerPivot add-on for Excel to access inventory information from Dynamics AX, and then save it to a PowerPivot gallery in SharePoint so that we can report off it.

Getting ready

Before you are able to create a PowerPivot data source, you need to make sure that you have the PowerPivot add-on configured in Excel. If you have it installed, then when you open up Excel, there should be a PowerPivot tab in the ribbon bar:

If you don't have it installed, then follow...

Creating a Power View report via the PowerPivot gallery


Once you have PowerPivot data sources published to your PowerPivot gallery in SharePoint, they become linked to Power View, and you are able to create dashboards and reports from them. Users can be given access to the PowerPivot gallery directly, or they can be given links to the Power View report designer so that they are able to create their own ad-hoc reports at any time.

In the following recipe we will show how you can create Power View reports directly from the PowerPivot gallery.

How to do it...

To create a Power View report from the PowerPivot gallery, follow these steps:

  1. Open the PowerPivot gallery and find the data source that you want to report off:

  2. There are three icons on the top-right of the data source. The first will open up the data source in Excel, the second will allow you to create a Power View report from the data source, and the third allows you to define the refresh schedule of the data. For this example, click on the...

Linking Power View reports to Dynamics AX forms


If you want to make your Power View dashboards and reports even more useful to the users, then you may want to add links to them directly within your Dynamics AX forms. This does require a little bit of X++ code, and a little bit of configuration in the AOT.

In this recipe we will show how you can easily add a button to the ribbon bar of an existing form that will link directly to a Power View report that you have, and even filter out the data so that you are just seeing the data that is related to the current record that you are in.

Getting ready

This example requires that you access the development environment and make changes to forms. Before you start on this example, make sure that you have developer rights on your installation of Dynamics AX.

How to do it...

To add links to Power View reports directly into Dynamics AX forms, follow these steps:

  1. Create a new development project in AOT and call it CustomerPowerViewButton.

  2. Find the CustTable form...

Summary


Power View and PowerPivot are tools that are simple enough for almost everyone to use, and allow you to quickly build reports and dashboards that are useful. It becomes even more useful to the power users since they can also create their own data sources within Excel, a tool that everyone is familiar with using.

Once you start creating dashboards, you will discover that there are a lot of cool features that you can take advantage of. You may want to try:

  • Adding external Azure services, XML feeds, and Dynamics AX ODataQueries to your PowerPivot data sources. This allows you to blend in dynamic reference data, such as weather, currency rates, or Twitter searches to make your dashboards more informative.

  • Turning URL columns into pictures to allow your users to filter out the information visually rather than having lo look at codes.

  • Using geographic information, such as city, state, and country to create geo-mapped reports.

Also, you don't just have to use Power View within Dynamics AX. Since...

Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • Extend Dynamics in a cost-effective manner by using tools you already have
  • Solve common business problems with the valuable features of Dynamics AX
  • Follow practical and easy-to-grasp examples, illustrations and coding to make the most out of Dynamics AX in your business scenario

Description

Dynamics AX is built on a number of foundation products from Microsoft that are used to make it bigger, better, and stronger than the average business system. Taking advantage of these products will make your life easier. Use these tools to maximize the efficiency of your business management, taking advantage of a powerful and centralized tool set. "Extending Microsoft Dynamics AX 2012 Cookbook" will show you how to use tools that you already have to extend out Dynamics AX and discover potential new directions. You will be surprised at what you can do on a shoestring budget. The book will allow you to streamline your work processes, and use the system's powerful and centralised features to the advantage of your organization. "Extending Microsoft Dynamics AX 2012 Cookbook" will show you how to maximize the potential of Dynamics AX with common and popular tools to enhance your business management systems. We will begin by exploring how to extend Dynamics AX out with SharePoint. After this, the book will guide you through important elements in maximizing business management efficiency, focusing on key aspects like reports, dashboards, and workflows. The book will then finish by teaching you how to customize your management systems, achieving a comprehensive coverage of the most important extension processes relevant to you and your business with very little programming. This is a book for those of you that want to make the most out of Dynamics AX by using what you already have, and without breaking the bank.

Who is this book for?

This title is for business professionals, such as administrators and consultants, who want to take full advantage of the features of Dynamics AX. This book has a wide appeal and you do not need to be a SharePoint, database or programming expert. As long as you know a little about these elements, you will be able to take full advantage of the business efficiency created with Dynamics AX extensions.

What you will learn

  • Easily create attractive dashboards and reports using Performance Point, PowerView and Excel
  • Improve and maximize the potential of user communication and collaboration with Outlook and Lync
  • Create and configure roles centers for your users
  • Build personal portals and document libraries within SharePoint
  • Create a streamlined organization through workflows
  • Build new help files specific to your business
  • Develop personalized and customized screens

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Aug 26, 2013
Length: 314 pages
Edition : 1st
Language : English
ISBN-13 : 9781782168348
Vendor :
Microsoft

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : Aug 26, 2013
Length: 314 pages
Edition : 1st
Language : English
ISBN-13 : 9781782168348
Vendor :
Microsoft

Packt Subscriptions

See our plans and pricing
Modal Close icon
€18.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
€189.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts
€264.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total 87.98
Microsoft Dynamics AX 2012 Reporting Cookbook
€41.99
Extending Microsoft Dynamics AX 2012 Cookbook
€45.99
Total 87.98 Stars icon
Banner background image

Table of Contents

11 Chapters
Extending Out with SharePoint Chevron down icon Chevron up icon
Reports and Dashboards Chevron down icon Chevron up icon
Dashboards, Charts, and Scorecards Chevron down icon Chevron up icon
Communication and Collaboration Chevron down icon Chevron up icon
Using Cases to Manage Incidents and Requests Chevron down icon Chevron up icon
Organizing Your Workflows Chevron down icon Chevron up icon
Reporting in Office Chevron down icon Chevron up icon
Talking to the Outside World Chevron down icon Chevron up icon
Creating Help Chevron down icon Chevron up icon
Web Services and Forms Chevron down icon Chevron up icon
Role Center Personalization and Customization Chevron down icon Chevron up icon

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Full star icon Half star icon 4.5
(10 Ratings)
5 star 50%
4 star 50%
3 star 0%
2 star 0%
1 star 0%
Filter icon Filter
Top Reviews

Filter reviews by




cazo76 Oct 09, 2013
Full star icon Full star icon Full star icon Full star icon Full star icon 5
The book is a must add to any Functional consultant's and/or Client based IT department library. Every chapter is an easy to follow how-to that easily explains each covered area. After having this book for less than three weeks, I was able to show the client how to add role centers to their respective outlook accounts. I am going to recommend that the client use this book to handle adding their process flows into the help menu.The book is well written and is very easy to read. A novice would be able to follow the sections in each chapter which uses the Contoso demo company. The book was able to get detailed enough while straddling the line to not get so technical that only a developer would understand it.[...]
Amazon Verified review Amazon
J.Lopez Sep 30, 2013
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Extending Microsoft Dynamics AX 2012 Cookbook is a great book of recipes that will aid you in creation of forms, web services etc. The directions(recipes) are easy to follow and extremely beneficial.The recipes include great "help" or reminders and tips that can really go a long way in ensuring that your creations are at their best. This books is clearly written with great contributors and a great author that understand Microsoft Dynamics and gives real world scenarios.Please visit [...] for more information.
Amazon Verified review Amazon
Peter B S Mello Sep 17, 2018
Full star icon Full star icon Full star icon Full star icon Full star icon 5
If you want to get serious with Dynamics, you need this book. There are other books from this author too.
Amazon Verified review Amazon
M.Aamer - AX - MVP Oct 15, 2013
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Extending Microsoft Dynamics AX 2012 Cookbook provides a wide deep range of non-functional requirements which gives a flavor to Microsoft Dynamics AX implementation. I recommend this book for Microsoft Dynamics AX Solution Architect, Application Consultant, Business Analyst, and IT Manager. This book gives them the overall overview with the required level of details to implement, and deploy important non-function requirements of which build on Microsoft technologies Microsoft SharePoint, Microsoft Office Excel, and Microsoft Office Outlook.It provides a walkthrough of utilizing Microsoft Office Excel Power View, and PowerPivot and how it integrate with Microsoft SharePoint, and Microsoft Dynamics AX. In addition to the executive supporting tools of Dashboard, Charts, and Scorecards platform.Extending Microsoft Dynamics AX 2012 Cookbook illustrate how to use Microsoft Dynamics AX as a communication channel between the organization and its customers, how to utilize the push strategy reports through the personalized role center to give the right information to the right person at the right time. I enjoyed the book content very much.[...]
Amazon Verified review Amazon
uhgriesser Feb 05, 2014
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Gäbe es nur mehr von solchen Büchern. Endlich mal nicht nur Theorie oder "so müsste es gehen", sondern Lösungen die sofort anwendbar sind. Danke
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.