Want to combine two tables with different numbers of lines 2d
I'm out data in a file in 2d tables, then adding more as it goes, and I run into issues when the size changes.
2D arrays must be of rectangular shape, so those empty space you have it will be filled with the default value of any data type you are using. See attachment for the concatenation of tables:
Tags: NI Software
Let assume that I have an analysis with columns: group_id and sales.
On this basis I would like to create two tables: table1 where group_id = 1 and table2 where group_id = 2.
OBIEE is able to do?
You can do it in a single analysis, but you have to have the column with group_id twice.
Bring, group_id_1, group_id_2 (same column), sale
Now in table 1.
bring group_id_1, sales
Then in the selection steps for group_id_1-> select members-> Action choose keep only-> choose the value of the filter 1
This will filter the table 1 with group_id 1
In table2 group_id_2 porter, sales
Then do the same step for group_id_2 with the value 2.
You now have two reports with different filter in the same report.
If you want you can keep the same name column for the two columns group_id, I just kept group_id_1, group_id_2 for easy reference.
I want to put two tables on a page with two columns how can I do this?
It depends on what application you are using.
If you use Word, then a good way would be to create a single table of 5 columns, check the borders of the invisible middle column so that it appears to be two separate tables. You will need to do the same thing for unused cells downstairs as well.
To get the best advice on Office-Word questions, use the forum not the Windows 7 Office forum that you do. Look at the top of this page, just below the logo MS Answers and click on Forums , then select desktop. Once there, you can select Word. By using the forum Office will give you a better chance to find a solution to your problem, as it is inhabited by people who know much about their topic. Search the Forum of office for the topic, then, if no notice is found, ask your question here instead of this.
As part of my design of data mart, I have merged the tables in one "makes the incident (227 columns)" and insert records from two tables with a join condition between them [incident. IN_NUM = Unit.IN_NUM].
Is this correct, is my question? or am I mix data sources with different granularity in the same fact table. Appreciate your help.
Are the measures of the 'Incident', repeated during an incident given, in more than one record in the table of the unit? If so, then the sum (indicent.measure) will give an incorrect result?
What is there to merge physically tables set outside OBIEE? With OBIEE you might have a table of 'facts' logic to present the user with report, which from tables separated units and Incidents and would stop the occurrence of incorrect aggregations. A common piece of modeling in the same way would be arrested in OBIEE headers and lines of command, quite common to have a logical fact 'orders' which contained the two header orders and order line, this translates into the Incidents-> relationship of units.
To do what I mentioned, is relatively simple, you need a "Dim - Incident" at two levels, unit, mapp and Incident unique identifiers as keys to level and then use these levels to define the content of the levels correctly in your 2 tables logic sources logic "done", IE the LTS Incidents at incident level LTS units as level of units.
Hope this helps, let us know if you get stuck.
See you soon
Maybe I forget what is obvious, but I can't find a solution to combine two tables 1 d in a 2D array AND (it is the impossible part for me) using the tables columns instead of lines.
Table 1:1, 2, 3, 4
Table 2:5, 6, 7, 8
Result: 1, 5
The 'build array' function seems to add all tables as lines... I guess I could transpose the table, but I want it runs in a Subvi in constructions of different loop and I feel a little uncomfortable with it - I guess one would be left with a completely mixed table. I was maybe blind just to find the right function?
by default, LV is combining tables in rows. So when you need columns you must transpose the sets or use a different indexing scheme...
I have a loop 'for' which can take different number of iterations according to the number of measures that the user wants to do.
Inside this loop, I'm auto-indexation four different 1 d arrays. This means that the size of the tables will be different in the different phases of the execution of the program (the size will equal the number of measures).
My question is: the auto-indexation of the tables with different sizes will affect the performance of the program? I think it slows down my Vi...
Thank you very much.
My first thought is that the compiler to the LabVIEW actually removes the Matlab node because the outputs are not used. Once you son upward, LabVIEW must then call Matlab and wait for it to run. I know from experience, the call of Matlab to run the script is SLOW. I also recommend to do the math in native LabVIEW.
I want to compare two tables containing a cluster with several groups in it. When you use the equal the result is the same pattern as the cluster of entry. But I just need a true or false. It doesn't bother me that it changed on position 1 or any other position.
Is there an elegant way to do it?
Thanks for any help.
Right-click equality and change to compare aggregations. That, or add a table and later.
In the first Pro CS6, is it possible to use two sequences with different parameters?
Yes, no problem.
You can make as many sequences with different settings as you want.
I have two tables as below:
Country | Prefix | Prefix_Length
Travel | 001 | 3
CountryB. 0012 | 4
PaysC | 00443 | 5
CountryD | 0091 | 4
:(Detail Table) table2
The population | Area | Prefix
500 | AreaA | 0015921
1000 | AreaB | 00122
400. AreaC. 00443743
300. ALIS | 0091333
100. AreaA | 001
I need to match these two tables with prefix columns (whose length is not fixed in the two tables: but it starts with 00 in the two tables). Two different countries the prefix may be similar up to a certain length. Thus, Prefix_Length can be used to determine (exactly) how much time should be taken in the search of Table2.
Country | Prefix | Area | Population
Travel | 001 | AreaA | 600
CountryB. 0012 | AreaB | 1000
PaysC | 00443 | AreaC. 400
CountryD | 0091 | ALIS | 300
Please help me with your valuable comments.
with base_table as ( select 'CountryA' country,'001' prefix,3 prefix_length from dual union all select 'CountryB','0012',4 from dual union all select 'CountryC','00443',5 from dual union all select 'CountryD','0091',4 from dual ), detail_table as ( select 10 no_of_call,'0015921' prefix from dual union all select 3,'00122' from dual union all select 50,'00443743' from dual union all select 50,'00443643' from dual union all select 300,'0091333' from dual union all select 60,'001' from dual ) SELECT country, prefix,sum(no_of_call) FROM ( select country, b.prefix,no_of_call, decode(no_of_call,lead(no_of_call,1,0) over(partition by no_of_call order by b.prefix,no_of_call),'y','n') y_or_no from base_table b, detail_table d where b.prefix = substr(d.prefix,1,prefix_length)) where y_or_no !='y' group by country, prefix order by country, prefix;
Published by: Vi on 20 February 2012 01:07
I want to insert two tables at the same time (with a single request) provided that both records get inserted with the same identifier. How can I do this?
(a) insert in the first table, retrieve the id (can be using
Table Movies id name Table Category movie_id cat_type
and then insert into another table.
question: He brings three queries to the Database, I also suspect that when several people trying to insert there is a problem, I could be wrong.
I have no other idea.
think you need to do as an anonymous pl/sql block.
Dim cn As New OracleConnection("DataSource = xx'; user id = xx; password = xx;") Try 'build the anonymous pl/sql Dim sb as New System.Text.StringBuilder sb.Append("declare") sb.Append(" l_N number;") sb.Append("begin") sb.Append("insert into movies (id,name) values (my_sequence.nextval, 'film1') returning id into l_N;") sb.Append( "insert into category values (l_N, 'Category type');") sb.Append(" END;") 'create commd object Dim cmd as New OracleCommand(sb.ToString,cn) cmd.Connection.Open() cmd.ExecuteNonQuerry() cmd.Connection.Close() cmd.dispose() Catch ex as Exception blah blah blah End try
Published by: pollywog on May 28, 2010 10:48
Published by: pollywog on May 28, 2010 10:49
I need to create a report script to extract data from two years with different months.
For example: 2009: seven to June
2010: July to December
How can I combine two of them in the script for a single report?
Set up your first extraction for 2009: seven to June
Finish with the bang (!)
Then add in the second extraction for 2010: July to December
Finish with the bang (!)
Essentially two separate report of scripts, but if you put them in one, separated by a bang. It will work one after the other, in the same report, issued to the same file script.
This will accomplish what you're asking.
This should be simple. I want to compare two tables (5 items) and return a single Boolean value (T/F), not an array of Boolean.
Right click on the comparison, the comparison mode, select compare the aggregates.
Can I vMotion VM between two hosts with different version? For example, a virtual machine of esxi 6.0 5.5 esxi and esxi esxi 6.0 5.5 vMotion.
Yes, it will avoid you to move.
I can VM vMotion (without shared storage) between two hosts with different vSwitches standard? The vSwitches on these two hosts have different names and number of NIC, but have the same name of portgroup.
Yes, you can in a Storage VMotion to one Esxi to another with no shared storage...
It is important the portgroup bears the same name... This is the reference for the VM...
Why I get two files with different names but the same image when I save in 2015 CC Photoshop?
Try resetting the PS preferences - Preferences in Photoshop
Maybe you are looking for
I'm working on a clients M40x and the hard drive broke down and I would like to replace it and I have some options and I was wondering if they will work. Currently, there is a MK6025GAS in which is fried. Below are the options I have. 1 MK6034GAX2 MK
This book has bluetooth? Thank you.
the dell photo printer 720 32-bit vista driver work with xp?
Hello everyone. I have an ea4500 wireless router, I tested the speed at speedtest.net and wireless, I get around 9 Mbit/s. My speed is 23 MB/s when I hard wired the pc. I check the speed on a Tablet (), pc and a mac about 5 feet away from the router
I am trying to install a wireless printer from Brother on my laptop which is running Vista. I also have a desktop that runs XP. I have not had any problems for the printer set up and running on XP. However, on Vista, during the installation of the Br