AX 2012 and Power BI

by | Updated November 3, 2020 | Business Intelligence, Development, Dynamics AX

I recently attended the AXUG conference in Fargo, ND and the most interesting session for me was one on Power BI. Power BI is a subject I have not spent a lot of time learning about. After the session I decided it was time to dig in. This article reflects the first part of Power BI I started reading about which is Power Query. Power Query is a free Excel add-on which allows you to pull data from different datasources into Excel. Below is a small lab I walked through along with my color commentary on each of the steps.

Walk-through Using Microsoft Power Query for Excel in AX

1. Install Power Query from Microsoft

a. Power Query is a free plug-in for Excel

2. In AX navigate to Organization administration > Setup > Document management > Document data sources

a. The form that opens pulls data from the DocuDataSource table in AX

b. The data source types available to pull data from are: Service, Query reference and Custom query

i. Service = AIF services.

AIF Services are listed under the Services node of the AOT.

-There are a few hundred out-of-the-box services in AX.

ii. Query reference = A query listed under the Queries node of the AOT.

-There are hundreds of queries in the AOT.

iii. Custom query = A query listed under the Queries node of the AOT with a filter applied to it.

-This option uses the same queries as the Query reference data source type but allows you to add range restrictions to the queries.

-For example, if a query pulled from the customers table, with the custom query option you could restrict the query to a specific customer or customers.

-To apply the restriction to the query, in the dropdown you select an existing modelled query and then it prompts you for the range restrictions to apply to that query.

-You can rename the data source name once you pick the query.  The data source name field is editable.

3. Mark the Activated checkbox on any of the data sources in this form you want to use to pull data into Excel

4. Close the Document data sources form.

5. In Excel on the ribbon at the top of the page go to the Power Query tab

a. The Power Query tab is added to Excel once you have installed the Power Query plug-in

6. On the Power Query tab click the button From other sources > From Odata feed

7. In the form that opens enter the URL for the AX Odata query service

a. The URL is http://localhost:8101/DynamicsAX/services/OdataQueryService

b. Odata query service is an AX system service

c. Odata query service is not listed in the Inbound ports or in the Services node of the AOT

8. After clicking on the form prompting for the URL you are asked for how to connect to the service

a. On the left side of the form choose Windows and then select the option for your current credentials.

b. On the bottom of the form on the right side choose the url for the Odata service

9. Once the credentials are accepted a form opens displaying the list of activated data sources from the Document data sources form in AX

10. In the form displaying the data sources, select the desired data source and at the bottom of the form click the Load button

a.The data from your query will be brought into Excel and you are free to clean it up and remove columns as you see fit

Related Posts

  • As we're doing more and more customer training, we're finding it's very valuable to have a list of the keyboard shortcuts and advanced filter query commands in Dynamics AX 2012.…

  • The Safari browser is now supported natively on Dynamics AX 2012 R2 as well as being supported on Dynamics AX RTM with a hotfix.  Taken from the updated System Requirements…

  • I put together some certification information on the requirements for Microsoft Dynamics AX 2012 and a proposed training roadmap to get to each of the core certifications.  Rather than have this…

0 Comments

Trackbacks/Pingbacks

  1. AX 2012 and Power BI – 9/24, Stoneridge Software | - […] Continue reading on Source Blog […]

Submit a Comment

Your email address will not be published. Required fields are marked *

Upcoming Events

september

01sep10:00 am10:30 amEnsuring Quality and Compliance for Batch Manufacturers in Life Sciences

01sep12:00 pm12:30 pmIs it Worth It to Move to the Cloud? A Look at Considerations for Current Agribusinesses Using Dynamics GP

01sep2:00 pm2:45 pmWhat’s New in Dynamics 365 Finance and Supply Chain

09sep11:00 am12:00 pmConfab Live with Stoneridge – Data Strategy and Reporting – Mining Decision Making Insights

15sep10:00 am11:00 amSolving the Biggest Challenges in Agribusiness Through Innovation and Technology

22sep12:00 am12:30 pmSimplifying Payroll and HR Management with ADP Workforce Now

22sep10:00 am10:30 amStreamlining Batch Manufacturing with Technology

22sep2:00 pm2:30 pmProcess Automation for Microsoft Dynamics D365 for Business Central, Finance and Operations and GP

23sep11:00 am12:00 pmConfab LIVE with Stoneridge - Riding the Wave 2 Release – Key Features Coming to Dynamics 365 this October

29sep10:00 am11:00 amTop Five Reasons Why NOW is the Right Time to Move from Salesforce to Dynamics 365 Customer Engagement

29sep12:00 pm12:45 pmUnderstanding Job Costing and Tax Management in Business Central

29sep2:00 pm3:00 pmDigitalizing Horticulture & Agriculture - How to Sell Plants Online and Simplify Business Management

30sep12:00 pm4:00 pmSecurity and Permissions Training for D365 Business Central or Dynamics NAV

october

06oct10:00 am10:30 amPreview of D365 Business Central Fall Release Features and Functionality

06oct12:00 pm12:30 pmInsider's Guide to New Features Available in the Fall Release of D365 Finance and Supply Chain

07oct11:00 am12:00 pmConfab LIVE with Stoneridge - Dataverse and Dynamics in Review – Let’s Get Technical

21oct11:00 am12:00 pmConfab LIVE with Stoneridge - Dataverse and Dynamics in Review – Let’s Get Functional

26oct(oct 26)9:00 am28(oct 28)5:00 pmStoneridge Connect Leadership and Community Conference

About Stoneridge
Stoneridge Software is a unique Microsoft Gold Partner, with emphasis on partner. With specialties in Microsoft Dynamics 365, Microsoft Dynamics AX, Microsoft Dynamics NAV, Microsoft Dynamics GP and Microsoft Dynamics CRM, we focus on attracting the most knowledgeable experts in the field to our team, and prioritize delivering stellar solutions with maximum impact for your business. At Stoneridge, we are deeply committed to your results. Each engagement is met with a dedicated team, ready to provide thorough, tailored, and expert service. Based in Minnesota, we intentionally “step into your shoes,” wherever you are. We focus on what you care about, and develop trusting, long-term relationships with our clients.

Subscribe To Our Blog

Sign up to get periodic updates on the latest posts.

Thank you for subscribing!

X