Multivalue DB
Hi there.
I have a multivalue DB (http://en.wikipedia.org/wiki/MultiValue) Pick system. I want to make my reports on CR. But I have a big problem, Pick DB uses multivalue fields.
With a MultiValue database schema, also known as an account, a dictionary for a file named Person might have an attribute named Addresses with values that can be represented as the list (joeabc132, jdbbmail123, joebacdethisorthat123).
Well, when I tried to call the data It shows me all the multivalue just like the upper example. I really don't call directly the DB ('cause I don't know how, if somebody knows and can help me It will be highly appreciated) I export the data to an Excel worksheet sending a delimiter character "ý" then I use CR to call the worksheet. Ok the questions are:
Is there a way to tell CR that "ý" is a delimiter and put the following characters in another field?
Is there somebody that uses pick D3 DB and can help me? Any help will be highly appreciated.
Hi Manuel
Crystal Reports can not manipulate the fields. You have to do it with the help of SQL and you can call this SQL from Crystal Reports.
In order to connect to the database try installing the database ODBC driver and create an ODBC DSN to connect from Crystal Reports.
Hope this helps.
Regards
Nikhil
Similar Messages
-
SSRS with DAX - parameters multivalue vs total element
Hi all,
I'm using SSRS on top of a SSAS tabular model to create intuitive dashboards for management department.
One thing I'm struggling with is the lack of a "total" on parameters. What I'm doing is, based on the fact table, I create the datasets that will feed each parameter, so it only has the dimension members available on the fact table. That is fine
performance wise, you only have 1 element and it renders very quickly.
For a management perspective at a higher level it is important to view the totals to have the big picture of the information. In my project we are in a University, so I have the parameters Year, school (there are several schools in the university campus)
and the course (computer sciences, math, statistics, etc).
At first glance, if I'm a course coordinador I want to pick my course and have a global view, and I'm achiveing that, but imagine now, that I am the school coordinator, or the university coordenator.
I want to see the aggregate values by all courses or by all schools.
In my view I have 2 ways to do this and I come from a tradition cubes background:
1 - I would use the all element the cubes hierarchy have on each attribute
2 - I would use multivalue parameters with StrToSet (worse performance)
Using DAX what is your approach?
Best regardsHi AsifMehmood,
Per my understanding you have create an SSRS report with SharePoint list, now you don’t know to create the distinct parameters by using CAML query, right?
For the CAML language doesn’t have any reserved word (or tag) to set this particular filter to remove duplicate results, but we can use the custom code to do this function. I have tested on my local environment and we can do that by create one hidden parameter(Param1)
to get all the values from the fields which will add the filter and then create another parameter(Param2) to get the distinct values based on the Param1, we use the custom code to do the deduplication.
Step by Steps information in below thread for your reference to create the parameters and the custom code:
"How to get distinct values of sharepoint column using SSRS"
Other similar thread for your reference:
https://audministrator.wordpress.com/2014/02/17/sharepoint-list-add-distinct-parameter-value/
If your problem still exists, please feel free to ask and also try to provide us more details information.
Regards
Vicky Liu -
How to resolve #Multivalue Error
HI All,
I have a data like below, in this for inpatient data is NULL and as per business requirement if data is null then "0". so i create a variable and drag into inpatient's total column
statement for inpatient is
=If IsNull([total]) Then 0 Else [total] Where ([items]="Inpatient")
items total
Office
4
Utilization
70
Inpatient
it is working and showing as "0"
but when inpatient has value it is showing #multivalue"
Office Visits
4
Non-Emergency ED Utilization
70
Inpatient Stays
40
how to resolve is issue
Please reply i am using SAP BO 3.1 INFOVIEW
Thanks in advance
RanjeetHi Ranjeet,
First thing is you are getting this error because of the where clause used in the variable.
Because in the 2nd case when it has value for Inpatient, it is actually taking the same value for all the 3 cases.
How to remove null value with 0:
1. Remove where clause from the variable and use that variable in place of Total in the table report.
2. Use format number option to place 0 in place of undefined values.
Hope it helps. Please ask if you have any queries.
Regards,
Subrat -
Hi,
I searched the forum for #MULTIVALUE error but didn't get the proper answer.
I'm getting the #MULTIVALUE error in a webI report on top of a BEX Query universe.
Ex: Vendor has multiple Vendor Keys ans it's sales details
Vendor Key Vendor Sales outstanding
#MULTIVALUE V1 1000 2000
How to resolve this issue? tried unchecking 'Avoid Duplicate Row Aggregation' but it doesn't serve the purpose.
Thanks in advance.
---VeeraHi Veera,
Please check the below links
Re: WebI on top of BW
http://www.sdn.sap.com/irj/boc/go/portal/prtroot/docs/library/uuid/80fe4156-743f-2b10-15a9-e96f47dbab16?quicklink=index&overridelayout=true
Thanks -
Issue with Multivalue report parameters optional functionality
I am using SSRS 2012 reporting services to develop my SSRS report. I came across that I cannot have multi-value parameters as optional. In a report I have 5 parameters and 3 parameters (Invoice Type, Markupcode, Accountnum has multivalue selection so user
can select mutltiple accountnum or codes to get data). There is no option you can choose Allow null value. I went through various forums but unable to get worked. So I created this question. I am not doing any complex functionality, its very common functionality.
In the past I have used various reporting tools and never came across this issue. so please help here. I appreciate all your kind help. thanks.
Regards
NitinHi Nitin,
As per my understanding, it seems that you want to build a multi-value parameter including the NULL value. By default, when we configure the parameter with the two options: Allow null value and Allow multiple values, we will receive an error message. To
work around this issue, we can use the ISNULL function to change null values to blank values (''). For more details, please refer to the following steps:
1. Modify the dataset used to retrieve data for the tablix like below:
SELECT id, invoiceType, markupCode, AccountNum FROM table WHERE ISNULL(invoiceType, '') IN (@InvoiceType)
2. Modify the dataset used to retrieve values for @InvoiceType like below:
SELECT DISTINCT ISNULL(invoiceType, '') AS invoice, ISNULL(invoiceType, 'NULL') AS InvoiceDescription FROM table
3. Modify parameter @InvoiceType, check Allow blank values ('') and Allow multiple values check boxes. Change the available values: Value field: @Invoice, Label field: InvoiceDescription.
The following screenshot is for your reference:
If you have any more questions, please feel free to ask.
Thanks,
Wendy Fu -
#Multivalue error in BO webi.
Hi
We are having a webi report based on two Bex queries. One query on top of a multiprovider and another on a DSO. The DSO contains rate category information and mutiprovide contains customer deatils. "Rate Category" is the common field between the two sources. So we have a merged dimension on top of Rate Category.
In the report we need to display the winter and summer rates used for a particular customer based on his recent rate category in seperate cells outside the table. Based on the recent meter reading date, we are picking the value of rate category using the below formulas.
[recent MR date] = max(meter reading date) // measure variable
[recent rate category] = if (meter reading date = recent MR date) then [customer].[rate category] //dimension variable.
Once the recent rate category is got, using the below formula we are doing a look up on the another bex query(which is built on DSO)
[recent winter rate] = if (recent rate category = [DSO].[rate category]) then [winter rate] //measure variable.
Upon using these formulas we are getting #multivalue error.
Please suggest some solution for the above issue.Hi Vinayak Gole,
Check the following Property.
Right click on the table and check the “Avoid duplicate rows aggregation” option.
Then save it and reopen the report .
Regards,
Anish -
Bex Percentage Indicator in the WebI report (# Multivalue)
Hi All!
I'm having a difficulty to produce a Bex percentage indicator to a WEB I report.
This is the result of my query:
Cycles
Qty1
Qty2
(Qty1%AQty2)
1
100
200
50%
2
200
200
100%
3
300
300
100%
4
400
400
100%
So far the report remains perfect.
When I remove Cycles dimension report, but let the cycles 1,2,3 and 4 in the Query filter, the result is # Multivalue for Qty1%AQty2) measure.
We tried all kinds of aggregation in BO or in Bex query, and The Sum aggregation results the sum of the percentages, when need is that the formula is made again with the totals.
What we need is it looks like this:
Qty1
Qty2
(Qty1%AQty2)
800
1100
72%
Is there any way to make this in Bex and then translate to BO? The formula should be Sum (qte1) / Sum (qty2) *100?
Or some syntax, that the bo understands what he need to regroup and give the right percentage?
The final user needs the indicator create in the Universe, not in the report. (In the report works, but not in the Universe measure ).
I donu2019t know if you get the idea, but I am available for any doubts.
Specification:
SAP BO XI r3
SAP BW 7.0
Tks a lot!
LiviaHave you tried:
= ( sum([Qty1]) / sum ([Qty2]) ) * 100
or...
= ( sum([Qty1]) ForAll [Cycles] / sum ([Qty2])ForAll [Cycles] ) * 100
You could create some global CKF (creating CKF as local structure formula will not work) in BEx. Go to properties, calculation, Calculate Results As... Sum. You may need to use exception aggregation. Find a characteristic that is the same value for all cycles and use that as the exception aggregation reference characteristic. Using BEx may be the best idea if you have a high volume of records since Webi performance on high volumes is not great. -
Creating multivalue parameter in SSRS on top of DB2 views
How to create multivalue parameterized report in SSRS for belo scenerio:
Data source is DB2 and we don't need to write whole query as expression while creating dataset.
But if we don't need to write whole query as expression in SSRS, is that possible to create the view in DB2 with same expression query and while calling the view in SSRS, how multivalue report can be generated.Hi Andy,
Based on my understanding, you want to create a multivalued parameter in your report. When creating the parameter, you don’t want to write a whole query to specify the parameter’s value which is used in the main dataset, right?
In Reporting Services, if we want to create a multivalued parameter, we can create a new dataset to populate the valid values for the parameter. Within the new dataset, we needn’t write a whole query which is used in the main dataset, we can only retrieve
those data which will be used by the parameter. So in your scenario, you can write a simple query to populate the valid values for the multivalued parameter. If you create a view on database side, you can also call the view in SSRS to retrieve the corresponding
data, then specify the values for the parameter with those data.
Reference:
Lesson 3: Adding Parameters to Select Multiple Values in a List (SSRS)
Best regards,
Qiuyun Yu
Qiuyun Yu
TechNet Community Support -
SSRS reporting with sharepoint list using Distinct and Multivalue parameters
i want create ssrs report with sharepoint list using ms-vs(2008). i want create Distinct multivalue parameters by using CAML query. There is any way we put CAML query where we use Distinct keyword and IN clause in CAML query... i hope all experts will
understand my poor English... sorry for poor English.. plz help meHi AsifMehmood,
Per my understanding you have create an SSRS report with SharePoint list, now you don’t know to create the distinct parameters by using CAML query, right?
For the CAML language doesn’t have any reserved word (or tag) to set this particular filter to remove duplicate results, but we can use the custom code to do this function. I have tested on my local environment and we can do that by create one hidden parameter(Param1)
to get all the values from the fields which will add the filter and then create another parameter(Param2) to get the distinct values based on the Param1, we use the custom code to do the deduplication.
Step by Steps information in below thread for your reference to create the parameters and the custom code:
"How to get distinct values of sharepoint column using SSRS"
Other similar thread for your reference:
https://audministrator.wordpress.com/2014/02/17/sharepoint-list-add-distinct-parameter-value/
If your problem still exists, please feel free to ask and also try to provide us more details information.
Regards
Vicky Liu -
Provision a multivalued attribute from OIM to OID
Hi,
I have a requirement to provision a new multivalued attribute from OIM to OID.
Steps followed:
Created a child form
Attached child form to the OID Parent form
Created a process task adapter.
Created a task in process definition and the attached the adapter
Adapter code.
public String addChildData(tcDataProvider ioDatabase, long procInstKey, long childDefKey){
try{
tcFormInstanceOperationsIntf formInstOper = (tcFormInstanceOperationsIntf)tcUtilityFactory.getUtility(ioDatabase, "Thor.API.Operations.tcFormInstanceOperationsIntf");
HashMap testval = new HashMap();
testval.put("UD_TESTCHIL_TESTGROUP","abcd2134");
System.out.println("testval..."+testval);
long formreturn = formInstOper.addProcessFormChildData(childDefKey,procInstKey,testval);
System.out.println("formreturn" +formreturn);
catch(Exception e){
System.out.println("exce" +e);
return "Success";
After attaching while provisioning I am seeing both parent and child forms. I have provided the values and its successfully provisioning.
But how I can provision the new OID multivalued attribute. We have to do any setting in the lookup?
Regards,
KKJust create your new adapter for add and delete from this new child table just like the other triggered tasks. If it's a multi value on the user profile, use the adapter for Add Multi Value Attribute that comes with the connector. In the property name, put in your multi value attribute name, and map the value from the child table.
-Kevin -
Selecting items in a list from a multivalue field
I have an edit page that includes a menu form element that
allows multiple selections. It inserts all the IDs from a table
that it's got from a recordset as a string into field named
EventType separated by commas ("10000,10002,10004"). So far so
good.
I have a dynamic menu behaviour on the edit page too but when
I reload it none of the options in the list are selected. It will
mark an item in the menu as selected when there's only one value,
presumably because when there are multiples the behaviour is trying
to match a string of "10000,10002,10004" to the values in the the
list , which are separate values:
<select name="EventType" size="5" multiple="multiple"
id="EventType">
<option value="10001" >Abseil</option>
<option value="10007" >Golf</option>
<option value="10000" >Marathon/Run</option>
<option value="10008" >Other outdoor</option>
<option value="10003" >Overseas</option>
<option value="10005" >Social</option>
<option value="10006" >Triathlon</option>
<option value="10004" >Walking</option>
I'd have thought this would have been dealt with by the
behaviour, but apparently not. How to I break apart the multivalue
field to select each item in the menu?Thank you for poitning me in the right direction. I was being
a little slow today:
While (NOT rsEventType.EOF)
%><option
value="<%=(rsEventType.Fields.Item("ID").Value)%>" <%
Array = Split(rsEvent.Fields.Item("Type").Value,", ")
For Each i In Array
If rsEventType.Fields.Item("ID").Value = i Then
response.write "selected"
End If
Next
%>><%=(rsEventType.Fields.Item("EventType").Value)%></option>
<%
rsEventType.MoveNext()
Wend -
Hi,
I am using Access 2013 and I have the following VBA code,
strSQL = "INSERT INTO Master SELECT * from Master WHERE ID = 1"
DoCmd.RunSQL (strSQL)
when the SQL statement is run, I got this error.
SELECT * cannot be used in an INSERT INTO query when the source or destination table contains a multivalued field
Any suggestion on how to get around this?
Please advice and your help would be greatly appreciated!Rather than modelling the many-to-many relationship type by means of a multi-valued field, do so by the conventional means of modelling the relationship type by a table which resolves it into two one-to-many relationship types. You give no indication
of what is being modelled here, so let's assume a generic model where there is a many-to-many relationship type between Masters and Slaves, for which you'd have the following tables:
Masters
....MasterID (PK)
....Master
Slaves
....SlaveID (PK)
....Slave
and to model the relationship type:
SlaveMastership
....SlaveID (FK)
....MasterID (FK)
The primary key of the last is a composite one of the two foreign keys SlaveID and MasterID.
You appear to be trying to insert duplicates of a subset of rows from the same table. With the above structure, to do this you would firstly have to insert rows into the referenced table Masters for all columns bar the key, which, presuming this to be
an autonumber column, would be assigned new values automatically. To map these new rows to the same rows in Slaves as the original subset you would then need to insert rows into SlaveMastership with the same SlaveID values as those in Slaves referenced
by those rows in Slavemastership which referenced the keys of the original subset of rows from Masters, and the MasterID values of the rows inserted in the first insert operation. This would require joins to be made between the original and the new subsets
of rows in two instances of Masters on other columns which constitute a candidate key of Masters, so that the rows from SlaveMastership can be identified.
You'll find examples of these sort of insert operations in DecomposerDemo.zip in my public databases folder at:
https://onedrive.live.com/?cid=44CC60D7FEA42912&id=44CC60D7FEA42912!169
If you have difficulty opening the link copy its text (NB, not the link location) and paste it into your browser's address bar.
In this little demo file non-normalized data from Excel is decomposed into a set of normalized tables. Unlike your situation this does not involve duplication of rows into the same table, but the methodology for the insertion of rows into a table which
models a many-to-many relationship type is broadly the same.
The fact that you have this requirement to duplicate a subset of rows into the same table, however, does make me wonder about the validity of the underlying logical model. I think it would help us if you could describe in detail just what in real world
terms is being modelled by this table, and the purpose of the insert operation which you are attempting.
Ken Sheridan, Stafford, England -
# Multivalue error in cross tab
Hi All,
I am using BO-launch pad 4.1,sp2 Data is from Bex-query using CMC.
Table: Cross tab
1)Dimenssion obj: CO-object
2)Attributs: Co-obj-wbs elemt,costcentr,order
3)Measure:Budjet aproval overall, Budjet for annul,Actual cost, Actual quantity,planned cost, planned quantity
when drag i dimension co-obj,attributes and all measures it showing values but when i drag attributes and measures (No need to drag dimension) it is showing in crosstab
# Multivalues error in all measure fields.
Can you plz give me suggestions on this.
Thanks
GaneshHello,
Please check if you have used exception aggregation on measures in the BEx queries. These aggregation might be using some dimensions as reference characteristics. And if that dimensions are not included, you might get these multivalue error.
Good Day !! -
#MULTIVALUE error in SAP BI 4.1 SP3 WebI report after upgrade
Facing issues after upgrading from BO 3.1 SP3 to SAP BI 4.1 SP3.Below are the details:
1.The WebI report is created with 2 data providers. The report tab has a vertical table with 2 dimensions and 3 measures.
2.In the report layout the objects displayed is coming from base dimension and not merged dimension.
3.The data in some of the rows displays as #MULTIVALUE and some of them display the value.
4.The report also have Sub totals and no breaks.
Based on point no 3, not able to verify whether the subtotals are been calculated correctly. Please share your inputs,suggestions or solutions to resolve this issue.
Thanks in advance.Hi,
Do you have the Associated object on layout?. Drag and drop in a column and if you dont want to display hide it.
Also , did you check the Extended Merged dimension option in properties?.
Thanks,
Jothi -
Hi,
I want to create a graph in web intelligence by using two dimensions month and state name and one measures, we have multiple state name, when state name have different measure values on same month then i got the #MultiValue error on x-axis against month name, this is scenrio like
Month Statname measure
1 abc 1
2 abc 2
2 def 3
3 xyz 4
4 rtf 6
5 tye 7
5 zyx 9
6 ere 10
Have someone idea, how can i resovle this issue.
My platform is Windows Server 2008, BOX 3.1 SP3.
Regards
TayyabThank you very much pumpactionshotgun,
There is my forumula
=If Length([ReportFilter]) >4 Then FormatDate(ToDate( Substr([CALENDAR YYYYMM];1;4)+"-"+Substr([CALENDAR YYYYMM];5;6)+"-"+"01";"yyyy-MM-dd");"MM-yyyy") Where ([CALENDAR YYYYMM] >="200801" And [CALENDAR YYYYMM]<="200812" ) Else FormatDate(ToDate( Substr([CALENDAR YYYYMM];1;4)+"-"+Substr([CALENDAR YYYYMM];5;6)+"-"+"01";"yyyy-MM-dd");"MM-yyyy") Where ([CALENDAR YYYYMM] >=[ReportFilter] + "01" And [CALENDAR YYYYMM]<=[ReportFilter]+ "12" )
so when i use this formula i have the #Multivalue error.
Regards,
Tayyab -
Hi All,
vertical table i have applied the report level report .if i select any single measure it's working fine else i select the category measure(all values)
it showing the #multivalue error. how to fix this.Hi Stefan Jay,
Use =Sum([Measure]) formula in the report.
If this will not resolve your issue then share the screenshot of the issue.
Regards,
Anish
Maybe you are looking for
-
I have recently converted my Robohelp for Word project to HTML, more or less successfully. As expected, all of the links that existed in the Winhelp project that originated from a bitmap, broke during the conversion process. I'm in the process of r
-
User Decision with Secondary Method
Dear All, I have created a user decision step for Leave Request workflow (ie. to approve or reject ). This is done for multiple approvals of leave request through UWL i.e. user can select multiple requests & take decisions(approve/reject). In the use
-
Curve 8310: How can I secure a picture folder?
I want to set a password to access selected picture folders on my media card, is there a way to do this?
-
Hi Experts, I have a requirement, where I need to Parse the XML file after reading it from application server. Based on the data, I need to add some Tags to XML data. Can we achieve the solution in ABAP. Request your expertise. Thank you, Amit
-
Our system is currently configured to email a PO to the vendor. The system works fine and emails the attachment as .pdf. However, there are a couple users where the attachment is emailed as HTML. I am assuming this must be a user setting. Any ide