Book Image

Extending Microsoft Dynamics NAV 2016 Cookbook

By : Alexander Drogin
Book Image

Extending Microsoft Dynamics NAV 2016 Cookbook

By: Alexander Drogin

Overview of this book

Microsoft Dynamics NAV is an enterprise resource planning (ERP) software suite for organizations. The system offers specialized functionality for manufacturing, distribution, government, retail, and other industries. Its integrated development environment enables customizations with minimal disruption to business processes. The book starts explaining the new features of Dynamics NAV along with how to create and modify a simple module. Moving on, you will learn the importance of thinking beyond the boundaries of C/AL development and the possibilities opened by with it. Next, you will get to know how COM can be used to extend the functionalities of Dynamics NAV. You’ll find out how to extend the Dynamics NAV 2016 version using .NET interoperability and will see the steps required to subscribe to .NET events in order to extend Dynamics NAV. Finally, you’ll see the cmdlets available to manage extension packages. By the end of the book, you will have the knowledge needed to become more efficient in selecting the extending methods, developing and deploying them to the Dynamics NAV, and practicing the best practices.
Table of Contents (17 chapters)
Extending Microsoft Dynamics NAV 2016 Cookbook
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface

Data hierarchies in Power BI reports


In the previous recipe we saw how Power BI creates hierarchies based on date fields, collecting aggregated data on several levels from year to day. Date is not the only possible way to build a scalable report. It is possible to build a hierarchy based on any data, as long as you can provide a link from one level to the next.

How to do it...

In the next recipe, we will create a hierarchy based on geographical data from customer information.

  1. Unfold the list of tables in the database Demo Database NAV (9-0), and select two tables from the list: CRONUS International Ltd_$Customer and CRONUS International Ltd_$Detailed Cust_ Ledg_ Entry. After selecting the tables, click Edit. Table queries will be opened in the query editor.

  2. Enter the SQL Server name where the NAV database is located (the default name is localhost\navdemo), then click OK.

  3. Run Power BI, select the Get Data action in the External Data ribbon group, and choose SQL Server as the data provider type...