Skip to Content
author's profile photo Former Member
Former Member

Question for query designer

Dear all,

I am creating four queries, but facing a problem for the last one. Here is a example:

<b>Query 1 -</b>

Top 10 Inventory for Division A:

Top10List DivisionName 07/2007 08/2007 MonthOnHandQty

1 A 1000 100,000

2 A 800 99,800

3 A 600 88,600

...

Sub Total A: 2400

<b>Query 2 -</b>

Top 10 Inventory for Division B:

Top10List DivisionName 07/2007 08/2007 MonthOnHandQty

1 B 1000 100,000

2 B 800 99,800

3 B 600 88,600

...

Sub Total B: 2400

<b>Query 1 -</b>

Top 10 Inventory for Division C:

Top10List DivisionName 07/2007 08/2007 MonthOnHandQty

1 C 1000 100,000

2 C 800 99,800

3 C 600 88,600

...

Sub Total C: 2400 ...

Total of 3 Division: 7200

<b>Query 4 -</b>

Top 10 % of Total <b>07/2007</b> 08/2007 09/2007

A 33% (2400/7200) <-- Use Subtotal A / Total of 3 Division

B 33% (2400/7200) <-- Use Subtotal B / Total of 3 Division

C 33% (2400/7200) <-- Use Subtotal C / Total of 3 Division

I have to use Web application designer to dipaly the result on one page. How to reference another query's calulated key figure? Your help is appreciated!

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 29, 2007 at 01:42 PM

    Hi

    Use a table with 2 rows and 2 columns and include your 4 queries by generating 4 different DP - data providers

    You can display them easily by assigning different table charts with assinging different DPs

    Regards

    N Ganesh

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      There is another requirement: Query 4 is total fo all divisions. I need to use subtotal of Top 10 Division divided by total of all division. So in query 4, there is no Condition any more. If I use Restricted KF 1 + 2 + 3, it's not top 10. Getting tough.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.