NAV 2013 Query Object

BOBSMART
Member Posts: 4
I am working on a query using the data (simplified) below. Reporting this using Excel from Odata feed.
Resource Type Amount
General Yellow 100
General Blue 150
Other Yellow 50
Other Blue 75
I want the resulting data to be
Resource Yellow_Amount Blue_Amount
General 100 150
Other 50 75
Is this possible in the Query Object?
Resource Type Amount
General Yellow 100
General Blue 150
Other Yellow 50
Other Blue 75
I want the resulting data to be
Resource Yellow_Amount Blue_Amount
General 100 150
Other 50 75
Is this possible in the Query Object?
0
Comments
-
-
Thanks Mark, I have done this this using a pivot table, unfortunately I am dealing with a report with 187,000 rows and 30 columns. When created the Pivot Table can take up to 30 minutes to calculate. I need the data to come from the query in the summarized format.0
-
When you say that the Pivot Table can take up to 30 minutes to calculate do you mean the data refresh from the OData source or any interaction with that Pivot table? Are you using Power Pivott? 187000 rows and 30 columns certainly should not result in any performance issues when done correctly.
However it would be possible to use a Page object that is published as a web Service instead of a query. Using a page allows all sort of calculations in NAV - take a look at the new page Acc. Sched. KPI Web Service in NAV 2013 R2. It does some calculations in NAV in order to export the Information as an OData-Feed.0 -
Hi Bob,
I would need to see the data structure you use but I would imagine if you are OK with the data as:
General
Yellow
Blue
Other
Yellow
Blue
you could do it in the Query.
Otherwise, with Pivottable, are you using Power Pivot? That should be able to handle that many rows with no problem.Apathy is on the rise but nobody seems to care.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions