2-Dimensions matrix
Hi,
i've created a UDT with a primary key composed of 2 fields and a numeric field corresponding to a couple values of these 2 fields.
Now i need to create form associated to this table, and normally it must be a 2-dimensions matrix, with on columns the 1st key field values and on lines the 2nd key field value, and on cells the numeric value.
Is it possible to do this using the given matrix control of the UI API, or i need to implement it differently.
Help appreciated.
Thx in advance
Mongi HAMMAMI
Hi Mongi,
sure. You can also connect/link a UDT on a DBDatasouce like it is shown in the SDK Samples.
Similar Messages
-
Dynamic Programming with 2-D Arrays Possible in Oracle 10g or not?
Hi all,
Is there are 2-D arrays in Oracle? and when not, how can I implement any Dynamic Programming Algorithm (An [Knapsack Problem|http://en.wikipedia.org/wiki/Knapsack_problem] ) on data that I have
Thanks in advance
Edited by: ZiKaS on Dec 28, 2008 7:10 AMHello,
By combining single dimension collections you can build 2,3 or x dimension matrix:
Declare
type typ_int is table of integer index by binary_integer ;
type typ_tab_int is table of typ_int index by binary_integer ;
my_table typ_tab_int ;
Begin
for i in 1..10 loop
for j in 1..5 loop
my_table(i,j) := i * j ;
end loop;
end loop;
End;Francois -
Hi everyone,
What are the necessary steps required for Essbase design?
What is the difference between Essbase design phase and essbase build or coding phase?
Thank youYou should identify the process requirements and query patterns of the users.
Prepare the report-dimension matrix and process flow document.
Then you can arrive at the Dimensional Model that serves the user requirements.
Model means dimensions and members and the intermediate consolidations required.
Identify the rules required for mapping and calculations.
Prepare a Source - Model - Reports mapping document.
This is a tool that will validate whether your model is capable of delivering requirements.
Then setup a prototype.
Implement the required as supported by Essbase.
Push the prototype to users for their verification.
Based on the feed back you can feel you are going in the right direction.
Then You can step up further to the development.
Tuning, UAT, Roll out and Go-Live support are common. -
How to set the dimension of main page windows for std dot matrix printer
Hi All,
I have to print a form in a pre- printed form which is coming from the standard dot matrix printer( 80 column).
In the Sap script how i will define the dimensions of main page window .
The printer is in US . How i can sets the page dimensions .
reward point will be provided.
RegardsChange SEQUENCE = "213" to SEQUENCE = "218" in the Task ID Field component. That will solve the issue.
--Shiv -
Hi all,
I have a beautiful matrix build with Jdeveloper.
But :
1) i want to allow users to choose the hierarchy of my dimension in the row header (my dimension have two differents hierarchies)
2) In the page items, i have a dimension, but only the top level is visible. So i have a list box with one item.
Strange...
Solutions ?
Thanks to everybody of this good forum.
YannIn both cases it sounds like you want/need to provide your users with access to the QueryBuilder in your application. This is where they could change the hierarchy used for a particular dimension. For #2, it sounds like you just need to refine your query to include the dimension members you want available in the page.
I hope this helps. -
Matrix in java using two dimension array
hi!
Everybody here's a problem I have cpould any body out there give nice piece of sourcr code for "matrix in java using two dimension array"I have to give a presentation how it works.Yes I'd appreciate as many example as possible
If anybody can??
Please help
regards
ardentnice piece of sourcr
code for "matrix in java using two dimension
n arraySure,
int[][] matrix = new int[5][5];
That declares a two-dimensional 5 by 5 array with integer elements. All elements are initially 0.
For further information check you favourite Java textbook. -
Matrix with different dimensions for each column
Hi,
I would like to have a matrix with different dimensions (rows) for each
column, for example, I want the first column has 3 rows, the second one
5 rows, the third one 10 rows, and so on.....
With a simple array it is not possible, and then I make an array (for
my columns) of clusters and each cluster has another array (rows for
that column). Is it the best way to do it? Is it correct?
Thanks,
ToNi.Yes, everything we told you in this old thread is still true!
LabVIEW Champion . Do more with less code and in less time . -
Matrix-like PKs based on three optional IN-constrained strings?
Hello,
I have a DB of actions that I want to represent. I want to model a number of actions as you know them from classic GUIs:
open
openFile
saveAs
exportToDirectory
reverseEngineerFromDatabase
As I analyzed the problem, I came to the conclusion, the keys above (which they ultimately are) have at least three parts:
1. an action: VARCHAR(20) CHECK (action IN ('open', 'save', 'export', 'reverseEngineer', ...))
2. a preposition: VARCHAR(4) CHECK (preposition IN ('as', 'to', 'from', ...))
3. a target: VARCHAR(20) CHECK (target IN ('file', 'directory', 'database', ...))
So the rule to construct the final key would be:
<action> + <preposition> + <target>
to model all sorts of combinations/permutations (forget about uppercasing the preposition and target if there for a moment).
As you can see from the strings, I have three dimensions of predefined values from which I construct the final key. Not every combination is possible, I want to represent valid combinations by an extra table having entries like:
INSERT INTO ValidActions ('open', '', '')
INSERT INTO ValidActions ('open', '', 'file')
INSERT INTO ValidActions ('save', 'as')
INSERT INTO ValidActions ('export', 'to', 'directory')
INSERT INTO ValidActions ('reverseEngineer', 'from', 'database')
My question is now:
How do I solve this, given that the PK is composed of ... PRIMARY KEY (action, preposition, target) ... and that an action has an OPTIONAL preposition and target? I have not come to a final decision, but I might relax the action to be optional, too, and then demand that either <action> OR <target> MUST be set.
How do I model matrix-like composed PKs consisting of a number of optionals? I currently see no other way of adding empty strings '' to the check constraint, however AFAIK Oracle does not make a difference between NULL and the empty string ''. How would such a solution look like?
I could use the final string as PK, but how do I make sure that string consists of the predefined ones only?
Karsten
PS: note action and target are actually two separate tables.What about using a model like this? I used surrogate keys because I wasn't sure if the ACTION, PREPOSITION and TARGET values were truly immutable. You could easily remove these from the model and use the respective columns as the PK for each table.
DROP TABLE ACT_PRE_TAR;
DROP TABLE ACTIONS;
CREATE TABLE ACTIONS
ACTION_ID NUMBER PRIMARY KEY
, ACTION VARCHAR2(15) NOT NULL
, CONSTRAINT ACTION#UNQ UNIQUE (ACTION)
INSERT INTO ACTIONS VALUES(1,'open');
INSERT INTO ACTIONS VALUES(2,'save');
INSERT INTO ACTIONS VALUES(3,'export');
INSERT INTO ACTIONS VALUES(4,'reverseEngineer');
DROP TABLE PREPOSITIONS;
CREATE TABLE PREPOSITIONS
PREPOSITION_ID NUMBER PRIMARY KEY
, PREPOSITION VARCHAR2(10) NOT NULL
, CONSTRAINT PREPOSITION#UNQ UNIQUE (PREPOSITION)
INSERT INTO PREPOSITIONS VALUES (1,'as');
INSERT INTO PREPOSITIONS VALUES (2,'to');
INSERT INTO PREPOSITIONS VALUES (3,'from');
DROP TABLE TARGETS;
CREATE TABLE TARGETS
TARGET_ID NUMBER PRIMARY KEY
, TARGET VARCHAR2(10) NOT NULL
, CONSTRAINT TARGETS#UNQ UNIQUE (TARGET)
INSERT INTO TARGETS VALUES (1,'file');
INSERT INTO TARGETS VALUES (2,'directory');
INSERT INTO TARGETS VALUES (3,'database');
CREATE TABLE ACT_PRE_TAR
ACTION_ID NUMBER REFERENCES ACTIONS(ACTION_ID)
, PREPOSITION_ID NUMBER REFERENCES PREPOSITIONS(PREPOSITION_ID)
, TARGET_ID NUMBER REFERENCES TARGETS(TARGET_ID)
, CONSTRAINT ACT_PRE_TAR#UNQ UNIQUE (ACTION_ID, PREPOSITION_ID, TARGET_ID)
);Based on your sample data the following result is produced:
SQL> SELECT ACTION
2 , PREPOSITION
3 , TARGET
4 FROM ACT_PRE_TAR
5 LEFT OUTER JOIN ACTIONS ON ACTIONS.ACTION_ID = ACT_PRE_TAR.ACTION_ID
6 LEFT OUTER JOIN PREPOSITIONS ON PREPOSITIONS.PREPOSITION_ID = ACT_PRE_TAR.PREPOSITION_ID
7 LEFT OUTER JOIN TARGETS ON TARGETS.TARGET_ID = ACT_PRE_TAR.TARGET_ID
8 /
ACTION PREPOSITIO TARGET
open
open file
save as
export to directory
reverseEngineer from database -
Error Processing "Account" Dimension in BPC 7.5
Good Afternoon,
I am having difficulties processing the account dimension from the Admin function. I can not save to server or process dimension. I get the following log error message. This is impeding my ability to add or change account information. I recently was on maternity leave for 3 months and I am not sure if it is a combination of inactivity coupled with a new PC? I have recently been provided with a new laptop, which I am unsure is configured properly.
#2.0 #2014 06 16 16:33:25:890#-4:00#ERROR#AdminConsole##EPM-BPC-MS##93e2c386-f594-4157-8c44-c6a3d727f3b7###FormMain::SetExeAction#CORP\\jfesterman########Plain##[LOG ID:18]System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.VisualBasic.CompilerServices.Symbols.Container.InvokeMethod(Method TargetProcedure, Object[ Arguments, Boolean[] CopyBack, BindingFlags Flags)
at Microsoft.VisualBasic.CompilerServices.NewLateBinding.CallMethod(Container BaseReference, String MethodName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack, BindingFlags InvocationFlags, Boolean ReportErrors, ResolutionFailure& Failure)
at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateCall(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack, Boolean IgnoreReturn)
at OSoft.Consumers.Admin.AdminMain50.FormMain.SetExeAction(String strCodeID, ArrayList arrReturn)#
We are running BPC 7.5 on a SQL 2008 server, and I wanted to check with the blog before Uninstalling and reinstalling the BPC osoft 7.5 application.
Previously, on my old laptop, I had this capability, and I can run and process all the other dimensions in our list via the Admin feature. I have also tried to refresh dimensions via the BPC EMP add in, and that seems to not throw any error logs, so I am unsure as to what my next step should be.
Plesae advise if I need additional updates to this new computer or if anyone else has seen this error message.
Thank You,
JenniferHi Jennifer,
if you're unsure that your PC isn't well configured please verify this with the 1678822 - Third Party Software Support Matrix For BPC for Microsoft 7.X, 10.X
Then run client and server diagnostic to see if there are problems.
If all ok the dimension file could be corrupted so please change the name of your xls dim file and try to export your dimension, process it and see if ok, if not check the property in the xls dimension file with the modify dimension property in admin console.
Verify also if this note could be helpful 1905831 - SAP Disclosure Management - Uninstalling DM client removes necessary VBE6EXT.OLB file
Regards
Roberto -
Pass intersection values when drilling through by clicking on a value in a matrix
I have two SSRS reports. One is acting as a source report and the other as a target report.
Both reports give information about "Customer Contact".
My source report contains one matrix with the following attributes:
Columns: Contact type (Email, Phone, Desk)
Rows: Employee function (Administrative, Manager)
Measure: Contact quantity
The source report has two parameters on 'Contact type' and 'Employee function'
My target report contains one matrix with the following attributes:
Columns: Customer name
Rows: Employee name
Measure: Contact quantity
The target report has two parameters on 'Contact type' and 'Employee function'
I am using [Action] from the [Textbox property] of 'Contact Quantity' to go to my target report.
What i want to achieve is the following:
Lets say i select All for both parameters when running my source report.
I get all the Contact types against all the Employee functions.
Now the intersection between 'Email' and 'Manager' is 27.
When i click on the value 27 in the matrix i want to go to my target report and pass trough Email and Manager so filtering can take place based on the intersection i clicked on in the source report.
What it does now is just pass the full parameter value selected from the prompts in source report. I want to narrow it down.
Any help? Thanks!Hello Qiuyun,
Thank you very much for your reply.
I have managed to get the drilltrough from source to target working correctly by passing the field value. I first got it to work on a small test data set and it works fine. However when i used this method on my production reports the performance became very
bad. My first drilltrough took about 30 seconds instead of 2 seconds when i was passing the full parameter values. The next drilltrough gives back an out of memory error after quite some time (20 minutes +).
One important thing to mention is that these reports run on an SSAS cube. I made the following changes to the setup to get the pass field value method working.
Initial setup: (Fast response)
1. I start of by creating a new report.
2. I select a the datasource (SSAS Cube) and i open the 'Query builder'.
3. I then drag the attributes i need from the cube to the query.
4. Afterwards i drag the attributes i want to use as parameters to the pane above the query and mark them as parameters. When finishing this step the parameters are automatically created in the design view (Report Data Pane) and within the data set of the
report. When running the report the available values for the parameter are displayed automatically.
5. Now i can run the report without having defined filters on the dataset. This setup performs very good but does not make it possible to pass trough field values.
New setup: (Very slow response)
1. I start of by creating a new report.
2. I select a the datasource (SSAS Cube) and i open the 'Query builder'.
3. I then drag the attributes i need from the cube to the query.
4. I DON'T drag any attributes to the above pane (Dimension, Hierarchy, Operator, Filter Expression, Parameter) to be marked as parameters, i just finish after dragging to the query pane.
5. Now i create my parameters manually in the design view (Report Data Pane).
6. If i want to populate the parameters i do this by defining a separate dataset (query) per parameter to populate the drop down box. Otherwise i manually enter a string.
7. I manually add the parameters to my dataset in the design view.
8. Last i add filters which indicate what fields need to be filterd based on which parameter value.
Any suggestions on how to get this working with acceptable performance?
Thanks in advance for your help.
(If you need screenshots to clarify the steps please let me know)
Kind regards,
Dennis -
SSRS with calculated dimension members SSAS
Hello everybody,
I have an interesting scenario involving a SSRS report with a matrix connected to a SSAS cube containing calculated dimension members.
One of the parameters is "Reference Week". Based on that parameter, I need the measures for the previous 5 weeks.
So I created an anchor dimension "Analysis Weeks" with the members "Week -1" to "Week -5".
Everything is working fine. The only problem is the names of the columns on the report.
Currently I have "Current Week", "Week -1", etc. as column names, I'd like to show the real dates.
For example, if I choose "2014-02-15" as the reference week, I want the first column to show "2014-02-15" instead of "Current Week". The second would show "2014-02-08" instead of "Week -1", etc.
I tried to get the current column position in the matrix, which I could use the with @ReferenceWeek parameter, but I can't access that property.
Any suggestion?
ThanksIf I understand correctly, your column group is on "Analysis Weeks", is that right? If so just get the value of that field and use it to get the dates.
=DateAdd("d",-1*CInt(Right(Fields!AnalysisWeeks.Value,1))*7,Fields!ReferenceWeek.Value)
"You will find a fortune, though it will not be the one you seek." -
Blind Seer, O Brother Where Art Thou
Please Mark posts as answers or helpful so that others may find the fortune they seek. -
EPMA 11.1.2.1 : A non-desired dimension is created in Planning with EPMA
When a new Hyperion Planning application is deployed with EPMA 11.1.2.1, a 'Cut-off' dimension is created in the newly deployed applications.
'Cut-Off' was a local dimension for an application deployed from EPMA. But we do not know how this dimension is deployed in all new applications even without adding it to the library of the application. ' Cut 'Off' has been removed and the application where it was also presented. But in the EPMA tables, there's elements of the old application where 'Cut'Off' was present.
How to solve this problem?
How to remove problems in EPMA? Thank you for your help.
Cyrilits not.Here is the support matrix:
https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0CB4QFjAA&url=http%3A%2F%2Fwww.oracle…
For 2012 its 11.1.2.4
Cheers..!!
Rahul S. -
Can we have more than one dimension in a Report ?
Dear Friends,
I am trying to build a group matrix report from more than one dimension using Express Data.
Is this possible ? If yes can you please guide me as to how to do this.
Thanks in advance.
Regds,
Ramakrishnan LPlease refer to the section" Building a Report Using an Express Data Source example" at
http://otn.oracle.com/products/reports/htdocs/getstart/examples/index.html
Thanks,
Siva -
Rescaling a PDF document's dimensions?
I'm wondering how complicated it would be to take an existing PDF (just a single page) and redefine its dimensions, thereby rescaling the dimensions of everything in it in one fell swoop? That is to say, if the original dimensions are 8.5 x 11 inches, and I wanted to redefine it as being twice that size (17 x 22"), how elaborate would that process be to do it without altering the layout visually?
If a tool for this operation exists, I'd like to find it. But I'd also like to understand how complex the operation would be, based on the internal structure of a PDF document.Well, the essential principles would be
* Establish the current size using MediaBox and/or CropBox
* Set the new size, managing both
* Consider the effect on BleedBox, TrimBox and ArtBox
* Generate a new page stream with a suitable scaling transformation
matrix in cm, with a q; and another one with a Q
* If the page contents are an array, prefix one of these to the array
and suffix the other
* If the page contents are a stream, make them an array and proceed as
the previous step
* In all the above, consider the effects of a Rotate on the page (it
may just work, but I'm not sure).
Aandi Inston -
How to create a matrix with constant values and multiply it with the output of adc
How to create a matrix with constant values and multiply it with the output of adc
nitinkajay wrote:
How to create a matrix with constant values and multiply it with the output of adc
Place array constant on diagram, drag a double to it, r-click "add dimension". There, a constant 2D double array, a matrix.
/Y
LabVIEW 8.2 - 2014
"Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
G# - Free award winning reference based OOP for LV
Maybe you are looking for
-
Hi Experts, I am using one FM "SO_NEW_DOCUMENT_SEND_API1" to send mail form my program. In the receipient inbox under from address the mail is showing the USER ID in which that program has been executed . *Is it possible to send a hard coded value a
-
Preview in Finder doesn't work. Doesn't preview movies or audio.
When i used to preview files in finder such as movies or audio they would play in a preview window. now, instead, all that comes up is a picture of the application the file is opened in, i.e. quick time or itunes. help?
-
Color of selected tab panel tab
Hello all, I'd like to know the orange like color of the upper part of a selected tab panel tab, see the picture below. Actually, these are two colors, orange and a darker, 'shaded' orange. I don't mind which color value I can obtain, but I'd like to
-
I have looked around the forums but haven't found any definitive answers, has anyone found a good SMS Broadcast Service that can be integrated with BC? Thanks for any help!
-
I am trying to get an answer to whether or not I can successfuly use Time Machine with an external HDD connected to an airport extreme. Some forums say yes, some say no. I'm also curious about formatting the hard drive to work both on my wife's Mac