Combine to queries to make one report
Hello,
Is it possible to combine to queries to make one report?
I have been asked to create a report to shows the settlement status of a mileage report for the last two months and also in the same report show everything that has to be settled.
I have created two queries u2013 one that shows restricts by last two months and another that restricts settlement by u201Cto be settledu201D.
I would now like to combine these two queries to create one report. However in report designer when I insert the two queries it does not allow incorporating the two to make one report. It just allows you to leave one below the other.
Is there a way I can combine the two or is there something I can do in the query designer, because as far as I know you canu2019t use dimensions twice in the columns.
Thanks
Forhad
HI Forhad Hussain,
Create a new query by adding all required keyfigures(settled & to be settled) using restricted key figures, instead of global restrictions.
Or enhance any of existing report by changing global restricting and adding new RKF's.
Hope it Helps
Srini
Similar Messages
-
How do I combine several clips to make one movie?
The iPhone 6 doesn't have a video pause button (ingenious) so I recorded several clips. I downloaded these clips to iMovie and put them all in one event. When I play the event, the video jumps a little every time it goes from one clip to the next. Is there a way to combine the clips to make one movie that doesn't have those jumps. Thanks!
Thanks for your response. I already figured this out but was unable to post a reply sooner. I just figured out that you can't reply when you are in private browsing. Another Apple glitch. Regarding this issue, in typical Apple fashion, the products can be confusing to use, the user manuals are poorly written, the help menus, many times, aren't very helpful, and the product development decisions can be baffling.
In the case of video-making and editing, Apple has hit the triple-crown: First, the iPhone 6 video recorder doesn't have a pause button; Second, in iMovie, you CAN'T combine separate clips; And third, again in iMovie, you can't download clips directly from iPhoto - you have to move the clips out of iPhoto first. By the way, iPhoto is the default location when clips are uploaded to iCloud. Unbelievable!
For any first-time user reading this, a project is a movie or a trailer. And even when you are in a project, you can't combine separate clips. You can only combine a clip that was separated back to the clip it was separated from. Thanks, Karsten, for taking the time to respond. -
Combining 2 imovies to make one dvd
Wondering how!
Combine 2 iMovie projects with bookmarks to get one DVD should I
copy and past one imove into the other? (will it retain all bookmarks?)
or
can I make 2 iDVD projects and combine them into one DVD to burn some way?
If anyone has doen this easily I love to know.
ThanksArnolfo,
You can easily have more than one movie on a single DVD.
The iDVD button in iMovie is just a short cut to get a project going in iDVD.
If you want to add multiple movies to one DVD, it may be easier to launch iDVD first and then add the movies to the iDVD project.
http://docs.info.apple.com/article.html?artnum=164953
Matt -
Combining two programs to make one
Is there an easy way for me to combine these two programs? What I am wanting to use an array for the different loans. Display the mortgage payment amount for each loan and then list the loan balance and interest paid for each payment over the term of the loan. Use loops to prevent lists from scrolling off the screen. Here are the two programs I have so far. Any guidance is appreciated.
import java.io.*; // java input output package
import java.text.DecimalFormat; // allows placement of decimal
public class MonthlyPayments4e extends Thread //class header with "Thread" for sleep
public static void main(String[] args)
double Loan, NewBal, MIP;
double Rate, MonthlyInterest, Payments; //double precision variables
//assign values to variables
Loan= 200000; // loan amount
Rate = .0575; //interest rate
MonthlyInterest = Rate / 12; // interest for each month
Payments = Loan * (MonthlyInterest / (1 - Math.pow(1+MonthlyInterest, -360))); //my formula
DecimalFormat twoDigits = new DecimalFormat("$,000.00"); // declares decimal format
MIP= (Loan * Rate) / 12;
NewBal = Loan -(Payments-MIP);
System.out.println("Monthly Payments Interest Paid This Payment Loan Balance");
System.out.println();//my printout provides extra line
System.out.print(" " + twoDigits.format(Payments)); //my printout
System.out.print("\t\t\t" + twoDigits.format(MIP));//my printout
System.out.println("\t\t\t" + twoDigits.format(NewBal));//my printout
System.out.print(" " + twoDigits.format(Payments)); //my printout
MIP=(NewBal*Rate)/12;
System.out.print("\t\t\t" + twoDigits.format(MIP));//my printout
NewBal=NewBal -(Payments-MIP);
System.out.println("\t\t\t" + twoDigits.format(NewBal));//my printout
System.out.print(" " + twoDigits.format(Payments)); //my printout
while (NewBal > 1) //while loop to make computations continue until gets to $200000
MIP=(NewBal*Rate)/12;
System.out.print("\t\t\t" + twoDigits.format(MIP));//my printout
NewBal=NewBal -(Payments-MIP);
System.out.println("\t\t\t" + twoDigits.format(NewBal));//my printout
System.out.print(" " + twoDigits.format(Payments)); //my printout
if (NewBal <100000) // tells when this is met to transition to sleep phase
try
Thread.sleep (500); //sleep phase needed per change request also states pause is 500 milliseconds
catch (InterruptedException e)
import java.io.*; // java input output package
import java.text.DecimalFormat;
public class MonthlyPayments5 //class header
public static void main(String[] args) //don't know if this is needed or not but here it is
double Loan;
double Rate1,Rate2,Rate3, MonthlyInterest1,MonthlyInterest2,MonthlyInterest3,Payment1,Payment2,Payment3; //double precision variables
//assign values to variables
Loan= 200000; // loan amount
Rate1 = 5.75;
Rate2 = 5.5;
Rate3 = 5.35;
MonthlyInterest1 = (Rate1 / 100) / 12;
MonthlyInterest2 = (Rate2 / 100) / 12;
MonthlyInterest3 = (Rate3 / 100) / 12;
Payment1 = Loan * (MonthlyInterest1 / (1 - Math.pow(1+MonthlyInterest1, -360))); //my formula
Payment2 = Loan * (MonthlyInterest2 / (1 - Math.pow(1+MonthlyInterest2, -180))); //my formula
Payment3 = Loan * (MonthlyInterest3 / (1 - Math.pow(1+MonthlyInterest3, -84))); //my formula
DecimalFormat twoDigits = new DecimalFormat("000.00");
System.out.println("\tYour Monthly Payments for 30 years are:\t $" + twoDigits.format(Payment1)); //my printout
System.out.println("\tYour Monthly Payments for 15 years are:\t $" + twoDigits.format(Payment2)); //my printout
System.out.println("\tYour Monthly Payments for 7 years are:\t $" + twoDigits.format(Payment3)); //my printout
Any guidance is appreciated. Here's some guidance:
ublic class MonthlyPayments4e extends Thread //class
header with "Thread" for sleepThere's no need for your class to extend Thread. If it truly needs to run in a separate thread, better to implement Runnable.
public static void main(String[] args)
{It's a common newbie mistake to put lots of code into main methods. After all, that's what you "run", right? Better to put that code into a class or instance method that you have a main method call. Other objects can get at it that way.
double Loan, NewBal, MIP;
double Rate, MonthlyInterest, Payments; //double
precision variablesLearn and follow the Sun Java coding standards:
http://java.sun.com/docs/codeconv/
This isn't VB.
The comment "// double precision variables" is totally, utterly useless. The fact that they're declared as double is more than sufficient. Useless comments like these just clutter up code.
//assign values to variablesMORE useless comments! Get rid of them. You've probably been taught that comments are good. I'm here to tell you that comments are bad. Write your code clearly enough and you won't need comments. Good choices for variable and method names and good refactoring are worth a million comments.
oan= 200000; // loan amount
Rate = .0575; //interest rate
MonthlyInterest = Rate / 12; // interest for each
monthThe principal, interest rate, and term length should all be input values to your method, not hardwired like this. If you're asked to change the rate or principal you have to recompile your code. Terrible.
Payments = Loan * (MonthlyInterest / (1 -
Math.pow(1+MonthlyInterest, -360))); //my formulaSeparate the calculation from the display.
DecimalFormat twoDigits = new
DecimalFormat("$,000.00"); // declares decimalUse a currency formatter. Your program should not care if it's USD or euros or some other currency. Let the default Locale figure out what the currency format should be.
format
MIP= (Loan * Rate) / 12;
NewBal = Loan -(Payments-MIP);
System.out.println("Monthly Payments Interest Paid
This Payment Loan Balance");Do the calculation in the method and let something else print out values.
System.out.println();//my printout provides extra
line
System.out.print(" " +
twoDigits.format(Payments)); //my printout
System.out.print("\t\t\t" +
twoDigits.format(MIP));//my printout
System.out.println("\t\t\t" +
twoDigits.format(NewBal));//my printout
System.out.print(" " +
twoDigits.format(Payments)); //my printout
MIP=(NewBal*Rate)/12;
System.out.print("\t\t\t" +
twoDigits.format(MIP));//my printout
NewBal=NewBal -(Payments-MIP);
System.out.println("\t\t\t" +
twoDigits.format(NewBal));//my printout
System.out.print(" " +
twoDigits.format(Payments)); //my printout
Why $200000? What if I wanted to calculate payments on $1M USD? Or 2B yen?
while (NewBal > 1) //while loop to make computations
continue until gets to $200000
MIP=(NewBal*Rate)/12;
System.out.print("\t\t\t" +
twoDigits.format(MIP));//my printout
NewBal=NewBal -(Payments-MIP);
System.out.println("\t\t\t" +
twoDigits.format(NewBal));//my printout
System.out.print(" " + twoDigits.format(Payments));
//my printout
if (NewBal <100000) // tells when this is met to
transition to sleep phase
try
Thread.sleep (500); //sleep phase needed per
change request also states pause is 500
millisecondsUgh - who told you to do this? Take it out.
catch (InterruptedException e)
import java.io.*; // java input output package
import java.text.DecimalFormat;
ublic class MonthlyPayments5 //class header
public static void main(String[] args) //don't know
if this is needed or not but here it is
double Loan;
double Rate1,Rate2,Rate3,
MonthlyInterest1,MonthlyInterest2,MonthlyInterest3,Pa
ment1,Payment2,Payment3; //double precision
variables
//assign values to variables
Loan= 200000; // loan amount
Rate1 = 5.75;
Rate2 = 5.5;
Rate3 = 5.35;
MonthlyInterest1 = (Rate1 / 100) / 12;
MonthlyInterest2 = (Rate2 / 100) / 12;
MonthlyInterest3 = (Rate3 / 100) / 12;
Payment1 = Loan * (MonthlyInterest1 / (1 -
Math.pow(1+MonthlyInterest1, -360))); //my formula
Payment2 = Loan * (MonthlyInterest2 / (1 -
Math.pow(1+MonthlyInterest2, -180))); //my formula
Payment3 = Loan * (MonthlyInterest3 / (1 -
Math.pow(1+MonthlyInterest3, -84))); //my formula
DecimalFormat twoDigits = new
DecimalFormat("000.00");
System.out.println("\tYour Monthly Payments for
30 years are:\t $" + twoDigits.format(Payment1));
//my printout
System.out.println("\tYour Monthly Payments for
15 years are:\t $" + twoDigits.format(Payment2));
//my printout
System.out.println("\tYour Monthly Payments for 7
years are:\t $" + twoDigits.format(Payment3)); //my
printout
}See above for same comments on second messy method.
% -
Two queries in one report?
I have Three tables like
Device_table columns are
d_id, d_name, date
Software_table
sw_id, software, version, serial_no, sw_type, d_id(foreign_key)
hardware_table
hw_id, hardware, specification, d_id(foriegn_key)
now in reports i want to attach both hardware and software, I have made two quires like
SELECT d.d_name, sw.software, sw.version, sw.sw_type from
device_table d, software_table sw
where d.d_id = sw.d_id
and second query is
SELECT d.d_name, hw.hardware, hw.specification
from device_table d, hardware_table hw
where d.d_id = hw.d_id
Now my problem is that how can I add both queries in one report so that i can get a list of software and hardware attached to one device.
Regards
MazI want to see the report as follow.
d_name: CPU-1
date: -----------
Software installed:
sw_id, software, version, serial_no, sw_type
(list of softwares attached, can be more then one)
Hardware attached:
hw_id, hardware, specification (same like software list, it will contain hardware list attached to specific device),
Please if you can help me that how will i make a query for this.
Thanks and Regards
Maz -
I have several iPhoto libraries. How can I combine them to make one?
iPhoto Library Manager - http://www.fatcatsoftware.com/iplm/ -
or the current version of Aperture can merge libaries from the current version of iPhoto
LN -
Combining reports into one report
Hi,
Does anyone know how to combine 16 Oracle reports (in PDF format) into one report? I used to use a macro in Word that would combine my reports (in RTF format)but since RTF format is a bug within Oracle reports I can no longer use the macro.
Thanks you in advance for your assistance.
~Vannettehello,
you should be able to combine PDFs using ADOBE ACROBAT.
regards,
the oracle reports team -
SQL Query (updateable report) - Can't figure out how to make one
Hi folks,
Can someone tell me how to make a report where the data can be updated? Not an interactive report, a SQL report that selects only one row. The only options in the drop down I see are "SQL Query" and "SQL Query (PL/SQL function body returning SQL query)", but I have a report elsewhere that says it's type is "SQL Query (updateable report)", but I can't remember how to do it :(
Thanks very much,
-AdamHi Adam,
An Updatable Report is a "Tabular Form" - see: http://download.oracle.com/docs/cd/E10513_01/doc/appdev.310/e10497/frm_tabular.htm#CHDFBHDB
Andy -
How to combine 2 macbook pro together to make one powerful computer?
Hello everyone my question might sound silly or stupid, but I heard that the following is possbile....
I have a 2 year old MacBook Pro with Tiger and 2 days old MacBook Pro with Leopard on it. However, i've heard from many people that it is possible to combine the power of two MacBook Pro together to make one of the two acquire the qualities of the other computer but I don't know how to quite make it....
First of all, is it possible ?
Second, if so, TELL ME HOW PLEASE
Thank you for your answers !Vincent,
The technology that does this is called "Xgrid." It requires first a fast network; wireless wouldn't be ideal. Xgrid must be enabled on all computers, with one set up as a controller. The controller can then send a portion of certain processing tasks to the other machines, when supporting applications are being used.
Xgrid can be used, for example, for transcoding video. It can be used for complex modeling in some scientific applications. It cannot be used to increase performance in a video game.
Scott -
Results of multiple queries in one report
Hi
I would like to create one report with multiple rows and each row should display result of a different query.
I guess I can use multiple report on one region or multiple regions in one place.
(1)However is there a more elegant way of creating a single report look and feel...eg like it would happen in excel.
(2)Is it better to have one page with multiple regions or multiple reports in one region.
Thanks
FaiziI'm not sure if it suite your needs,
but maybe you can use UNION in your queries to get them together in one report ??
Second option:
Denes did great work and he created some how-to about putting mulitple reports in one region:
http://deneskubicek.blogspot.com/2007/06/multiple-reports-in-one-region.html
Hope this helps.
Tomasz K. -
Consolidating queries / reports in one report
Hi guys,
I have three reports in SAP BW (im using SAP BI 7.0):
1) Credit Management
2) Sales
3) Profit Center
Each report has it´s own view, data source and infocube.
So for example the customer number, company code are the same.
The key figures are the same (like sales or turn over).
In addition to report 1) the 2) sales report has added characteristics like salesorganisation, the 3) has profit center.
No I´m wondering if it is possible to make just one report with all characteristics in one query?
Should I create one DSO with all fields?
Is it possible to create one DSO which has access to each view and assambles the existing fields in one single DSO?
Or would it be to much chaos if there are many characteristics?
Thanks in advanceI didn´t understand completely and wasn´t able to try to build one single cube (not a multi cube) out of three DSO.
In my case I have the following situation for example three cubes and each cube has his own DSO with the same structure.
My goal is to have only one cube with all characteristics in it so that I don´t have to use the reports.
This is how the cubes exist in current version (three cubes and three DSO).
========
Cube 1:
========
Characteristics:
0Cal_Month
0C_CTR_AREA
0Company_Code
0Customer
Keyfigures:
Turn over
Payments
Open items
========
Cube 2:
========
Characteristics:
0Cal_Month
0C_CTR_AREA
0Company_Code
0Customer
0Salesorg
0Distr_Chain
0Division
Keyfigures:
Turn over
Payments
Open items
========
Cube 3:
========
Characteristics:
0Cal_Month
0C_CTR_AREA
0Company_Code
0Customer
0Profit_CTR
Keyfigures:
Turn over
Payments
Open items
=========================
Solution scenario for Cube 4:
=========================
I thought about this creating a new cube.
Characteristics:
0Cal_Month
0C_CTR_AREA
0Company_Code
0Customer
0Salesorg
0Distr_Chain
0Division
0Profit_CTR
Keyfigures:
Turn over
Payments
Open items
===================
Than I shoul be able to select within a selection mask for example turn over for a specifi sales division and profit center in the specific month.
Am I right?
To achieve that I have to map every single DSO field with the new cube 4.
That means
"DSO Sales" 0Customer field with field 0Customer in cube 4,
"DSO Profit Center" 0Customer field with field 0Customer in cube 4 and
"DSO Finance" 0Customer field with field 0Customer in cube 4
and so on.
Am I right?
Thank you for answering!
Edited by: saplaz on May 8, 2011 2:51 PM
Edited by: saplaz on May 9, 2011 1:41 PM
Edited by: saplaz on May 10, 2011 8:35 AM -
Multiple Queries in one Report
What is the best way to show the data of 2 queries in one report?
Hi Frank,
It purely depends on the reporting needs I would say. You could simply add the two queries, create joins in Crystal Reports and drag the required fields in the details section.
The joins in this case, however, would be executed by Crystal Reports, unlike when the report is created off a Relational database.
-Abhilash -
I have two queries and I would like to output the results as
one and sort by Name ASC
Any help would be great thanksEither use union in your SQL query or use Coldfusion to
combine exisitng queries and create a new query resultset.
Something like this:
<CFQUERY NAME="getDetailsQuery1"
DATASOURCE="#DSNNAME#">
SELECT * FROM getDetailsA
</CFQUERY>
<CFQUERY NAME="getDetailsQuery2"
DATASOURCE="#DSNNAME#">
SELECT * FROM getDetailsB
</CFQUERY>
<CFQUERY NAME="getDetails" DBTYPE="query">
SELECT * FROM getDetailsQuery1
UNION
SELECT * FROM getDetailsQuery2
ORDER BY Name ASC
</CFQUERY>
Hope this helps!
Cheers / Manu. -
How can I combine three completed projects with text & sound to make one single movie?
How can I combine three completed imovie 09 projects (They all have text & sound) to make one single movie? Thank you for any help you can give.
If they are three separate projects than you will have to export all three as video files. Then you can reimport them into a new event, join them together as if they are ordinary clips, and export that.
-
Combining single Indesign files to make one file
Rather than using the "book" feature in Indesign CS2, I combine single Indesign files into one large (editable) Indesign file this way:
1. Create a NEW Indesign file and SAVE as a new name
2. Open my first existing Indesign file
3. Minimize both files and resize so they are side by side
4. Bring up the PAGES pallette on the first file you want to place
5. In the PAGES pallette, highlight (click on) page 1, hold down shift and click on the last page. This should select all pages.
6. Click and hold, drag these pages to the NEW file.
7. Open each file you wish to include, and repeat the process in the order you would like, until all files are added.
8. I keep the individual files rather than deleting (in this case it is a yearbook which individual students will be working on the following year). The only problem with this is to make sure if last-minute revisions are made to the final (all-inclusive) Indesign file, the same changes need to be made to the individual files.
The main reason I do it this way instead of creating a PDF using the book feature, is for purposes of automatic page numbering within the Indesign file, as well as having the final project in one editable Indesign file.So, you're combining all the files at the end just for the sake of page numbering (page numbering that you can do in the book files anyway), and you keep the separate files for future revision? Seems incredibly inefficient to me and offers no advantages.
Maybe you are looking for
-
I am starting a new document with CS-5 that is a pamphlet with different header and footers on the cover page, back page and internal pages. How do I designate the AA cover page, BB back page and internal A Master pages in the page menu?
-
In old version of FCPX I could easily edit in proxy mode which i found to be a quicker way of editing...all i did was goto preferences and click on playback tab and change it from original media to proxy...and i could go right into editing, and when
-
Read timed out error in IOP Ver 11.1.2.0
Hi, This is an error we encountered during one of IOP testing for a project. Wondering if someone can help us understand the real issue. Any help is appreciated. User is using the Analysis Workbench, He has created a scenario, and in one of the cubes
-
LCD starts clear, then goes fuzzy, but only for 1 user
I have a Westinghouse LCD which worked fine with an employee's Mac mini (X.3.9) until suddenly one day it was very fuzzy and distorted (illegible). I switched to a different user, and it was fine. Reset PRAM. On restart, the dock draws clear initiall
-
I have an application made in devlopment which is working fine and i jsut migrated it to production but when i am running one of the page in the app in production it si throwing this error "ORA-20001: Error fetching column value: ORA-06502: PL/SQL: n