Use the model of multiple data in one report
You can have several data model and integrated into one report?How can I do? Have some examples of how to implement this.
Yes
http://download.Oracle.com/docs/CD/E12844_01/doc/BIP.1013/e12187/T518230T518233.htm#4510518
try to create a report with the two queries.
Tags: Business Intelligence
Similar Questions
-
Create dummy records using the model cluase with date field condition
Hi all
I have two tables below:
create the table Interest_date
(
date of interest_date_field,
Number of Interest_amount
);
create the table sys_date
(type varchar2 (30),)
date_value date
);
Insert all
IN Interest_date values (to_date('01-11-2012','DD-MM-YYYY'), 20)
IN Interest_date values (to_date('01-12-2012','DD-MM-YYYY'), 40)
IN Interest_date values (to_date('02-01-2013','DD-MM-YYYY'), 60)
IN Interest_date values (to_date('01-06-2013','DD-MM-YYYY'), 80)
IN Interest_date values (to_date('01-07-2014','DD-MM-YYYY'), 10)
IN Interest_date values (to_date('25-11-2014','DD-MM-YYYY'), 20)
INTO SYS_DATE VALUES ('FIRST_DATE',TO_DATE('01-06-1900','DD-MM-YYYY'))--note: the year is not important but the date is used for other
INTO SYS_DATE VALUES ('FIRST_DATE',TO_DATE('01-12-1900','DD-MM-YYYY'))--note: the year is not important but the date is used for other
Select * twice;
Requirement:
I need to write a select statement that retrieves all the records in interest_date and add a dummy record according to what follows:
-in NO case of JJ - MM interest_date_field for a given year (year group) = DD - MM of the date_value in sys_date where the type is "FIRST date"-> add a dummy record (date_value for type FIRST_DATE yyyy = year of interest_date_field, - 1)
-in NO case of JJ - MM interest_date_field for a given year (group by year) = DD - MM of the date_value in sys_date where the type is 'SECOND DAY'-> add a dummy record (date_value for type SEOND_DATE yyyy = year of interest_date_field, - 1)
Desired output:
Interest_date_field Interest_amount
06/01/2012-1
11/01/2012 20
12/01/2012 40
01/02/2013 60
06/01/2013 80
12/01/2013-1
06/01/2014-1
07/01/2014 10
25/11/2014 20
01/12/2014-1
Thank you very much
Ferro
Why not combine the first with the second approach:
with the years as)
Select distinct
TO_CHAR (interest_date_field, "YYYY") y
of Interest_date
)
year_dates as)
Select
to_date(y||) MD, 'YYYYMMDD') d
years
(to_char(date_value,'MMDD') md by selecting in SYS_DATE)
)
Select
I have interest_date
an interest_amount
of interest_date
model
dimension (interest_date_field i)
measures (Interest_amount a)
rules)
a [for i (select year_dates d)] = nvl (a [cv ()],-1)
)
i order
-
How to apply the model to multiple pages at once?
My site has about 4000 pages, I want to apply the template to all existing pages at once. Is there a procedure of application of the model to multiple pages.
Please suggest me.
I had the same problem and although it is a very old thread, I would like to share my solution with those who find this via google, too (like me):
Follow these steps:
- Open the files in a text like Sublime edtor (impossible in Dreamweaver when the model area is locked).
- Use the "Find and replace" to replace each text with the name of the new-model
.dwt .dwt in open files. - Save files.
- Inside Dreamweaver go to 'Edit' > 'Models' > 'update Pages. In the dialog box, select "Find in files" and choose the name of the former model and click on 'start '.
If there are areas of the unequal model, there will be one or more dialog boxes where you can select how DW must correspond to these regions (for all files).
Source: WikiHow > How to apply a template Dreamweaver to several files
-
Create a target table by using the model of the ODI
Hi all
I am new to ODI. I'm try export table RDBMS for source RDBMS table at target.
If we create the structure of the target in the trg schema table or we can create using the model fit obi by selecting new data store.
Owb loading target tables is created and the data will be loaded.
Pls help me about this.
Thanks in advance.Hello
You can create it in the two ways.if you create using ODI data store, you must select Create table option target in flow during loading of the target. -
How and where can I find my Macbook Pro using the model number
How and where can I find my Macbook Pro "using the MODEL number" NOT the serial NUMBER please...
Hello world:
I would like to know more about my MacbookPro using model # is if there is a website or a program that I can type my model # so she'll tell me more on my computer...?
-
have a hp 1287c windows 7 tries to use the model of hp 5302 keyboard does not respond
try to use the old Hp keyboard model 5302 was for windows 2000 did not know if could use when I plug computor does not recognize he wonding if possible to work?
45fmj
Hello
Well, the keyboard is now very cheap, the converter may not work correctly. After 16 years of him please give a rest.
Kind regards.
-
CS6 using
T-Shirt Designing (1): how to make the white box more wide inside the shirt (using the model of t-shirt)?
Well, I learned that I can go to file > new from the template > blank template > T-shirt to start to create a design for my t-shirt.
It shows a small picture of the t-shirt with a rectangle in the middle that also represents the large rectangle (where I create my design).
Question, am I suppose to create the right design in the large rectangle?
2nd... I figured out how to adjust the length and width of the largest rectangle (through the corners, then clicking on it to open the section length/width at the top of the screen). However, when I adjust the height and width, is not the same for the rectangle inside the shirt.
What I'm trying to do, is ensure that my design takes more than forward of the sweater by expanding the width.
How to make the small rectangle in the large t-shirt too?
Hello
The small rectangle in the t-shirt line drawing is a guide. So, what you need to do is unlock guides, remove the small rectangle and create a new.
(1) go to the view > Guides > release Guides. You will now be able to edit the guides, which are light blue in my document.
(2) just so that you know what I'm talking specifically, open the Layers panel and place you on the Guides layer. Click the arrow next to reveal the guides within the layer. I locked all the other layers in the document to make it easy for me.
(3) select the small rectangle, and delete.
(4) use the Rectangle tool to draw a new in size.
5) option click on the new rectangle to open a launcher. Select make Guides.
You now have a guide again, larger rectangle! Let me know if you have any other questions.
-
Using the index of multiple values
Hi guys,.
Trying to assess the benefits of the addition of index of multiple values, a quick question on the index of multiple values:
Here's my content from the cache:
Key (EmpID), value [employee (age int, double salary, Department of String)]
(1, new employee (25, 35000.0, "Admin"));
(2, new employee (22, 30000.0, "Admin"));
(3, new employee (34, 40000.0, 'Communications'));
(4, new employee (36, 41000.0, "Admin"));
(5, new employee (36, 42000.0, "HR"));
(6, new employee (29, 30000.0, "HR"));
(7, new employee (51, 50000.0, "BackOffice"));
(8, new employee (36, 35000.0, "HR"));
(9, new employee (46, 45000.0, "Admin"));
(10, new employee (48, 47000.0, "HR"));
If I still want to find all employees in the 'Human resources' Department and whose salary is more than 35000.
Eventually, I would like to do the following:
ValueExtractor salExtractor = new PofExtractor (Integer.class, 2);
ValueExtractor depExtractor = new PofExtractor (String.class, 3);
cache.addIndex (salExtractor, false, null);
cache.addIndex (depExtractor, false, null);
EqualsFilter departmentFilter = new EqualsFilter (depExtractor, 'HR');
GreaterFilter salFilter = new GreaterFilter (salExtractor, 35000);
Filter allFilter = new AllFilter (new filter [] {departmentFilter, salFilter});
Employees value = cache.entrySet (allFilter));
For my usecase above how can I use the indexing of multiple values to the same query?
ValueExtractor salExtractor = new PofExtractor (Integer.class, 2);
ValueExtractor depExtractor = new PofExtractor (String.class, 3);
MultiExtractor mExtractor is new MultiExtractor (new ValueExtractor [] {salExtractor, depExtractor});.
cache.addIndex (mExtractor, false, null);
But how can I use the extractor to create multivalued filter queries for employees in the Department of human resources with greater than 35000 salary? Any ideas are much appreciated.
Thank youD wrote:
Hi guys,.Trying to assess the benefits of the addition of index of multiple values, a quick question on the index of multiple values:
Here's my content from the cache:
Key (EmpID), value [employee (age int, double salary, Department of String)]
(1, new employee (25, 35000.0, "Admin"));
(2, new employee (22, 30000.0, "Admin"));
(3, new employee (34, 40000.0, 'Communications'));
(4, new employee (36, 41000.0, "Admin"));
(5, new employee (36, 42000.0, "HR"));
(6, new employee (29, 30000.0, "HR"));
(7, new employee (51, 50000.0, "BackOffice"));
(8, new employee (36, 35000.0, "HR"));
(9, new employee (46, 45000.0, "Admin"));
(10, new employee (48, 47000.0, "HR"));If I still want to find all employees in the 'Human resources' Department and whose salary is more than 35000.
Eventually, I would like to do the following:
ValueExtractor salExtractor = new PofExtractor (Integer.class, 2);
ValueExtractor depExtractor = new PofExtractor (String.class, 3);
cache.addIndex (salExtractor, false, null);
cache.addIndex (depExtractor, false, null);EqualsFilter departmentFilter = new EqualsFilter (depExtractor, 'HR');
GreaterFilter salFilter = new GreaterFilter (salExtractor, 35000);
Filter allFilter = new AllFilter (new filter [] {departmentFilter, salFilter});
Employees value = cache.entrySet (allFilter));For my usecase above how can I use the indexing of multiple values to the same query?
ValueExtractor salExtractor = new PofExtractor (Integer.class, 2);
ValueExtractor depExtractor = new PofExtractor (String.class, 3);
MultiExtractor mExtractor is new MultiExtractor (new ValueExtractor [] {salExtractor, depExtractor});.
cache.addIndex (mExtractor, false, null);But how can I use the extractor to create multivalued filter queries for employees in the Department of human resources with greater than 35000 salary? Any ideas are much appreciated.
Thank you
I remember, values multiple index refers to a different concept: a multivalued index means that you can retrieve a collection of values of similar role of an attribute on which you can do Contains, ContainsAll filtering, and ContainsAny.
In this case to fully the lever consistency of querying capabilities, you would
- either add a sorted index with a custom comparator that compares the tables containing a salary and a Department on a first salary so the base of the Department and add a filter custom which is able to take advantage of the index for the request for the salary and also able to filter on the element of the array of index service
-Add two independent indices (a sorted index of wages and a unsorted for the Department), in which case you can leverage all existing (GreaterThanFilter, EqualsFilter and AndFilter) codeBest regards
Robert
-
How to use the TRUNC function with dates in the expression builder in OBIEE.
Hello
How to use the TRUNC function with dates in the expression builder in OBIEE.
TRUNC (SYSDATE, 'MM') returns 1 July 2010"where sysdate is July 15, 2010 ' in SQL. I need to use the same in the expression builder in the logical layer mdb column.
Thanks in advanceUse it instead:
TIMESTAMPADD (SQL_TSI_DAY, (DAYOFMONTH (CURRENT_DATE) *-1) + 1, CURRENT_DATE) -
Using the procedure to display the table of multiple data
Hi, I need help for the procedure in oracle
I want to create the procedure to display the table of multiples with sample plan
with a parameter imployee_id to display an employee_id, name, function, start_date, end_date
IAM using this query to select more than one table
SELECT e.employee_id, e.first_name, j.job_title, h.start_date, h.end_date
E EMPLOYEES
JOIN j jobs
ON j.job_id = e.job_id
JOIN the job_history:
ON h.employee_id = e.employee_id
WHERE e.employee_id = 200;
Thanks for the help
Blu and Billy showed you the 'real' solution. You can display the data returned by a cursor ref in SQL Developer, too:
http://www.thatjeffsmith.com/archive/2011/12/SQL-Developer-tip-viewing-refcursor-output/
Yet as a duty for a beginner is generally do not have the expected solution. Usually, teachers want to see you using a LOOP and dbms_output. something like
DECLARE
Xy CURSOR IS
SELECT whatever
As much as;
BEGIN
FOR r IN xy LOOP
dbms_output.put_line (r.col1 |' # ' | r.col2);
END LOOP;
END;
Of course this suggestion will inaugurate a discussion abusing DBMS output but I keep my position that it is authorized to use it for learning the basics.
-
Merges multiple data on one page
I created a post card that I need to be sent to customers. To save money, we put three postcards on 12 x one 18 sheet of paper. I'm putting three mergers of data on each sheet for the addresses of customers. Is this possible? I can provide a picture if necessary.
Hi ryaniscreative,
It is quite possible, as I often do for the variable data on labels Avery labels. However, our printer should be able to get this done for you automatically if you print this digitally. Our Canon printers have the ability position (front and back) 2 - up, 3 copies files, etc. I don't know that this is the case for most digital printers on the market. Ask your printer and they should do it automatically, in which case you build the file at full size and merge data as usual.
Never-the-less, here's how do it manually:
1. create your 12 "x 18" document in InDesign CC (2014).
2. drag your postcard art 12 "x 18" paper and create crop marks manually for this model of postcard art.
3. position the art of model of post card in the upper left corner of the document.
4. card all of your variables as usual in this art of model of a postcard on the two pages to your. CSV file.
5. in your data merge Paletteand in the Drop Down Menu in the upper right hand corner, select create a new Document merged.
6. in the section of documents for the Page of the Document , select multiple records and then at the bottom of the dialog box select Overview several cliché registration.
7. click on the multiple record layout tab.
8. adjust the margins and the spacing between the columns in the dialog boxes depending on your intention of positioning and design specifications.
9. press the OK button so that InDesign can start to create a merged document on all of your variables.* list *.
* If you just want to generate a PDF file then in step 5, instead of select Create a merged Document hit export to PDF.
NOTE: This is possible with a unilateral design. If you need to print graphics across the postcard (for purposes of dissemination of course), you will have to do this process again exactly the same way, in another document InDesign manually create pages between existing on the front pages and then paste in place, to another InDesign document.
-
Pages export to Word using the model of NEWSLETTER, issue 1 of page spacing
QUESTION: Anyone know if model NEWSLETTER (and or Museum Brochure) correctly export to .docx and how delete images or change the text boxes using these models so that I am still able to export properly?
I used the NEWSLETTER model, whose Pages can export to .docx and then import to .docx (I don't know if that Word can do, but Pages indicates it would be).
Problem: after the header of the newsletter, I removed the photo and have floating only the areas of text underneath. I have two pages, the 2nd page export perfect (a page break separates it from the first). On the first page, there are 12 small boxes in two columns under the heading who generously and easily fit on the first page. It is not unlike the model I have, however, but with no photos. I've seen many templates use these 'boxes' in support of the columns of text on a page, I don't think the floating box would be a problem. However, I like the wish of floating boxes to learn how to use them so that they "work".
I saw immediately that the text boxes, I added, when export and imported .docx, lose their place and float under the heading (NEWSLETTER) (superimposed text, bad page layout).
I noticed the paragraph (carriage return, Enter) symbols, while I moved around text boxes, had become interlaced between the boxes, but not all - 1/2 at the bottom of page. I then noticed that attempt to remove the superfluous paragraph runs in .pages (after repositioning all the boxes), but aggravated .docx, also the Pages do not leave even to remove the first symbol (it mystifies me, because the models do not appear to use paragraph at all except inside the floating boxes).
Finally, I added enough symbols paragraph so that there was a conflict between each text box, but not as much as Word decide to add a blank page. I had to make sure the columns are too wide - they should be 1/4 "part we will tell. THAT APPEARED TO WORK. Pages exported and imported it point by point I was happy.
But when my Advisor job achieved and open in Word (the one for Windows 7), the SAME problem, I had before setting the transport returns appeared: the two decoders or four are overlapping the title, and set the person must have inserted transport returns before the first text box to move it all down (which seemed to work - but failed as an export and no not to use practice later). 'good work '. Fortunately, I also have attatched a PDF export, however the person had asked to change their PLU using high government dell.
QUESTION: Anyone know if model NEWSLETTER (and or Museum Brochure) correctly export to .docx and how delete images or change the text boxes using these models so that I am still able to export properly?
Thank you hope that your next print job loose its staples.
Well, we have said for years in this community if you want stressless, architecture native document exchange with Windows Word users that you need to use the most recent Word available on the Mac.
Pages is not a clone of Word, and Apple does not guarantee that the open translation process / export from/to the architecture of document Word will remain faithful to the original of the document formatted.
In response to your questions:
- If you have document objects in a model with x on their border, and then the object is locked. You visit the tab Pages to reorganize v5, and downstairs you can unlock these objects for further editing, or deletion.
- It is advice that we can give here will make sure Pages exports specifically to the word he already did not. The logic of translation is connected to demand, and it is the price of roulette.
- Continue the first paragraph.
-
Dial the node library with cluster table feature using the pointer of table data
Hi all.
I am writing a wrapper of LabVIEW for an existing DLL function.
The service was, as one of its parameters, an array of structures. The structure is very simple, containing two integers. I use the call library function node to access.
In Labview, I created an array of clusters, when the cluster has two integers of 32 bits as members. So far so good.
Now, I have to pass this in the node library function call. I use here in trouble.
I used the LAVA so the topic in the knowledge base as my main sources of information, although I read a lot of topics in the forum on the subject too.
I don't understand I could write a new function that takes as a parameter a struct with the size as the first member and an array as the second, and I might just do this and do call the regular service, but I was hoping to do more simply.
The file function C LabVIEW generates for me the COLD Lake when I choose "To adapt to the Type" and "Data in the table pointer", the prototype he expects is:
int32_t myFunc (handful of uint32_t, uint16_t channel,
int32_t FIFOnumber, Sub data [], int32_t numWords, int32_t * actualLoaded,.
int32_t * actualStartIndex);And the prototype of the function in my DLL is
int myFunc borland_dll (DWORD channel, channel of Sina,)
FIFOnumber int, struct mStruct * data, int, int numWords * actualLoaded, int * actualStartIndex);It sounds like a match for me, but it doesn't work (I get garbage in the data). The topic referenced above LAVA, I realized it would work. This isn't.
If I have to cast the data to the pointer-to-pointer I get when I generate c code in my wiring to a CIN struct and by generating, then I seem to get what I expect. But it seems to work when I choose "pointers to handles" too, and I'm expecting data table pointer to give a different result.
Is it possible to get it works directly, or I have to create a wrapper? (I am currently using LabVIEW 2011, but we have customers using 2009 and 2012, if not other versions as well).
Thank you.
Batya
-
How to use a regular expression using the model concept and match for this scenario?
Hi guys,.
I have a string "we have 7 tutorials for Java, 2 tutorials for Javascript and 1 tutorial for Oracle.
I need to replace the numbers based on the condition below.
If more then 5, replace with many
If less than 5 then replace by a few
If it is 1, replace by "only one".
Here is my code, I'm missing the part equates to replace the numbers could one of please help me solve you this.
private static String REGEX = "(\\d+)"; "
private public static String INPUT = "we have 7 tutorials for Java, 2 tutorials for Javascript and 1 tutorial for Oracle."
String pattern = "(.*) (\\d+)(.*)";
private static String REPLACE = "replace with many";
Public Shared Sub main (String [] args) {}
Create a model object
Model r = Pattern.compile ("REGEX");
Now create object match.
Matcher m = r.matcher (INPUT);
Change the value to 7 by the replacement string
How to assimilate (\\d+) greater than a number and use the code below.
ENTRY = m.replaceAll (REPLACE);
Print the final result;
System.out.println (Input);
Thank you and best regards,
Hello
Try the following makes use of 'appendReplacement"instead with the methods 'start' and 'end' to locate and check the search string"regExp"before dynamically set the string"replace ":
String regExp = "\\d+"; String input = "We have 7 tutorials for Java, 2 tutorials for Javascript and 1 tutorial for Oracle"; String replace; Pattern p = Pattern.compile(regExp); // get a matcher object Matcher m = p.matcher(input); StringBuffer sb = new StringBuffer(); while (m.find()) { Integer x = Integer.valueOf(input.substring(m.start(), m.end())); replace = (x >= 5) ? "many" : (x == 1) ? "only one" : "few"; m.appendReplacement(sb, replace); } m.appendTail(sb); System.out.println(sb.toString());
HTH.
Kind regards
RajenPS: Please mark as answer/useful if it solves your problem to the benefit of all members of the community.
-
Clone a model on multiple data centers
So here's the scenario:
In my vcenter, there are two data centers. In a Datacenter (B), that we have our systems development and the other data center (A) are our production environments. Must often make a clone of a (B) VM and clone a VM (A) through. We have a process of the method we use to move our VMs. I'm powerCLI throughout the process in order to save on some manual cloning time. This is our process:
1 clone a VM (B) direct and take from the Datacenter (B) under the "DEV" folder, under this is a subfolder 'AppServer' where the virtual machine "DevAPP" exists and it a clone of this subfolder in another subfolder in 'AppServer' also called ' ~ DEV (B) to (a) staging of Clone.
2. once the clone "Date of DevApp_today" is realized in the "~ DEV (B) to (a) staging of Clone" remove us the NIC 1 and then convert it to a template.
3. once it is converted to a template with the name 'Date of DevApp_today' clone us over the back (B) data center "~ DEV (B) to a Clone (A) Organization" (A) record data center "(B) to (a) staging of Clone.
4. once the 'Date of DevApp_today' model in the data center (A) convert us into a virtual machine and and add the NIC, assign VLAN appropriate and then activate connected to power on.
5. once the network card on the virtual computer we then convert back to a model and deploy him 11 VMs with the customization files to configure the virtual machine.
Most of the time steps 1 and 2 I can script fairly easily, and the 4 and 5, my biggest problem is step 3. What I've tried is by using the New-model command.
Example: New-model -model 'Date of DevApp_today' -location a Datacenter in English (common name) VMHost - $HostA (a host in A data center) -data store $Data (storage in A data center) DiskStorageFormat - Thin -RunAsync-confirm: $false
It works to get the center of data (B) (A) data center model, but he falls into the root of the data center (A). I know it's because in - place I put 'A' there, but I do not know in any case to decompose from there to drill down to the data center (A) subfolders. If I put the subfolder "(A) (B) (a) staging of Clone" it's all just a stink about how I already have a template of this name and it must be cloned in the same data center. Meanwhile once it reaches the root of (A) I have just run a Move inventory on the template to move to "(B) to (a) Clone staged."
I have necessarily need a whole script created for me, I just want to know how to move the model obtained in (B) (a) without him having to be abandoned in the root (A), move inventory
Not sure about the quotes or not, but may be necessary
Maybe you are looking for
-
How to view the queue up next with the new IOS 10?
I made the mistake to get the iPhone 7 which still has the update ios 10 (update worse!) and I don't know how to do something! I managed to find out how to add songs to my next up but I have no way to see them or rearrange them. If someone knows how
-
Error with software analyst applied Biosystems Qtrap EABO of Bird
Hello I have a mass spectrometer Applied Biosystems/AB Sciex Qtrap 2000 which used a card FOR Gbspecifications OR for communication. The MS is very good, but when I try to acquire data, Analyst software gives an error "failed to acquire data. I just
-
The dep feature seems to only activate spasmodically for Windows live. Y at - it a version compatible dep or do I just disable it for Hotmail?
-
How to change the paper size for printing double-sided 6500plus HP
I have an Officejet running on Windows XP 6500plus. Whenever I try to print a page of standard size (8.5 x 11), I get the following message: 'Too short paper for duplex', I can press "continue to print the document." I would like to be able to remove
-
VFR remote access of consciousness - 433-reason: (reason unspecified peer)
Hello I get this error if I connected to the Cisco IOS router (Version 15.1 (4) M3) with Cisco VPN Client (5.0.07.0410): Secure VPN connection terminated by a peer. 433 reason: (reason unspecified peer) Debugging is in the attachment. I can find no r