PATH() issue - The Value 'Val123' has multiple values
Im using PATH() to get a flattened hierarchy. I keep getting the following error:
Calculation error in column 'Detail'[]: Each value in 'Detail'[UniqueID] must have the same value in 'Detail'[ParentTest]. The value 'A00012:A123' has multiple values.
I know with 100% certainty that there are not multiple values for A00012:A123.
I have also copied the data ( from the powerpivot Designer) to another workbook and cannot reproduce the issue.
Can anyone advise what might be going on here? Im using Excel 2010 32bit, if its any use. If i can supply any further information please let me know.
Thanks
I found the issue. In a seperate set of rows there was a duplicate. the rows had nothing to do with the rows that were actually mentioned in the error message. so a cause has been identified.
Thanks
Similar Messages
-
In Classificaiton datsource - Error "Characteristic has multiple values"
Hello All,
I have created classification data source 1CL_OMAT001 for material ATTR.. When adding the "PRODLINE" as one of characteristic I am facing this error "Characteristic has multiple values". I want to extract the Prod line to BW after this extraction.
Adding info, This PRODLINE is under a class "BUSINESS LINE". It is a only component of this class type, If i add characteristic of any other type say engineeering class.
Please help. If any information u want from me let me know.
Regards, KarthikHello Karthik,
classification allows to assign multiple values for one charateristics to the same classified object, if the characteristic is defined accordingly (see please transaction CT04). Because only one value per characteristic and object can be extracted, CTBW checks the definitions of the characteristics you are assigning to a datasource. It refuses to assign characteristics, which allow multiple values, to a datasource. That's what you have observed.
In some cases characteristics allow multiple values for technical reasons, but actually only one value is assigned when objects are classified. For such cases you may turn the observed error to a warning (see please SAP note 350296). The first found value will be extracted. Further values would be ignored.
If you need to extract multiple values, you may use a solution like described in SAP note 1002105.
Regards,
Rolf -
Displaying All Values from a Multiple Value Parameter
Hi,
Using XI, I have a parameter field that allows the user to enter multiple values Eg. 01, 02, 13, 14. I want to create a formula to display all the values the user has selected.
Is there a way to do this?
Thanks,
Brianjoin({?Parameter},",")
creates a string with the items in your parameter separated by commas -
How to clear the node which has multiple attributes
Hello ,
how to clear the node which has multiple attributes.
I've tried this using the method SET_STATIC_ATTRIBUTES_NULL but it's not working.
Thanks,
Sandhya.Hello,
I suggest you to create an internal table or structure clear it and the bind it to the context node.
Another possibility is to try to invalidate the node (method INVALIDATE of interface IF_WD_CONTEXT_NODE).
Regards. -
EntityFramework retrieve the view and has incorrect values?
So the story is I have to use EF with Oracle datababse (lot of things go unsupported for 11c too...) Long story short, I have to create view that is a join product of multiple tables. Using distinct on the ID and Count distinct on something else. I have
something of the following: as a view in the ORACLE database:
ID DTG VALUE
A 11 2
B 10 3
B 10 4
B 10 5
but when I use EF context to list it out and attach to database, what EF give me is:
ID DTG VALUE
A 11 2
B 10 3
B 10 3
B 10 3
Note, when I tried to use .Take(5) from the context.MY_VIEW.toList().Take(5), I get one of the values from VALUE COLUMN in the Oracle db view, why is that?Hello,
For this issue, I would suggest that you could post it to the Oracle forum:
https://community.oracle.com/welcome
There are Oracle experts who help you better.
Regards.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Passing variable which has multiple values to cursor as parameter
declare
i varchar2(4000):='0';
j varchar2(100):='0';
cursor c1
is
(select * from gl_je_lines
where period_name='Mar-10'
and reference_10='WRITEOFF');
cursor c2 (l_ref varchar2)
is
(select * from gl_je_lines
where period_name='Mar-10'
and reference_10='WRITEOFF'
and reference_2 not in (l_ref));
begin
for cur_record in c1
loop
j:=cur_record.reference_2;
end loop;
i:= i||','''||j||'''';
dbms_output.put_line(i);--here i has 254 values separated by ','
for cash_rec in c2(i)
loop
dbms_output.put_line('this is loop 2');
dbms_output.put_line(cash_rec.reference_2||','||cash_rec.reference_1);--Here this output is not displayed
--i think the code in this cursor c2 is not executing
--please tell me the solution
end loop;
end;
I already use pl-sql table with array..it is not sufficietn to my requirement.because when i use it we must increment the index of that table ..so every time not in operator works in cursor2.so it shows wrong result
From last three days i am working on this only please let me know as early as possible friends
Edited by: 805567 on Oct 28, 2010 11:30 PM
Edited by: 805567 on Oct 29, 2010 1:05 AMyou said two cases
in first case
place my second cursor in first cursor
if i place like that here i use not in operator
so it prints for every value it will print not in of that value
so it was wrong result
i want not in all values
in second case
i took values from cursor not from table
like as shown below
declare
credit_amount number:=0;
debit_amount number:=0;
v1 number:=0;
v2 number:=0;
v3 varchar2(500);
v4 varchar2(500);
v5 varchar2(240);
v6 varchar2(240);
v7 number;
v8 varchar2(240);
v9 varchar2(240);
v10 number;
v11 number;
v12 varchar2(240);
v13 varchar2(240);
v14 varchar2(240);
v15 number;
v16 number;
--This cursor is for liability records which are in GL not in AP
cursor c1(p_header_id number,p_reference_2 varchar2,p_reference_4 varchar2)
is
(select
jl.je_header_id "JE_HEADER_ID"
,jl.period_name "PERIOD"
,glcc.concatenated_segments "ACCOUNT_CODE"
,DECODE(jl.accounted_dr,null,0,jl.accounted_dr)"ACCOUNTED_DEBIT"
,DECODE(jl.accounted_cr,null,0,jl.accounted_cr) "ACCOUNTED_CREDIT"
,DECODE(jl.accounted_dr,null,0,jl.accounted_dr) - DECODE(jl.accounted_cr,null,0,jl.accounted_cr) "NET"
,glcc.CODE_COMBINATION_ID "CODE_COMBINATION_ID"
,jl.SET_OF_BOOKS_ID "SET_OF_BOOKS_ID"
,jl.PERIOD_NAME "PERIOD_NAME"
,DECODE(Jl.entered_dr,null,0,Jl.entered_dr)"ENTERED_DEBIT"
,DECODE(Jl.entered_cr,null,0,Jl.entered_cr) "ENTERED_CREDIT"
,jl.reference_1 "SUPPLIER"
,jl.reference_2 "INVOICE_ID"
,jl.reference_3 "CHECK_ID"
,jl.reference_4 "CHECK_NUMBER"
,jl.reference_5 "INVOICE_NUM"
,jl.reference_6 "'AP_PAYMT_JUST_INSERTED'"
,jl.reference_7 "set_of_books_id"
,jl.GL_SL_LINK_ID "GL_SL_LINK_ID"
,jl.REFERENCE_8 "INVOICE_DIST_LINE_NUMBER"
,jl.reference_9 "INVOICE_PAYMENT_ID"
,jl.REFERENCE_10 "LIABILITY"
,jl.TAX_CODE_ID "TAX_CODE_ID"
,jl.TAX_GROUP_ID "TAX_GROUP_ID"
FROM
gl_je_lines jl
, apps.gl_code_combinations_KFV glcc
, gl_je_headers jh
WHERE
jl.period_name='Mar-10'
and glcc. code_combination_id in (1016,1296,1298)
and jh.je_header_id = jl.je_header_id
AND glcc.code_combination_id = jl.code_combination_id
and jh.je_source = 'Payables'
AND jl.je_header_id = p_header_id
and jl.reference_2 = p_reference_2
and jl.reference_4 = p_reference_4
MINUS
select
ir.je_header_id
, h.period_name "APPERIOD"
,g.CONCATENATED_SEGMENTS "AP ACCOUNT CODE"
,DECODE(l.accounted_dr,null,0,l.accounted_dr) "AP ACCOUNTED_DR"
,DECODE(l.accounted_cr,null,0,l.accounted_cr) "AP ACCOUNTED_CR"
,DECODE(l.accounted_dr,null,0,l.accounted_dr) - DECODE(l.accounted_cr,null,0,l.accounted_cr) "NET"
,l.CODE_COMBINATION_ID "AP_CCID"
,h.set_of_books_id
,h.PERIOD_NAME "PERIOD_NAME"
,DECODE(l.entered_dr,null,0,l.entered_dr)"ENTERED_DEBIT"
,DECODE(l.entered_cr,null,0,l.entered_cr) "ENTERED_CREDIT"
,l.reference1 "SUPPLIER"
,l.reference2 "INVOICE_Id"
,l.reference3 "reference_3"
,l.reference4 "reference_4"
,l.reference5 "INVOICE_NUM"
,l.reference6 "reference_6"
,l.reference7 "reference_7"
,l.GL_SL_LINK_ID "GL_SL_LINK_ID"
,l.REFERENCE8 "REFERENCE_8"
,l.reference9 "reference_9"
,l.REFERENCE10 "REFERENCE_10"
,l.TAX_CODE_ID "TAX_CODE_ID"
,l.TAX_LINK_ID "TAX_LINK_ID"
from
ap_ae_lines_all l,
ap_ae_headers_all h,
gl_code_combinations_kfv g
,gl_import_references ir
where
ir.gl_sl_link_id=l.gl_sl_link_id
AND g.CODE_COMBINATION_ID = l.CODE_COMBINATION_ID
and h.ae_header_id = l.ae_header_id
AND h.period_name ='Mar-10'
AND g.CODE_COMBINATION_ID in (1016,1296,1298)
AND ir.JE_HEADER_ID = p_header_id
and l.reference2 = p_reference_2
and l.reference4 = p_reference_4);
--This cursor is for writeoff records
cursor c2
is
(select * from gl_je_lines
where period_name='Mar-10'
and reference_10='WRITEOFF'
and reference_2 in ('525706','525600'));
credit number:=0;
debit number:=0;
j varchar2(240);
i varchar2(4000):='0';
cursor c3 (p_invoice_id varchar2)
is
(select
jl.je_header_id "JE_HEADER_ID"
,jl.period_name "PERIOD"
,glcc.concatenated_segments "ACCOUNT_CODE"
,DECODE(jl.accounted_dr,null,0,jl.accounted_dr)"ACCOUNTED_DEBIT"
,DECODE(jl.accounted_cr,null,0,jl.accounted_cr) "ACCOUNTED_CREDIT"
,DECODE(jl.accounted_dr,null,0,jl.accounted_dr) - DECODE(jl.accounted_cr,null,0,jl.accounted_cr) "NET"
,glcc.CODE_COMBINATION_ID "CODE_COMBINATION_ID"
,jl.SET_OF_BOOKS_ID "SET_OF_BOOKS_ID"
,jl.PERIOD_NAME "PERIOD_NAME"
,DECODE(Jl.entered_dr,null,0,Jl.entered_dr)"ENTERED_DEBIT"
,DECODE(Jl.entered_cr,null,0,Jl.entered_cr) "ENTERED_CREDIT"
,jl.reference_1 "SUPPLIER"
,jl.reference_2 "INVOICE_ID"
,jl.reference_3 "CHECK_ID"
,jl.reference_4 "CHECK_NUMBER"
,jl.reference_5 "INVOICE_NUM"
,jl.reference_6 "'AP_PAYMT_JUST_INSERTED'"
,jl.reference_7 "set_of_books_id"
,jl.GL_SL_LINK_ID "GL_SL_LINK_ID"
,jl.REFERENCE_8 "INVOICE_DIST_LINE_NUMBER"
,jl.reference_9 "INVOICE_PAYMENT_ID"
,jl.REFERENCE_10 "LIABILITY"
,jl.TAX_CODE_ID "TAX_CODE_ID"
,jl.TAX_GROUP_ID "TAX_GROUP_ID"
FROM
gl_je_lines jl
, apps.gl_code_combinations_KFV glcc
, gl_je_headers jh
WHERE
jl.period_name='Mar-10'
and glcc. code_combination_id in (1016,1296,1298)
and jh.je_header_id = jl.je_header_id
AND glcc.code_combination_id = jl.code_combination_id
and jh.je_source = 'Payables'
and jl.reference_2 in (p_invoice_id)
MINUS
select
ir.je_header_id
, h.period_name "AP PERIOD"
,g.CONCATENATED_SEGMENTS "AP ACCOUNT CODE"
,DECODE(l.accounted_dr,null,0,l.accounted_dr) "AP ACCOUNTED_DR"
,DECODE(l.accounted_cr,null,0,l.accounted_cr) "AP ACCOUNTED_CR"
,DECODE(l.accounted_dr,null,0,l.accounted_dr) - DECODE(l.accounted_cr,null,0,l.accounted_cr) "NET"
,l.CODE_COMBINATION_ID "AP_CCID"
,h.set_of_books_id
,h.PERIOD_NAME "PERIOD_NAME"
,DECODE(l.entered_dr,null,0,l.entered_dr)"ENTERED_DEBIT"
,DECODE(l.entered_cr,null,0,l.entered_cr) "ENTERED_CREDIT"
,l.reference1 "SUPPLIER"
,l.reference2 "INVOICE_Id"
,l.reference3 "reference_3"
,l.reference4 "reference_4"
,l.reference5 "INVOICE_NUM"
,l.reference6 "reference_6"
,l.reference7 "reference_7"
,l.GL_SL_LINK_ID "GL_SL_LINK_ID"
,l.REFERENCE8 "REFERENCE_8"
,l.reference9 "reference_9"
,l.REFERENCE10 "REFERENCE_10"
,l.TAX_CODE_ID "TAX_CODE_ID"
,l.TAX_LINK_ID "TAX_LINK_ID"
from
ap_ae_lines_all l,
ap_ae_headers_all h,
gl_code_combinations_kfv g
,gl_import_references ir
where
ir.gl_sl_link_id=l.gl_sl_link_id
AND g.CODE_COMBINATION_ID = l.CODE_COMBINATION_ID
and h.ae_header_id = l.ae_header_id
AND h.period_name ='Mar-10'
AND g.CODE_COMBINATION_ID in (1016,1296,1298)
and l.reference2 in (p_invoice_id)); --here if i put l.reference2 in (p_invoice_id)) it must show the details of
-- of all.but it doesnot display sir
--here if i put l.reference2 not in (p_invoice_id)) it shows that id also sir
BEGIN
for writeoff_rec in c2
LOOP
FOR Main_cur in c1(writeoff_rec.je_header_id,writeoff_rec.reference_2,writeoff_rec.reference_4)
LOOP
j:='0';
IF writeoff_rec.accounted_dr is not null AND Main_cur.ACCOUNTED_CREDIT<>0
THEN
v10:=Main_cur.ACCOUNTED_CREDIT;
credit_amount:= credit_amount+Main_cur.ACCOUNTED_CREDIT;
ELSIF writeoff_rec.accounted_cr is not null AND Main_cur.ACCOUNTED_DEBIT<>0
THEN
v11:=Main_cur.ACCOUNTED_DEBIT;
debit_amount:= debit_amount+Main_cur.ACCOUNTED_DEBIT;
END IF;
if c1%found then
j:=Main_cur.INVOICE_ID;
end if;
END LOOP;
-- i:=i||','||j;
i:= i||','''||j||'''';
END LOOP;
dbms_output.put_line(i); --Here i got all invoiceids of varchar2 records without single qutations
--its look like '0','23232','2324234' etc.
for cash_clearing_cur in c3(i)--here is the problem i am sending i with 250 values separated by ',' is it correct
loop
v3:=0;
v4:=0;
v5:=0;
v6:=0;
v7:=0;
v8:=0;
v9:=0;
v10:=0;
v11:=0;
v12:=0;
v13:=0;
v14:=0;
v15:=0;
v16:=0;
credit:=credit+cash_clearing_cur.ACCOUNTED_CREDIT;
debit:=debit+cash_clearing_cur.ACCOUNTED_DEBIT;
v3:=cash_clearing_cur.JE_HEADER_ID;
v4:=cash_clearing_cur.INVOICE_ID;
v5:=cash_clearing_cur.CHECK_NUMBER;
v6:=cash_clearing_cur.LIABILITY;
v7:=cash_clearing_cur.CODE_COMBINATION_ID;
v8:=cash_clearing_cur.PERIOD;
v9:=cash_clearing_cur.ACCOUNT_CODE;
v10:=cash_clearing_cur.ACCOUNTED_CREDIT;
v11:=cash_clearing_cur.ACCOUNTED_DEBIT;
v12:=cash_clearing_cur.SUPPLIER;
v13:=cash_clearing_cur.CHECK_ID;
v14:=cash_clearing_cur.INVOICE_NUM;
v15:=cash_clearing_cur.GL_SL_LINK_ID;
v16:=cash_clearing_cur.SET_OF_BOOKS_ID;
DBMS_OUTPUT.PUT_LINE('HEAd '||v3||','||'inv_id '||v4||','||
'chk_num '||v5||','||'ref10 '||v6||','||'CCID '||V7||','||'PED '||V8
||','||'acctcode '||v9||','||'acct_Ct '||V10
||','||'acct_Dt '||v11||','||'chk_id '||v13||','||'inv_num '||V14
||','||'link '||v15||','||'sob '||v16||','||'suplir '||V12);
end loop;
DBMS_OUTPUT.PUT_LINE( 'Dr Amt ' ||debit || 'Cr amt ' || credit );
EXCEPTION
when too_many_rows then
dbms_output.put_line('Invalid no of rows');
when no_data_found then
dbms_output.put_line('no data found exception');
when others then
dbms_output.put_line('Other than Invalid no of rows');
dbms_output.put_line(SQLERRM);
END;
/ -
The session variable has no value definition
Hi Gurus,
For all Dashboard reports and Adhoc reports suddenly we are facing the below error for some users
A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 23006] The session variable, NQ_SESSION.AREA, has no value definition.Please have your System Administrator look at the log for more details on this error. (HY000)
In those dashboard reports we are not using any Area prompts even if we take only area column in analysis also it is showing the same error. But for admin the reports are coming fine only for some users it is showing like that but previously it was fine.
Regards,Hi,
this means your init block is not working. Check the init block why its not resulting in any data.
only when init block doesn't not result in data , server checks for default value for the variable.
Since there is no default value, you get this error.
Init blocks can fail because
1. connection pool is not working.
2. The table or view does not exist
3. no data in the table
4. filter in the sql in init block is not initialized if its coming from another session variable.
typically no data should bring no results in a report.
Since you have a session variable being part of the report, and that variable failed to initialize you get this error.
Thanks,
Satya Ranki Reddy -
Parsing VARCHAR to DATE where the VARCHAR column has multiple format
Hello,
I'm a little stumped here so I figured I'd try posting here.
I have an application where I can not alter the code. This application has a form with a calender conrol on it that allows the user to select a date. This form is internationalized so date formats vary based on the country the user is coming form (mm/dd/yyyy, dd-Mon-yyyy, dd.mm.yyyy, etc). The application saved the string of the date as the calender control returns to the form, it does not save the value as a date value.
I need to preform a query that can do some cacluations off of this date. When there is only one date format returned in the query, there is no problem
CASE WHEN TO_DATE(d3.data,'Mon/dd/yyyy')-NVL(trunc(i3.end_date),trunc(SYSDATE)) < 0 THEN calc_business_days(TO_DATE(d3.data,'Mon/dd/yyyy'),NVL(trunc(i3.end_date),trunc(SYSDATE)))
WHEN TO_DATE(d3.data,'Mon/dd/yyyy')-NVL(trunc(i3.end_date),trunc(SYSDATE)) > 0 THEN 0-(calc_business_days( NVL(trunc(i3.end_date),trunc(SYSDATE)) ,TO_DATE(d3.data,'Mon/dd/yyyy')))
ELSE 0 END
However, this errors when there are multiple formats in the varchar column for the same query. Can anyone provide any guidance on how to handle this? I am using Oracle 10g.
ThanksThe simplest option is generally to create a new function that does the conversion and sets up a hierarchy of date formats. Obviously, there may be some data loss here-- '01/02/03' is a valid string in the format mm/dd/yy, dd/mm/yy, and yy/mm/dd but it means different things in each.
Something like
CREATE OR REPLACE FUNCTION my_to_date( p_in_string VARCHAR2 )
RETURN date
IS
BEGIN
RETURN to_date( p_in_string, 'MM/DD/YYYY' );
EXCEPTION
WHEN others THEN
BEGIN
RETURN to_date( p_in_string, 'DD-MON-YYYY' );
EXCEPTION
WHEN others THEN
BEGIN
RETURN to_date( p_in_string, 'DD.MM.YYYY' );
EXCEPTION
WHEN others THEN
RETURN NULL;
END;
END;
END;
/Justin -
Jco Function issue : The initial password has expired (request a new one)
Hi Friends,
Could you please help me to resolve this issue. I am able to start my session using SAP Jco Start Action block. But while invoking the BAPI using
SAP JCo Function action block I am getting the below error. I am 100% sure that my credentials are correct. I am able to logon to ECC using SAP Front GUI.
I am using MII 14.0 patch SP4
Any help on this very much appreciated.
<Rowsets DateCreated="2014-07-22T12:33:49" EndDate="2014-07-22T12:33:49" StartDate="2014-07-22T12:33:49" Version="14.0 SP4 Patch 0 (Nov 22, 2013)">
<FatalError>JCOProxy error: Problem retrieving JCO.Function object: The initial password has expired (request a new one)</FatalError>
</Rowsets>]]
Thanks in advance
ShajiHi Friends,
This issue got resolved when I cleared the BAPI list cache at MII using below URL.
http://hostname:port/XMII/JCOProxy?Mode=Reset -
Issues while joining two tables as the joining column has duplicate values - Please help!
Hi,
I have a table A -which has few columns including a Amount column - I am joining this table A to Table B. The joining column in B has duplicates. So, the number of records are getting more after the joining. As per the requirment when I create a table
after joining the tables and count the salary clumn, there is a difference in the counting. How can I solve this? Can you please help me?
Here is the DDL and sample values
create table #student (sid int, name varchar(10),salary int)
create table [#address] (sid int, city varchar(10),grade char(1),lineneumber int)
insert into #student values (1,'sachin',8000)
insert into #student values (2,'Dhoni',2000)
insert into #student values (3,'Ganguly',7000)
insert into #student values (4,'Kohli',1000)
insert into [#address] values(1,'mumbai','A',1)
insert into [#address] values(1,'mumbai','B',2)
insert into [#address] values(1,'mumbai','C',3)
insert into [#address] values(1,'mumbai','D',4)
insert into [#address] values(2,'JARKHAND','D',3)
insert into [#address] values(2,'JARKHAND','D',4)
SELECT S.SID,NAME,salary,CITY ,grade,linenumber
into #FINAL
FROM #STUDENT S
LEFT JOIN #ADDRESS A
ON S.SID=A.SID
SELECT SUM(salary) FROM #FINAL
--44000
Final result should be 18000 , but it is coming as 44000. can you please help me to get the correct result - what do i do in the joining?
In my real project, i have 5 tables joining, each table have more than 30 columns and few joining tables joining column have duplicates. I have simplified the issue so that i can ask the question clearly. So,while answering, please consider that also in mind.
thanks in advance for your help!SELECT S.SID,NAME,salary,CITY
into #FINAL
FROM #STUDENT S
LEFT JOIN (SELECT DISTINCT sid,city
FROM #Address) A
ON S.SID=A.SIDthis will do a join on student table and city table with unique sid and city name so adddress selection will be sid city1 mumbai2 jarkand -
Insert a field twice (that has multiple values) onto same row in report
I am new to design so hopefully this is an easy question...
I have three tables in my report that are linked.
Table 1 "TMDE"
Mfg
Model
Type_Id (Linked to "FEE(PRICE)"
Table 2 "FEE"
Price
Service_ID (Linked to "SERVICE(ID)"
Table 3 "SERVICE"
ID
Service_Type
What I am trying to do is create a report that displays two different prices based on two diffent Service "ID"'s on the same row.
My report keeps creating a second row for the second Service "ID"
Example:
MFG MODEL TYPE PRICE
Fluke 87 Calibration $40.00
Fluke 87 Calibration w/data $60.00
What I woiuld like to see is:
MFG MODEL Calibration $ Calibration w/data $
Fluke 87 40.00 60.00
Can you help?Thanks Noel but I don't think that is the answer.
Let me try to explain a little further...
My TMDE table has a field called "Type_ID". Let's say that record 1 has a "Type_ID" field value of 27. The "Typer_ID" field is linked to the PRICE table. The linked field in the PRICE table is called "ID" "ID" may have several 27 valuies for the different prices. These prices are based on the PRICE"Service_ID" field.
Hopefully, this will explain it better...
TABLE:TMDE
MFG:Fluke; MOIDEL:87; TYPE_ID:27 (linked to PRICE:ID)
TABLE:PRICE
ID:27; FEE:40; SERVICE_ID:1 (linked to SERVICE:ID
ID:27; FEE:50; SERVICE_ID:2 (linked to SERVICE:ID
ID:27; FEE:60; SERVICE_ID:3 (linked to SERVICE:ID
TABLE:SERVICE
ID:1; TYPE:Calibration
ID:2; TYPE:Calibration w/data
ID:3; TYPE:Calibration-Accredtied
What I would like to see is:
MFG MODEL Calbration price Calibration w/Data Price
Fluke 87 40 50
Thanks -
Is there a way to match property or dimension has multiple values?
I have Endeca records indexed from database. Each record will have:
ID, Name, CategoryID, CategoryName.... Each record may belong to multiple category. So after reindex, the record looks like the following:
ID:0001
Name: Name 1
CategoryID:1
CategoryID:2
CategoryName: Cat Name 2
CategoryName: Cat Name 1
My question is "is there a way I can know categoryID:1 is matching categoryName: Cat Name 1, and categoryID:2 is matching categoryName: Cat Name 2"?Hi,
There are a couple of ways to accomplish this that I've used. There may be others that I have not seen or considered.
First is to create records with this category information and use RRN to combine the two. However, RRN may have licensing issues.
So, you would have something like the book example:
BookName: Freakonomics
AuthorIds: 1, 2
RecordType: Book
AuthorId: 1
AuthorName: Stephen Dubner
RecordType: Author
AuthorId: 2
AuthorName: Steven Levitt
RecordType: Author
Then it's a standard RRN exercise to combine the books and authors at query time.
The second approach is to create what I call aggregated or complex properties where you combine the subfields that are associated.
Name: abc
Category_Combined: CatId1<DELIM>CatName1
Category_Combined: CatId2<DELIM>CatName2
Your app code would have to split out the Category_Combined property into the sub-fields for display.
Now, if you don't want to have CatId a searchable field, put a non-searchable character in front of it and configure it in your Search Characters. For example, choose some ASCII code that cannot be entered directly from a keyboard. Thus your property becomes:
Category_Combined: <FunkyChar>CatId1<DELIM>CatName1
This adds complexity to your pipeline code in that it has to create the concatenated fields and on your app code for searching, splitting, etc. But it works.
-Tim -
Tell me again why the point system has any value?
Query builder - OR condition
Billy Verreynne wrote:
Dude wrote:
Many participants seem to care only about receiving answers by spreading and urging their question as much as possible without providing any value to the community. These people typically do not even care to give feedback and thereby disrespect anyone who tries to help them in the end. A rather twisted view IMO. Just because someone does not offer you points, or does not provide the type of feedback you would like to your suggestion, does not mean "disrespect". Come on!
It seems to me that there is this politically correct view that technical forums dealing with technical problems and technical solutions, should be all facebook community like, where we are all friends, slapping one another on the back, telling one another how good and awesome they are. +<shudder>+
If you want warm fuzzies and political correctness and slaps on the back, I suggest joining Facebook to "connect and share with the people in your life".Perhaps that is what you have been reading between the lines, but that is not what I wrote. To respond and to acknowledge help is a matter of good manners and courtesy in any social environment. Forum participants who do not give feedback and leave their posts orphaned are disrespectful. That's is my opinion.
About your last statement… I'm not a fan of Facebook and have my account deactivated. I prefer not to drag my life or that of my friends to the public screen. I do not trust Facebook or any other business or government to take care of personal data in everyones best interest. However, the warm fuzzies and political correctness and slaps on the back as you describe seems to happen everywhere, even here.
Edited by: Dude on Mar 18, 2013 5:59 PM -
How to map single context value attribute to multiple value attributes?
Hello,
is there any way to map a single value attribute
from view's context into several value attributes
in controller's context?
The business context of what I want to achieve
is the following: I have a view which can be called
in two modes: read only (RO) and read-write (RW).
The input parameters to the view are the same for
both modes, however when in RO mode, the view calls
a different set of web services than when called
in RW mode. Before calling each of the web services
I need to populate their context value attributes
with appropriate input values.
I know I can do it in Java code, but is it possible
to do it without any programming (doing it in the
source code is prone to errors)?
Any help highly appreciated.
Greetings,
Tomek.Hi Kishore,
than you very much for your kind help.
I have already created a value attribute of type
boolean and mapped it into the read-only property
of the UI elements. This however does not solve all
of the problems... I will describe it with an
example:
Let's say the form I want to implement will be
used to: create (read-write mode), update (read-
write mode) or show (read-only mode) customer's
data. The customer's data is complex (lots of
data, including tree structures).
The problem is that:
- when the form is called in read-only mode,
it should populate its fields with values
provided by the getCustomerData web service,
- when the form is called to create a new
customer (in read-write) mode, it should
not use the getCustomerData web service.
Instead it should map the input values
entered by the user into input parameters
of the createNewCustomer web service,
- when the form is called to update customer's
data, it should first display values returned
by the getCustomerData web service, and then
it should map the modified values entered by
the user into input parameters of the
updateCustomer web service,
In all the above cases I must map my view's
context data to different controller's context
elements. Doing it directly in the source code
is not a nice solution. Is there any other
way to achieve this?
Calling a form in different modes in not an
unusual thing, so I was hoping that maybe
there are any built-in mechanisms that would
solve the obove problem...
Greetings,
Tomek. -
Hi,
I need a quick advice about how to display in the error cluster the information about the path and VI which has thrown an error.
When I don't prepare my own error message, and the error is captured automatically, the information about the path, Vi name and calling VIs is presented automatically.
When I prepare/define my own basic error cluster I have only what I define in the string part of the cluster.
How to cause tha apperance the path and VI name in my defined error message?MimiKLM wrote:
You mean this link
That's helpful too but, I had read "When I prepare/define my own basic error cluster I have only what I define in the string part of the cluster" as you wanted to use a file to expose those custom error codes and ultimately ship them with your solution dynamically rather than statically
The error ring will pick up any custom errors you define in the error file(s). Including formatting! this then populates the explain errors and error dialogs just like any error definition that ships with any LabVIEW component or toolkit.
Certainly, an error ring can also STATICALLY define or re-define an error within the application instance the ring is called from. Those Error Rings are quite flexible!
Jeff
Maybe you are looking for
-
Apple TV2 cannot connect to Netflix .. message on tv screen always say "Netflix currently unavailable. Please try again later." I have tried both wifi and ethernet connection but to no avail. ANY HELP IS APPRECIATED.
-
I can't open iTunes or appp store!!!!
I haven't been able to open iTunes or app store for two days! Tried suggested solutions nothing works!!!
-
Relation between Sales org and Shipping Point
Hai all, Can any one tell me wt is the relation between Sales Org and Shipping point? Ravi < PLEASE DONT USE SMS LANGUAGE AND PLEASE SEARCH THE FORUMS. >
-
Re-Transport Clarification in BCS
Hi All due to some Issues in Original Transport, I want to Create Manual Transport for Data Basis,Consolidation Area and Special Version. During Manual Transport on Data Basis( Right Click on DB and Select TRANSPORT) reached to the Following Options
-
Loss of cues marks when saving WAV files in Acrobat 1.5
I have been using Audition 1.5 for several years, but today I have been experiencing a new and fundamental problem. After downloading an MP3 file and converting it to a Windows PCM WAV file using Audition, I have inserted cue (track) marks. When I s