Repeating Values on axis (SSRS Chart)
Hi ,
i have repeating values on axis .i am not sure sure how to get rid of this problem.i did workaround like changing interval property expression to iif(max(count(Fileld))<4,1,0) but it didn't help.i have attached image file
for reference .
Hi Zamin,
From your screenshot, it seems that the interval of the axis is 0.5, and the "Decimal places" was set to 0 in the “Number” tab, right? So 0.5 becomes 1 and 1.5 becomes 2. To avoid this issue, please set the "Decimal places" to 1 in the “Number” tab.
If you have any questions, please feel free to ask.
Regards,
Charlie Liao
TechNet Community Support
Similar Messages
-
To display percentage value dynamically in SSRS chart
Hi,
I have got a requirement to show percentage values in Y AXIS.
X axis is year. There is legend color. Below the result set of the query, on top of this i have to do report. (Data set query cant be changed as it already using for other report)
Sample Data
Year Color
2012 Black
2012 Black
2012 Red
2013 Black
2013 Black
2013 Red
2013 Red
My requirement is like year 2012, for black 66% (2/3) and for red 33%(1/3).
How can we achieve this without using extra dataset and lookup?
Your help is highly appreciated.
Thanks!
ShamsuddeenHi Shamsuddeen,
According to your description, you want to display the proportion for each color within each year.
In your scenario, you can achieve your requirement follow steps below:
1. Design a chart, specify the Category Groups with [Year] and [Color]. Then check the group name of the [Year].
2. Specify the expression within Values panel like below:
=Count(Fields!Color.Value)/Count(Fields!Color.Value,"Chart1_CategoryGroup")
3. Right click the chart to open Seriese Label Properties, change the number formatting option as Percentage on Number page. Then preview the report.
If you have any question, please feel free to ask.
Best regards,
Qiuyun Yu
Qiuyun Yu
TechNet Community Support -
How to display the dataset field values in my ssrs bar chart report ?
HI i have a Bar Chart report in that i want to display the dataset one field values in my x-axis of my ssrs report? so how should i display those values into my bar chart report?
consider i want to display the Every Qtrly details in my x-axis so how should i ?
can you pls help me out for thisI have added the Category Group into my Report area with required field ,now i will get my required output.
-
How to show colmn value in the legend in ssrs Chart?
How to display Legend values in my ssrs Report like below
I want the values like below.
SuccesCount-2000
FailCount-100
No status-150
Can U pls help me for this
ThanX!I will found the soluction for this ,
Go to Chart Area ->Series Properties->Left Side you have noticed Legend->There you need to add expression in the
fx
i.e ="SuccessCount" & " "& Fields!SuccessCount.value
so you finally get the out put like below
o/p :SuccessCount 2000 -
I have SSRS parametarized report in that one data set have repeated values with query parameter . but while am mapping that query
parameter to report parameter i need to pass distinct values. How can i resolve thisHi nancharaiah,
If I understand correctly, you want to pass distinct values to report parameter. In Reporting Service, there are only three methods for parameter's Available Values:
None
Specify values
Get values from a query
If we utilize the third option that get values from a dataset query, then the all available values are from the returns of the dataset. So if we want to pass distinct values from a dataset, we need to make the dataset returns distinct values. The following
sample is for your reference:
Select distinct field_name from table_name
If you have any other questions, please feel free to ask.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
Finding x and y values of a Line Chart
Hi,
For instance, I had a line chart with x and y axis. When I move mouse to the line chart how can I determine x and y axis values? With mouseMoved metod i can find the coordinates but coordinates doesn't help me to find x and y values of the line chart.
How can I find x and y values of a Line Chart?
Thanks in advanceTranslate from model to view and back. Another way to do this is to create an
AffineTransform for the modelToView and use it to transform the points. Create an inverse
transform to use in the viewToModel method. Add a ComponentListener and reset the transforms
in the componentResized method to keep them updated.
import java.awt.*;
import java.awt.event.*;
import java.awt.font.*;
import java.awt.geom.*;
import java.text.NumberFormat;
import javax.swing.*;
public class Translation extends JPanel {
JLabel xLabel;
JLabel yLabel;
NumberFormat nf;
double[] data = { 16.0, 32.9, 7.4, 18.9, 12.3 };
final int Y_GRADS = 5;
final int PAD = 35;
final int SPAD = 3;
final int TICK = 2;
double maxVal;
public Translation() {
nf = NumberFormat.getInstance();
nf.setMinimumFractionDigits(1);
nf.setMaximumFractionDigits(1);
maxVal = getMaxValue();
addMouseMotionListener(sweep);
protected void paintComponent(Graphics g) {
super.paintComponent(g);
Graphics2D g2 = (Graphics2D)g;
g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
RenderingHints.VALUE_ANTIALIAS_ON);
drawAxes(g2);
plotData(g2);
private void plotData(Graphics2D g2) {
for(int j = 0; j < data.length; j++) {
Point2D.Double p = modelToView(j, data[j]);
if(j < data.length-1) {
Point2D.Double next = modelToView(j+1, data[j+1]);
g2.setPaint(Color.blue);
g2.draw(new Line2D.Double(p, next));
g2.setPaint(Color.red);
g2.fill(new Ellipse2D.Double(p.x-2, p.y-2, 4, 4));
private Point2D.Double modelToView(double x, double y) {
double h = getHeight();
Point2D.Double p = new Point2D.Double();
p.x = PAD + x*(getWidth() - 2*PAD)/(data.length-1);
p.y = h-PAD - y*(h - 2*PAD)/maxVal;
return p;
public Point2D.Double viewToModel(double x, double y) {
double h = getHeight();
Point2D.Double p = new Point2D.Double();
p.x = (x - PAD) * (data.length-1) / (getWidth() - 2*PAD);
p.y = (h - PAD - y) * maxVal / (h - 2*PAD);
return p;
private void drawAxes(Graphics2D g2) {
int w = getWidth();
int h = getHeight();
double xInc = (double)(w - 2*PAD)/(data.length-1);
double yInc = (double)(h - 2*PAD)/Y_GRADS;
// Abcissa
g2.draw(new Line2D.Double(PAD, h-PAD, w-PAD, h-PAD));
// Tick marks
double y1 = h-PAD, y2 = y1+TICK;
for(int j = 0; j <= data.length; j++) {
double x = PAD + j*xInc;
g2.draw(new Line2D.Double(x, y1, x, y2));
// Labels
Font font = g2.getFont().deriveFont(14f);
g2.setFont(font);
FontRenderContext frc = g2.getFontRenderContext();
LineMetrics lm = font.getLineMetrics("0", frc);
float sx, sy = h - PAD + SPAD + lm.getAscent();
for(int j = 0; j < data.length; j++) {
String s = String.valueOf(j);
float width = (float)font.getStringBounds(s, frc).getWidth();
sx = (float)(PAD + j*xInc - width/2);
g2.drawString(s, sx, sy);
// Ordinate
g2.draw(new Line2D.Double(PAD, PAD, PAD, h-PAD));
// Tick marks
double x1 = PAD, x2 = PAD-TICK;
for(int j = 0; j <= Y_GRADS; j++) {
double y = PAD + j*yInc;
g2.draw(new Line2D.Double(x1, y, x2, y));
// Labels
for(int j = 0; j <= data.length; j++) {
String s = nf.format(maxVal*(1.0 - (double)j/data.length));
float width = (float)font.getStringBounds(s, frc).getWidth();
sx = (float)(PAD - SPAD - width);
sy = (float)(PAD + j*yInc + lm.getAscent()/3);
g2.drawString(s, sx, sy);
private double getMaxValue() {
double max = -Double.MAX_VALUE;
for(int j = 0; j < data.length; j++) {
if(data[j] > max) {
max = data[j];
return max;
MouseMotionListener sweep = new MouseMotionAdapter() {
public void mouseMoved(MouseEvent e) {
Point2D.Double p = viewToModel(e.getX(), e.getY());
xLabel.setText(nf.format(p.x));
yLabel.setText(nf.format(p.y));
private JPanel getLast() {
xLabel = new JLabel();
yLabel = new JLabel();
Dimension d = new Dimension(45, 25);
JPanel panel = new JPanel(new GridBagLayout());
GridBagConstraints gbc = new GridBagConstraints();
gbc.insets = new Insets(2,2,2,2);
addComponents(new JLabel("x ="), xLabel, panel, gbc, d, true);
addComponents(new JLabel("y ="), yLabel, panel, gbc, d, false);
return panel;
private void addComponents(JComponent c1, JComponent c2, Container c,
GridBagConstraints gbc, Dimension d, boolean b) {
gbc.weightx = b ? 1.0 : 0;
gbc.anchor = GridBagConstraints.EAST;
c.add(c1, gbc);
c2.setPreferredSize(d);
gbc.weightx = b ? 0 : 1.0;
gbc.anchor = GridBagConstraints.WEST;
c.add(c2, gbc);
public static void main(String[] args) {
Translation test = new Translation();
JFrame f = new JFrame();
f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
f.getContentPane().add(test);
f.getContentPane().add(test.getLast(), "Last");
f.setSize(500,400);
f.setLocation(200,200);
f.setVisible(true);
} -
Mobile List Bind aggregation - repeated values?
Hi all, i'm new to SAPui5 so please forgive me if this is already discussed.
I'm calling a odata service (http://h03zdb.hcc.uni-magdeburg.de:8003/workshop/sessiona/12/Services/msgTab.xsodata/MSGTABLE?$filter=FROM%20eq%20%27STU…) and I get the values stored in a table in json. I want to show this in a list but there are repeated values created for the list. Is it because of bindAggregation?Here is the whole code.
I used split app and added two models for the detail and master page.
I'm very new to this so sorry for bad coding
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>SRH Chat</title>
<script src="/sap/ui5/1/resources/sap-ui-core.js"
id="sap-ui-bootstrap"
data-sap-ui-libs="sap.m"
data-sap-ui-theme="sap_bluecrystal">
</script>
<!-- only load the mobile lib "sap.m" and the "sap_bluecrystal" theme -->
<script type="text/javascript">
var sessionKey = "STUDENT01";
// Login user to get session id
var oDetailPage2 = new sap.m.Page("detail2");
var url = "http://h03zdb.hcc.uni-magdeburg.de:8003/workshop/sessiona/12/Services/msgTab.xsodata/MSGTABLE?$filter=TO%20eq%20%27"+sessionKey+"%27%20&%20FROM%20eq%20%27"+sessionKey+"%27%20&$format=json";
$.get( url, function(data1) {
// create JSON model instance
var oModel = new sap.ui.model.json.JSONModel();
// set the data for the model
oModel.setData(data1);
// set the model to the core
oMasterPage1.setModel(oModel);
var contactList = new sap.m.List("newlist2",{
title : "{FROM}",
mode: sap.m.ListMode.SingleSelectMaster,
select: function(oEv) {
var item = oEv.getParameter("listItem");
var desc = item.getTitle();
retrieveMsgs(desc);
function retrieveMsgs(desc)
var aurl = "http://h03zdb.hcc.uni-magdeburg.de:8003/workshop/sessiona/12/Services/msgTab.xsodata/MSGTABLE?$filter=FROM%20eq%20%27"+desc+"%27%20&$format=json";
$.get( aurl, function( data ) {
// // create JSON model instance
var oModel1 = new sap.ui.model.json.JSONModel();
// // set the data for the model
oModel1.setData(data);
// set the model to the core
oDetailPage2.setModel(oModel1);
var contactList1 = new sap.m.List("newlist");
var inputField = new sap.m.TextArea();
var but1 = new sap.m.Button({text: "Send", tap: function(){
// Send button press functionality
var msg = inputField.getValue();
var murl = "http://h03zdb.hcc.uni-magdeburg.de:8003/workshop/sessiona/12/WebContent/InsertMsg.xsjs?from="+desc+"&to="+sessionKey+"&msg="+msg;
$.ajax({
url: murl,
type: 'POST',
async: false,
timeout: 30000,
success : function (data2){
var empty = "";
inputField.setValue(empty); // clear text area
//Populate the List with Data from the Model (Set in the Controller of this View)
contactList1.bindAggregation("items", {
path : "/d/results", //Reference to the JSON structure
template: new sap.m.StandardListItem({
title: "{FROM}", //Refer the name field in the JSON data
description: "{MSG}", //Address Field in the data
type: sap.m.ListType.Navigation //Specify what to do while clicking/tapping an item in the list, in this example navigate to another view
oDetailPage2.addContent(contactList1);
oDetailPage2.addContent(inputField);
oDetailPage2.addContent(but1);
oSplitApp.to("detail2");
//Populate the List with Data from the Model (Set in the Controller of this View)
//oModel.createBindingContext("/d/results", null, {select: "FROM"},function(a){});
contactList.bindAggregation("items", {
path : "/d/results", //Reference to the JSON structure
template: new sap.m.StandardListItem({
title: "{FROM}", //Refer the name field in the JSON data
//description: "{FROM}", //Address Field in the data
//select: "FROM,TO",
type: sap.m.ListType.Navigation //Specify what to do while clicking/tapping an item in the list, in this example navigate to another view
var oMasterPage1 = new sap.m.Page("master1",{
title : "Master"
// adding the list to master
oMasterPage1.addContent(contactList);
// //add the master pages to the splitapp control
oSplitApp.addMasterPage(oMasterPage1);
// .addMasterPage(oMasterPage1);
//add the detail pages to the splitapp control
oSplitApp.addDetailPage(oDetailPage2);
//oSplitApp.setInitialDetail("detail");
//oSplitApp.setInitialMaster("master");
oSplitApp.placeAt("body");
</script>
</head>
<body class="body">
<div id="body">
</div>
</body>
</html> -
SSAS report action to pass multi-value list of dimention key values to a SSRS report parameter
This was originally posted on StackOverflow and suggested I try here as well.
I want to create a report action in an SSAS OLAP cube that generates a list of formatted values to pass into an SSRS report parameter that accepts a multi-valued parameter list. This would be applied at the
cell level in the SSAS action. I have found a solution that gets me most of the way:
How to Pass Multiple Values from an SSAS Report Drill Through Action to an SSRS Multi-Value Parameter, but not quite. The action does appear in Excel and works
if I run the action from a cell that is at or below the dimension attribute I am generating the list for, in this case,
Account Key.
Below is a link to a screen capture (unable to embed it due to lack of reputation) showing the action and dimension structure in Excel. The action works as long as I run it at the
Account Key level or below. I want to be able to run it at higher levels, such as
Account Major and still have it generate all then related Account Key values for the SSRS report parameter. Running it at the higher
Account Major level does not trigger the report to run.
Excel Action Screen Shot:
http://i.stack.imgur.com/QCGSp.png
Below is the MDX I am using to generate the value for the report parameter:
UrlEscapeFragment(
GENERATE(
DESCENDANTS(
[Account].[Account Key].CurrentMember,
[Account].[Account Key].[Account Key]
[Account].[Account Key].CURRENTMEMBER.Name,
"&rp:Account="
I am hoping that I can somehow modify the MDX above to make it return all the
Account Keys for any attribute of the Account dimension when ran from any measure cell, not just when ran at self and children of
Account Key in the pivot table.
Also, if it helps, I can execute the following MDX query on the cube and get the results I am looking for.
WITH MEMBER [Measures].[Account Key List] as
GENERATE(
DESCENDANTS([Account].[Account].CurrentMember, [Account].[Account].[Account]),
[Account].[Account].CURRENTMEMBER.NAME,
"&rp:Account=")
SELECT {[Measures].[Account Key List]} on 0,
([Account].[Account Company Number].[Account Company Number],[Account].[Account Major].[Account Major]
) on 1
FROM [Company 10 Action Demo]
Below are partial results:
10.116&rp:Account=10.116.010
10.117&rp:Account=10.117.010&rp:Account=10.117.020
10.120&rp:Account=10.120.005&rp:Account=10.120.006&rp:Account=10.120.010&rp:Account=10.120.020&rp:Account=10.120.030&rp:Account=10.120.040&rp:Account=10.120.050&rp:Account=10.120.060&rp:Account=10.120.380&rp:Account=10.120.999
10.123
Questions
Any ideas what I might need to do to get Account Key to be returned for any attribute of the
Account dimension?
Would I possibly have to alter my Account dimension in the cube to get this to work?
Thanks in advance.
Edit 1 - Adventure Works Cube Version
I was unable to get the suggested answer with the "Exists" function to work. To better demonstrate this issue, I have recreated it using the Adventure Works Cube.
I will focus on the Customer dimension, specifically the Customer and
Education attributes. I created a report action called Test Report Action. Below is the XML created for it in the cube.
<Action xsi:type="ReportAction" dwd:design-time-name="f35ad5ee-5167-4fb8-a0e0-0a74cc6e81c6">
<ID>Report Action 1</ID>
<Name>Test Report Action</Name>
<TargetType>Cells</TargetType>
<Target></Target>
<Type>Report</Type>
<ReportServer>SQLSERVER</ReportServer>
<Path>ReportServer?/Test Report</Path>
<ReportParameters>
<ReportParameter>
<Name>Test Customer Existing</Name>
<Value>UrlEscapeFragment(
GENERATE(
EXISTING DESCENDANTS(
[Customer].[Customer].CurrentMember,
[Customer].[Customer].[Customer]
[Customer].[Customer].CURRENTMEMBER.Name,
"&rp:Customer="
)</Value>
</ReportParameter>
</ReportParameters>
<ReportFormatParameters>
<ReportFormatParameter>
<Name>rs:Command</Name>
<Value>Render</Value>
</ReportFormatParameter>
<ReportFormatParameter>
<Name>rs:Renderer</Name>
<Value>HTML5</Value>
</ReportFormatParameter>
</ReportFormatParameters>
</Action>
Below are the steps to re-create the issue.
Connect to the cube in Excel
Add dimension Customer -> More Fields -> Customer
Add measure Internet Sales -> Internet Sales Amount
Right-click Internet Sales Amount cell, select "Additional Actions" -> "Test Report Action" and see customer values created for URL
When the action is ran at this point with Customer, I see the values created in the URL shown message box (since there is no SSRS report server at location specified).
Now the part I'm unable to resolve
Remove the Customer dimension and add Customer -> Demographic -> Education
Right-click Internet Sales Amount cell, select "Additional Actions" -> "Test Report Action"
Nothing happens. If I ran the action on the cell next to "Bachelors", I would want it to build up all the list of all the "Customers" that make up the "Bachelors" in the
Customer dimension as part of the report parameter. If no attributes where used in the cube from the
Customer dimension for that cell, then I would like it to return "All Customers", or something similar to show that all customers are included in the aggregations.
I am not too MDX savvy, thus far. I think I need to somehow join the
Customers to Internet Sales Amount in the Generate function portion. I have tried several different combinations of the
Customer dimension and Internet Sales Amount, along with various functions to see if I could get this to work with no success. I am hoping that someone more knowledgeable the me will have a solution. If you need more details,
please ask and I will provide them.Simon,
Thanks for you help with this. This morning I found a workaround. Below describes what that is.
What I ended up doing was getting a list of values from a degenerate dimension that I could use to pass to SSRS to get a list of transactions for a report. Below is how I did this, in relation to the Adventure Works cube using the degenerate dimension
Internet Order Details.
WITH MEMBER [Measures].[Order Param List] AS
GENERATE(
EXISTS([Internet Sales Order Details].[Sales Order Number].[Sales Order Number].Members, ,
"Internet Sales"),
[Internet Sales Order Details].[Sales Order Number].CurrentMember.Name,
"&rp:OrderNum=")
SELECT {[Measures].[Order Param List], [Measures].[Internet Sales Amount]} ON 0
,([Date].[Calendar].[Date]) ON 1
FROM [Adventure Works]
This will get a list of Sales Order Number in a text string, separated by "&rp:OrderNum=" for each measure of
Internet Sales. This would allow me to create an SSRS report to bring back detail information for each
Sales Order Number. Below are some sample results.
May 16, 2007 SO50493&rp:OrderNum=SO50494&rp:OrderNum=SO50495&rp:OrderNum=SO50496&rp:OrderNum=SO50497&rp:OrderNum=SO50498&rp:OrderNum=SO50499&rp:OrderNum=SO50500 $12,157.80
May 17, 2007 SO50501&rp:OrderNum=SO50502&rp:OrderNum=SO50503&rp:OrderNum=SO50504&rp:OrderNum=SO50505&rp:OrderNum=SO50506&rp:OrderNum=SO50507&rp:OrderNum=SO50508 $13,231.62
May 18, 2007 SO50509&rp:OrderNum=SO50510 $4,624.91
With this, I can then create a Report Action in SSRS with a Parameter Value of
UrlEscapeFragment(
GENERATE(
EXISTS([Internet Sales Order Details].[Sales Order Number].[Sales Order Number].Members, ,
"Internet Sales"),
[Internet Sales Order Details].[Sales Order Number].CurrentMember.Name,
"&rp:OrderNum=")
The way I was going about it before was flawed, as I was trying to get a list of the granular values from each dimension used to build the measure value and pass each one of those as separate parameters. I just needed to set something unique for each fact
measure transaction that represents the value and uses that in a query parameter for the SSRS report. -
Display only first value of the repeated values in ALV report
Hi,
Test Data
Doc No Net Val billing Doc value Qty
1000 2000.00 567850.00
1000 2000.00 567850.00
1000 2000.00 567850.00
2000 6000.00 767850.00
In this type of ALV Report in which only the First field value of the repeated value should be displayed.
Doc No Net Val billing Doc value Qty
1000 2000.00 567850.00
2000 6000.00 767850.00
I can display document value as like expected result in SORT ORDER in LAYOUT but the Quantity value,Net value which cannot be done in SORT ORDER in LAYOUT.
Please tell me the suitable solution.For a Sales Order there are two Invoice.
Sales doc Invoice No Billed Qty Net value Qtywith material no
5000 900 234774.00 456.00000 65 123
234774.00 456.00000 25 456
234774.00 456.00000 35 898
234774.00 456.00000 20 496
901 634774.00 256.00000 50 746
634774.00 256.00000 10 456
634774.00 256.00000 20 545
634774.00 256.00000 30 869
I need to print this billed Qty and Net value only once in first line and it should not be deleted.
I need the result like this
Sales doc Invoice No Billed Qty Net value Qtywith material no
5000 900 234774.00 456.00000 65 123
25 456
35 898
20 496
5001 901 634774.00 256.00000 50 746
10 456
20 545
30 869
The same value should not be repeated for Billed Qty and Net Value.
I can do that for Sales doc in sort order in layout but i couldn't do for Billed qty and Net Value.
Please help. -
ALV: How do I suppress repeating values and page breaks on printed output?
Good day, everyone!
First, I've done a LOT of searching trying to find the answer to my question, but I'm not finding an answer. If this has already been answered and you can point me to a URL, I would appreciate it.
Here's my issue: I have a rather simple ALV report. It has the columns of Person ID, Personnel Number, For Period, In Period, and Amount. I sort by Person ID and Personnel Number, and if the value repeats on the next line of the report, I want to suppress it (make it blank).
I thought the answer was in the following code, where I set the GROUP attribute to asterisk:
CLEAR sortcat_ln.
sortcat_ln-spos = '1'.
sortcat_ln-fieldname = 'PERSONID_EXT'.
sortcat_ln-up = c_true.
sortcat_ln-group = '*'.
APPEND sortcat_ln TO sortcat.
CLEAR sortcat_ln.
sortcat_ln-spos = '2'.
sortcat_ln-fieldname = 'PERNR'.
sortcat_ln-up = c_true.
sortcat_ln-group = '*'.
APPEND sortcat_ln TO sortcat.
It looks PERFECT on the screen -- the values are suppressed if they repeat, and everything appears together on one screen. However, when I print the report, two things happen: 1) The values repeat on each row, even if they are the same, and 2) I get a page break after each Person ID / Personnel Number combination.
I now realize that I can't use the GROUP attribute. Is there some other way in ALV to blank these repeating values and keep all the rows together on one page, rather than page breaking after each value change?
Thanks!
DaveHi
Same requirement i had before, when i try to print preview. the output of the grid display is in grouping is ok, but when i print preview or print it doesnt cater the grouping and page breaks, so what i did i modify the internal table use in alv , after hitting the print preview/print with the format desired by the user. you can do that in user-command. see code below
FORM user_command USING r_ucomm TYPE syucomm
rs_selfield TYPE slis_selfield.
DATA lt_sort TYPE lvc_t_sort.
CASE r_ucomm.
WHEN '&RNT_PREV' OR '&RNT'.
t_final_x[] = t_final[].
PERFORM clear_redundant.
PERFORM set_sort_criteria USING lt_sort.
WHEN '&F03' OR '&PRINT_BACK_PREVIEW'.
t_final[] = t_final_x[].
WHEN OTHERS.
ENDCASE.
ENDFORM. "user_command
hope it helps -
No repeated values and in ascendant sort
Hi all,
I'm trying to put this:
SELECT DISTINCT month FROM Concert ORDER BY month ASC;
(no repeated values and in ascendant sort) into EJB-QL. This is what I've worked out:
SELECT DISTINCT OBJECT(o)
FROM Concert AS o
ORDER BY o.month ASC
(month is a field in the bean )
But this (and several tries later) doesn't work.
What's wrong with it??
The query is for a findAll method -without- input parameters which returns a collection, is here the error??? If so, how can I solve it?
I'm totally lost and frustrated, I'd really appreciate some light
Thanks a lot in advanceYour query is currect if table name and attribute name are currect.
Can you write what type of error is comming? -
How to set the default selection to "Select All" in a Multi valued parameter in SSRS 2008?
Hello Everyone,
How to set the default selection to "Select All" in a Multi valued parameter in SSRS 2008?
Regards
Gautam S
RegardsYou need to specify "Default Values" in the report parameter property. Choose similar option used in the "Available Values" option, this will allow the parameter to check "Select All".
Regards, RSingh -
Display Repeated Values in a Crosstab - Design Studio 1.2
I've a report in Design Studio from a Bex query. There are repeated values in few columns which Design Studio 1.2 refuses to display.
note: I've already unchecked the box "Hide Repeated Key Values" in the query properties of Bex query designer and i'm able to see repeated values when I open the query in Bex analyzer.
Design studio would not display the repeated values in the crosstab.
Anyone encountered and fixed a similar issue before?Hi Stephen,
I was not able to resolve this issue, and I had to go ahead with values not being repeated.
I think this is a limitation of Design Studio with no fix for it in v 1.3 either, unless someone could suggest otherwise.
Regards,
Abbas -
Web Report - Hide Repeated Values
My web report hides repeated values regardless of the query setting.
Is there any way to set a specific column to not hide repeated values? Using the table API?
Thanks!dear Kenneth,
have you try to remove the check mark of properties 'suppress repeated text' in 'specific' section of your web item 'table' in web template ?
or you can give parameter SUPPRESS_REPETITION_TEXTS for web item 'table' with value blank
<param name='SUPPRESS_REPETITION_TEXTS' value=' '>
doc may useful
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/13dc9190-0201-0010-71a4-a9f56cdfcc72
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b1089290-0201-0010-288c-98e4d26487ee
hope this helps. -
Avoid repeating values in details section
Hi,
I have a report with a lot of formulas - depending on certain values in a certain Oracle database table values are summed up.
The fields are therefore placed in the report footer.
As I now have to insert a grouping I need to move the fields into the details section. However, I don't want to display each value there but only the sum - I would like to avoid repeating values in the details section.
A formula looks like this:
stringvar A1;
if {OUR_TABLE_FIELD} = 1 then A1 := {OTHER_TABLE.OTHER_FIELD}
Else A1:=A1;
A1;
Thanks!Add a suitable group and then display data in this group footer, suppress detail section. It will effectively show the last detail line and thus eliminate duplicates from view. However, data is still there so if you want to use summaries you will need to use Running totals to ensure duplicates are not counted/summed
Ian
Maybe you are looking for
-
Why do videos show up in photos and why can't i export them from iPhoto for iOS
Somehow, I just don't get it: If I take a picture on my iPhone 5s, it is saved to 'Pictues' ... sound reasonable. If I take a video on the same device, it is saved to 'Pictures' ... that's where it gets messy. If I receive a video on an app like e.g.
-
Can't install new flash using winetricks
I am not able to install any newer Flash then the default Flash 7 which can be found inside bin32-wine. When I ran a program which opens a Flash animation and I right-click it, I get "About Macromedia Flash Player7" I tried using winetricks: [warnec@
-
Hi, I am getting the following error when requesting a .jsp: type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: com.eclinc
-
Hello - I get the following error when running sql>alter database open resetlogs;: SQL> conn / as sysdba Connected. SQL> alter database open resetlogs; alter database open resetlogs ERROR at line 1: ORA-01264: Unable to create logfile file name ORA-1
-
0FISCPER is not being derived from 0FISCPER3 and 0FISCYEAR
We are attempting to derive Fiscal year/period from posting period and fiscal year within our BPS planning application. This seemed pretty straightforward. We are using a standard FM provided by SAP (UPF_TIME_EXIT_FISC_DERIVE). The source is speci