SSRS Column Chart Design Returning values in a format different from SSRS -SSAS Query Designer
Hi All,
I have an SSAS cube Measure Group with Multiple Measures that I am attempting to return on one SSRS report and reflect the
values using a ssrs column chart.
My Measure Group (Patients).
Measures:
PatientsOnMeds
PatientOnRelapse
PatientsCounseld
TotalNumberOfPatientsRegisterd
NewlyRegisteredPatients
HealthPersonelTrainef
Demension:
Time (Year) :filtered to 2012 & 2013
In my SSRS query designer I have filtered the above Measures with Time Dimesion year 2012 & 2013
and the data is returned as :
Year |PatientsOnMeds|PatientOnRelapse|TotalNumberOfPatientsRegisterd|NewlyRegisteredPatients|
2012 | 700 | 526 | 25 | 456
2013 | 245 | 245 | 15 | 70
Now the problem is when I return this data on the column Chart it's in messed up mesh
On the chart Data:
-Values :Measures
-Series Group: Dimension
The report values are returned in multiple columns for each value segmented by year i.e year 2012,Year 2013.
I want a single column for each Measure (value) for each single year and The chart axis to reflect the measures(values)
instead of grouping values according to series group.
instead the legend returns:
-Year A -PatientsOnMeds
-Year A -PatientOnRelapse
-Year B -PatientsOnMeds
-Year B -PatientOnRelapse
I would like the legend to reflect on -Year A,Year B in color code that will be highlighted in the column values.
Please point me in the right course if you can.Your insights are highly appreciated.Thank you in advance.
Hi Charlie,
Thank you for your kind response.
In actual I want the legend to show:
-2012
-2013
And the bottom axis to show:
PatientsOnMeds
PatientOnRelapse
PatientsCounseld
TotalNumberOfPatientsRegisterd
NewlyRegisteredPatients
HealthPersonelTrained
Indicating in color code for Year 2012 and Year 2013.
This the challenge that I am struggling with.I hope you understand my scenario.
It aint easy.
Similar Messages
-
In column Chart when Y values are grater than y linear axis maximum it doesnt show the Bar
Hi Guys,
In column Chart when Y values are grater than y linear axis maximum it doesnt show the Bar.But i want show the bar upto the max limit of y linear axis without changing the max limit.
Consider following example:
Y values are 80 90 200 300
and following are the output :
Left:When i am not setting maximum property of linear axis.
Right :When i am setting maximum property of linear axis to 200.
In right 4th bar is not visible bcoz value for that bar is 300 which is excedding maxium.But i want the 4th bar to appear same as 3rd bar.
How i can do this?
Thanks in advance.Are you going to show the bar going past the maximum value?
If not, then you should change the Y value when entered into the array to the maximum value allowed. i.e.
if(itemYValue > maxAllowedValue) {
itemYValue = maxAllowedValue;
Where maxAllowedValue is a variable you set on the application to control the maximum value for the chart.
This is assuming that you are loading the values into an Array before updating the chart dataprovider with that array. -
Can Business Object Access Queries from the BI query designer?
Hi Gurus,
I've started working with BOBJ and honestly I'm not impressed with it's functionalities, specially with the report layouts (SO many limitations!!). Anyway I was wondering if Business Objects can access BI Queries in the Query Designer since I can do most of the manupilation in Query Designer that I need. Thank You in advance and any help will be most certainly appreciated.
- KitHello KIT,
Also, look at the below Blog for xcelsius where he directly consumes the BEx query the QUERY_VIEW_DATA Web service out of the BW system. This is one way to approach the BEx query:
/people/arvind.bhaskar/blog/2009/04/17/consuming-bi-queries-in-an-xcelcius-dashboard
Thanks
Arun -
Keyfigure value by comparing 2 date fields, in the query designer.
Hi all,
Could any one please intimate, how to display the key figure result with the comparison of 2 date fields.
We are having "Completed Date" say(CDATE) and "Deadline Date"(DDATE) values in the report as time characteristics, dervied from the CRM system.
Now we need to compare the values as:
CDATE <= DDATE, then only consider this under "Meeting Planned Date"(Key Figure).
Could you please intimate, how to display the key figure value, by using the code at the query designer level.
Thanks & Regards,
A.V.N.RaoHi Rao,
Simple create two formula variables with replacement path from these two date fileds,then create a formula then do the comparison
Eg:
ZVAR_CDATE WITH REPLACEMENT PATH PROCESSING TYPE REPLACED WITH OBJ CDATE
ZVAR_DDATE WITH REPLACEMENT PATH PROCESSING TYPE REPLACED WITH OBJ DDATE
CREATE A FORMULA FORMULA1: IN THE FORMULA BUILDER AREA DO THE COMPARISON.
Thanks & Regards
Ramsthota -
Link to Web Analyzer from rsrt or query designer does not work.
If I start with the transaction RSRT a query in the Java Web would get the following error message:
Java Runtime Error
But if I had started earlier browser, the portal there is no problem. Is this a SSO problem?
The same problem I have when I would run in the Bex Query Designer the query.
Greetings
KerimHi,
Do you have all the parameters correct in SPRO? Take a look at this, under the BW Customizing -> REporting relevant settings or BW Customizing -> SAP Web Application Server.
I dont remember the right place where you have to configure this, but it should be there.
The error is just "Java Runtime Error"? Try to talk with your Basis team, maybe there is a log to help you.
Regards, Federico -
Rendered=false column is not returning value in simpleSearch Query Region.
Hi Guru's,
I have a simpleSearchPanel with two search columns Order Number (Rendered=true, i.e Visible to User in the form) and Order Id(Rendered=False, i.e Non visible to User in the form) which are getting values from LOV. The LOV selection Order Number and Order Id are getting values and Order Number column is rendered true(visible) query able to return the values, but Order Id is not getting values because Rendered=False/Not visible Field.
Unfortunately i can't make OrderId filed as "formValue" because of simpleSearchPanel (autoCustoomizationCritirea) query region.
I appreciate your help.
Regards
Pathiits not the problem with simpleSearchPanel, it is the messageComponentLayout within simpleSearchPanel which is restricting the formValue.
just change the region style to defaultDoubleColumn and create the formValue into it.
This should solve your problem..
--Prasanna -
Parsing a selected column into multiple returned values
I have a column in a table that contains a string of variable names seperated by commas. In my Select statement is it possible to break apart the string using the commas as a delimeter and get each item returned individually?
Here's my table:
SQL> create table myvars
2 (x number(1), vars varchar2(200));
Table created.
SQL> insert into myvars
2 values
3 (1, 'varA,varS,varY');
1 row created.
SQL> edit
Wrote file afiedt.buf
1 insert into myvars
2 values
3* (2, 'varX,varU,varB,var1')
SQL> /
1 row created.
SQL> edit
Wrote file afiedt.buf
1 insert into myvars
2 values
3* (3, 'varE,varI')
SQL> /
1 row created.
SQL> set linesize 250
SQL> /
X VARS
1 varA,varS,varY
2 varX,varU,varB,var1
3 varE,varI
So, would it be possible to somehow select the a row of text where X = 2 that ends up looking like this:
X
2 varX varU varB var1
...where the column VARS is broken into 4 smaller strings of text?SQL> select ename from emp where empno = 7934 ;
ENAME
SMITH,ALLEN
1 row selected.
SQL> select * from TABLE(select cast(in_list(ename) as mytableType) from emp where empno = 7934) a ;
COLUMN_VALUE
SMITH
ALLEN
2 rows selected.
SQL>Message was edited by:
Kamal Kishore -
Output a text value from formula in query designer
I need to display different text values in a query. For example, if actual delivery date falls within 5 days of planned delivery date, display 'ON-TIME'; if earlier than 5 days display 'EARLY', if later than 5 days display 'LATE', etc. I've been researching this to death. Does it have to be a customer exit variable or is there a better way to do this?
thanks!Hello Jill,
Yes creating three CKF's was correct and those will output a 1 if your condition satisfies else a zero. Create a new formulae and use a the CKF's that you created and multiply with 2,3,4.
Example : Formulae Description "Early=2" ,"Late =3","Ontime=4"
Then your logic is "ckf12 + ckf23 + ckf3*4" which means only one will be true per line so it will result in either 2 or 3 or 4.You will see
Delivery Date Scheduled Date "Early=2" ,"Late =3","Ontime=4"
12/20/2007 12/24/2007 2
12/22/2007 12/21/2007 3
You will have to create a Text Variable with Customer Exit option which will say if output of example Tech name of "Early=2" ,"Late =3","Ontime=4" is "ZEar_Lat_Otime"
When "ZEar_Lat_Otime"
if Result= 2 then "Early",
if Result =3 then "Late"
else Result =4 then "Ontime"
into "Text_Variable"
code to be some thing like that.
Result Display:
Delivery Date Scheduled Date "Early=2" ,"Late =3","Ontime=4"
12/20/2007 12/24/2007 Early
12/22/2007 12/21/2007 Late
Show your client the below result and see if he is OK with the result then you dont have to use Customer Exit.
Delivery Date Scheduled Date "Early=2" ,"Late =3","Ontime=4"
12/20/2007 12/24/2007 2
12/22/2007 12/21/2007 3 -
Return value of inferred entity instance from relationship in SOAP Determinations
Hey,
I had an original thread open which indicates the problem I was trying to solve (Multiple Conclusion based on input values ). My rule base now behaves as expected and I can test it in the debugger as expected, only now I can't get the actual identifying values back I want using the determinations web service.
I get a whole bunch of inferred entity instances back from an inferred relationship the same as the situation/screen shot at the bottom of the "Investigate an inferred relationship" page on the Oracle Policy Automation Cloud Service User Guide, but in my SOAP response I only get the instances with hashed IDs. I want the actual identifying value of the entity.
e.g. Currently get this:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:i18n="http://www.w3.org/2005/09/ws-i18n" xmlns:typ="http://oracle.com/determinations/server/11.0/rulebase/assess/types">
<SOAP-ENV:Header>
<i18n:international>
<i18n:locale>en_GB</i18n:locale>
<i18n:tz>GMT-0500</i18n:tz>
</i18n:international>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<typ:assess-response>
<typ:global-instance>
<typ:attribute id="course_code" type="text">
<typ:text-val>AHPY</typ:text-val>
</typ:attribute>
<typ:entity id="the_supplementary_documents" inferred="true">
<typ:instance id="0x608c2dc220e15d8c"></typ:instance>
<typ:instance id="0x5b7e2d02e8780325"></typ:instance>
</typ:entity>
<typ:entity id="the_informational_documents" inferred="true">
<typ:instance id="0x19387621439a43c7"></typ:instance>
</typ:entity>
</typ:global-instance>
</typ:assess-response>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
But I want something like below and I'm having a lot of trouble figuring out how to actually do this. Also is there anywhere that defines the meaning of errors you get from OPA? I have tried to modify my rulebase and I got a few OPA-EXXXXX errors but apart from the description you get in OPM, I can't find anywhere that gives more detail on these and explains what they mean/how to fix it.
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:i18n="http://www.w3.org/2005/09/ws-i18n" xmlns:typ="http://oracle.com/determinations/server/11.0/rulebase/assess/types">
<SOAP-ENV:Header>
<i18n:international>
<i18n:locale>en_GB</i18n:locale>
<i18n:tz>GMT-0500</i18n:tz>
</i18n:international>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<typ:assess-response>
<typ:global-instance>
<typ:attribute id="course_code" type="text">
<typ:text-val>AHPY</typ:text-val>
</typ:attribute>
<typ:entity id="the_supplementary_documents" inferred="true">
<typ:instance id="http://mydomain.com/mydocument.pdf">
</typ:instance>
<typ:instance id="http://mydomain.com/mydocument.pdf"></typ:instance>
</typ:entity>
<typ:entity id="the_informational_documents" inferred="true">
<typ:instance id="http://mydomain.com/mydocument.pdf"></typ:instance>
</typ:entity>
</typ:global-instance>
</typ:assess-response>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>I managed to get this working by referring to this thread: Inferred Entity Instances IDs in output response
I had tried something similar but not quite the same. In the end my request looked something like this:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://oracle.com/determinations/server/11.0/rulebase/assess/types">
<soapenv:Header/>
<soapenv:Body>
<typ:assess-request>
<typ:config>
<typ:outcome>
<typ:entity id="the_supplementary_documents">
<typ:attribute-outcome id="supplementary_documents" outcome-style="value-only"/>
</typ:entity>
<typ:entity id="the_informational_documents">
<typ:attribute-outcome id="informational_documents" outcome-style="value-only"/>
</typ:entity>
</typ:outcome>
</typ:config>
<typ:global-instance>
<typ:attribute id="course_code">
<typ:text-val>AHPY</typ:text-val>
</typ:attribute>
</typ:global-instance>
</typ:assess-request>
</soapenv:Body>
</soapenv:Envelope> -
SSRS 2008 R2 why Link Report Print format different from parent?
Hi,
I have created a link report based on Report A.
In Report A I have set the print format to "LANDSCAPE", but the link report always appear in Portrait, any work around on this?
If this is one of the SSRS bugs, is that anyway I can disable the print button in Report Server?
ThanksHi SAMSUNG,
I can reproduce the issue in my local environment. As per my understanding, this scenario is caused by design.
In Reporting Services, Report server administrators have the option of disabling the print feature by setting the report server system property EnableClientPrinting to false. But this property will disable client-side printing for all reports managed by
the server. So if you want to hide the print icon in all reports, we can refer to the following document:
http://msdn.microsoft.com/en-us/library/ms155874(v=sql.105).aspx
Hope this helps.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
How to pass a date parameter from report builder query designer to oracle database
i'm using report builder 3.0 connected to oracle database. i'm trying to pass a date parameter in the query with no success, i don't
know the exact syntax. I've tried :
SELECT * FROM igeneral.GCL_CLAIMS where CREATED_BY IN (:CREATED_BY) AND CLAIM_YEAR IN(:UW_YEAR) AND (LOSS_DATE) >To_Date('01/01/2014','mm/dd/yyyy')
it worked perfectly.
However if i try to put a date parameter "From" instead of 01/01/2014 it will not work, a Define Query Parameter popup window appear and error occurred after i fill
the values (usually i shouldnt get this popup i should enter the value when i run the report)
SELECT * FROM igeneral.GCL_CLAIMS where CREATED_BY IN (:CREATED_BY) AND CLAIM_YEAR IN(:UW_YEAR) AND (LOSS_DATE) >To_Date(:From,'mm/dd/yyyy')
appreciate your assistanceHi Gorgo,
According to your description, you have problem when in passing a parameter for running a Oracle Query. Right?
Based on my knowledge, it use "&" as synax for parameter in Oracle, like we use "@" in SQL Server. In this scenario, maybe you can try '01/01/2014' when inputing in "From". We are not sure if there's any limitation for To_Date()
function. For your self-testing, you can try the query in sqlplus/sql delveloper. Since your issue is related to Oracle query, we suggest you post this thread onto Oracle forum.
Best Regards,
Simon Hou -
ORA-03113 when inserting a CLOB value casted as an XMLType from a SELECT query into a table
I have a table that contains a CLOB column with pseudo-XML in it. I want to keep this data in an XMLType column so that I can leverage some of Oracle's built-in XML features to parse it more easily.
The source table is defined as:
CREATE TABLE "TSS_SRM_CBEBRE_LOGS_V"
( "INCIDENT_ID" NUMBER,
"EVENT_TYPE" VARCHAR2(100 BYTE) NOT NULL ENABLE,
"EVENT_KEY" VARCHAR2(100 BYTE),
"CREATION_DATE" TIMESTAMP (6) NOT NULL ENABLE,
"CREATED_BY" VARCHAR2(100 BYTE) NOT NULL ENABLE,
"LOG_MSG" CLOB);
The target (for testing this problem) table is defined as:
CREATE TABLE "TESTME"
( "LOG_MSG" "XMLTYPE"
My query is:
insert /*+ APPEND */ into testme ("LOG_MSG")
select XMLTYPE.createXML("LOG_MSG") as LOG_MSG from "TSS_SRM_CBEBRE_LOGS_V" b;
In SQL*Developer, my error is: Error report:
SQL Error: No more data to read from socket
In SQL*PLUS and Toad, my error is:
ORA-03113: end-of-file on communication channel
Process ID: 13903
Session ID: 414 Serial number: 32739By pseudo-XML, I mean that it doesn't have the xml root node. The content structure is similar to the following:
<a attr1="1" attr2="2" />
<b attr1="3" attr2="4" />
<c attr1="5">
<e attr1="6" attr2="7" />
<e attr1="8" attr2="9" />
<e attr1="10" attr2="11" />
</c>
<d attr1="12" />
OK. Those are XML fragments then.
I'm surprised you say the query alone works.
We cannot build an XMLType instance using the default constructor or createXML() method when the content is composed of fragments.
AFAIK the only option is to use XMLParse() with CONTENT option :
SQL> select xmltype.createxml(LOG_MSG) from TSS_SRM_CBEBRE_LOGS_V;
ERROR:
ORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
LPX-00245: extra data after end of document
Error at line 2
ORA-06512: at "SYS.XMLTYPE", line 5
no rows selected
SQL> select xmltype(LOG_MSG) from TSS_SRM_CBEBRE_LOGS_V;
ERROR:
ORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
LPX-00245: extra data after end of document
Error at line 2
ORA-06512: at "SYS.XMLTYPE", line 272
ORA-06512: at line 1
no rows selected
SQL> select xmlparse(content LOG_MSG) from TSS_SRM_CBEBRE_LOGS_V;
XMLPARSE(CONTENTLOG_MSG)
<a attr1="1" attr2="2" />
<b attr1="3" attr2="4" />
<c attr1="5">
<e attr1="6" a
Anyway, you'll eventually hit this :
SQL> insert into testme (LOG_MSG)
2 select XMLparse(content LOG_MSG)
3 from TSS_SRM_CBEBRE_LOGS_V;
insert into testme (LOG_MSG)
ERROR at line 1:
ORA-19010: Cannot insert XML fragments -
Calendar year / Month (0CALMONTH) values format differs from Infocube
I run BEx query which is based on Infocube, the values of 0calmonth displayed as 01/2008 whereas in infocube the values are shown 200801.
How to change the 0calmonth format in query result same as Infocube .( ie. 01/2008 into 200801).
Note : I need to load this query result through flatfile into Infocube, here the 0Calmonth values format mismatches.
Thanks,Hi,
The Standard date format for saving in sap 0CALMONTH is YYYYMM.
And , the same fields displayed in query is MM.YYYY
This is the standard format in sap to store the values.
And if you want to store with flatfile then change the format in flatfile to MM.YYYY
Hope you get what i suggested.
Regards,
Sagar -
Actual value in Service PO differs from GR value
Hello,
In the Service PO, in item details Limit tab, actual value is incorrect, service entry/ GR value is diffrent and actual value in the limit tab is diffrent, in fact it is showing the same value as overall limt and expected value,
please suggest.
thanks for replying,
-BalaHi,
Is the value of EKBE-REFWR = RSEG-WRBTR for your PO and invoice? If yes, then what you are seeing is not an error. The values are correct.
The 'Actual value' in the PO displays the sum of the invoiced amount referred to the PO/item (EKBE-REFWR / EKBE-REFWR).
But the displayed 'Value in local curr' in the PO's history for each invoice's item (EKBE-WRBTR) is not the invoice item's amount, it includes the following 4 parts:
1. Invoice item's amount
2. Non-Deductible Input Tax(NVV)
3. unplanned Delivery costs
4. Cash discount amount
So the 'actual value' in the PO cannot be the same as the totoal invoiced value.
Regards,
Purnima. -
Introduction
In SQL Server Reporting Service (SSRS), you may need an average value on column chart.
For the above chart, add an average score line to the chart, you can get which student’s score is larger than average score, and which student’s score is less than average score clearly. This document demonstrates how to add an average line to series groups
on SSRS column chart.
Solution
To achieve this requirement, you can add another values to the chart, change the chart type to line chart. Set the value to average value of the series group and set the line to show only once by using expression. Please refer to the link below to see the
detail steps.
Click the chart to display the Chart Data pane.
Add Score field to the Values area.
Right-click the new inserted Score1 and select Change Chart Type. And then change chart type to line chart in the Select Chart Type window.
Change the Category Group name to Subject. Here are the screenshot for you reference.
Right-click the new inserted Score1 and select Series Properties.
Click the expression button on the right of Value field textbox, type the expression below:
=Avg(Fields!Score.Value,"Subject"))
Click Visibility in the left pane, select “Show or hide based on an expression”, and type in the expression below:
=IIF(Fields!Name.Value="Rancy",FALSE,TRUE)
Name in the expression is one of the Students. Then only one line chart is be displayed by using this expression.
Click Legend in the left pane, type Average_Score to the Custom legend text box.
The report looks like below:
Applies to
Microsoft SQL Server 2005
Microsoft SQL Server 2008
Microsoft SQL Server 2008 R2
Microsoft SQL Server 2012
Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.Thanks,
Is this a supported scenario, or does it use unsupported features?
For example, can we call exec [ReportServer].dbo.AddEvent @EventType='TimedSubscription', @EventData='b64ce7ec-d598-45cd-bbc2-ea202e0c129d'
in a supported way?
Thanks! Josh
Maybe you are looking for
-
Function Fill free space with music on iPhone skipping high bitrate songs
Hi, I have in my Library some high quality songs (m4a 320) and this (fill free space...) function skipping theses songs. I must add it to iPhone manualy. Any help?
-
It seems to only be with me on my iPhone, she is able to text with others. I can't find a place where I may have accidentally blocked her.
-
MB11 552 Mvt Type Cost Center as Mandatory Field,Want to change to optional
Hi In MB11 552 Mvt Type Cost Center as Mandatory Field, Requirement here is to change the filed to optional. Whr are the settings? Vijay
-
Formatting code according to Javadoc standards
Hi, I have a set of java code. I am looking for some 3rd party tool or IDE which can format my code according to java doc standards (e.g. generating method header comments, parameters, return etc.). I am trying that i dont have to go to each file and
-
Error Message: The content processing pipeline failed to process the item
Hi Everyone: Our crawl logs yesterday show a ton of errors. Half of the items being crawled are failing. We are getting the following message: The content processing pipeline failed to process the item. ( There was an internal problem connecting to