Date issue in Pivot table
My database stores a transaction date in the following format yyyymmdd (ex: 20140410)
I would like to count the number of transaction by Month. How do I do that? I can't figure out how to convert the number to a date and then group by month.
You should convert date from yyyymmdd to an excel date when you export data from database to Excel.
The query should be :
Select convert(char(10),fieldname,120) as date ...
Or add a helper column in excel. Using the formula to convert it to yyyy-mm-dd .
=DATE(LEFT(A2,4),MID(A2,5,2),RIGHT(A2,2))
Wind Zhang
TechNet Community Support
Similar Messages
-
Can I 'explain' data in a pivot table?
Hi All.
I have a request that has baffled me.
I need a way to use 'text' to describe the results of a report. If I were doing a simple report,
this would be a non-issue. Here are my hurdles:
I have a report that uses a Union via Set Operations (so I'm combining two result sets).
The results are then shown in a pivot table.
Within the pivot table, variances were created using 'New Calculated Item' under measures.
I want to be able to display in a narrative, or some other magical technique, the results of theses calculated items.
Data Example:
<pre>
Date1 Date2 Variance Variance%
Total Sales 10 20 10 50.00
Sales have increased 50% compared with last quarter. (<- desired result)
Today, I can show @1, @2 etc, but it only shows the columns under 'Date 1'.
Any help is greatly appreciated!!
CindyFirst, if you design a report correctly (e.g., accurate and descriptive headers, etc.), you greatly reduce the need for an "explanation of data." It should be intuitive. If it is confusing to understand, the design of the report should be looked at. (Is this report illustrating what the user needs to see? Should I use a graph instead of a table or vice-versa? Am I reporting on the right metrics?)
That being said, it may be helpful at times to have a narrative to give an overall view of what the report displays. For this, you have the Narrative View to explain whatever might make the report more useful to the end-user. For example, you may have them note certain conditions and what that would mean, etc. (Conditional formatting would be great for this, unless you are considering cross-column conditioning in which case conditional formatting doesn't work.*)
But if you are looking for row-by-row explanations where you use the data in the row as part of the "explanation" (as inferred by your inclusion of @1 and @2, etc. in your question), then I think you may be trying to please your end-users a bit too much. Perhaps I have misunderstood you, so I shall end here and wait for your response.
*Until 11g, that is. There are also workarounds... -
SSAS Default Member Causing incorrect data in Excel Pivot Table using Multi-select in filter
I have an Excel 2013 pivot table connected to an SSAS (2012) cube. One of my dimensions has a default member specified. When I drop this dimension in the filter area of my pivot table and select multiple members including the default member then
only data for the default member is shown. Selecting multiple members where the default member is not included does not result in an issue.
I believe this may be in an issue in how Excel builds the MDX but wanted to see if there are any work arounds.
This issue can be recreated using AdvetureWorks using the following steps:
Alter the Product Dimension of the SSAS Default Member by setting the default member of the Product Line Attribute to Mountain: [Product].[Product Line]&[M]
Process the cube
Connect to the cube via Excel 2013
Drag internet gross profit to the Values area (The value will be 4700437.22 which reflects the Mountain default filter)
Drag Product Model Lines to the Filters area (you will see Mountain selected by default)
Change the filter by checking the Select Multiple Items checkbox and checking Mountain and Road (You will see that the amount does not change)
Change the filter again by selecting Road only (to demonstrate that Road has a value, 5602105.8, associated with it)
Change the filter again to select Road and Touring (to demonstrate that the correct aggregation of the two selected members is preformed)Hi Hirmando,
According to your description, the default member cause incorrect data when dragging a attribute that contain a default member to the FILTERS area, right?
I can reproduce this issue on my environment, when dropping this dimension in the filter area of my pivot table and select multiple members including the default member then only data for the default member is shown. Currently, it's hard to say the root
reason that cause this issue. In order to narrow down this issue, please apply the latest server pack and cumulative update.
Besides, you can submit a feedback at
http://connect.microsoft.com/SQLServer/Feedback So that microsoft will confirm if this is a know issue.
Regards,
Charlie Liao
If you have any feedback on our support, please click
here.
Charlie Liao
TechNet Community Support -
How to update ADF VO object to refresh the data in ADF Pivot table
I need to know how to update the View object so that the date in pivot table is refreshed/updated/filtered.
here are the steps I performed to create ADF pivot table application using VO at design time.
1) created a collection in a Data Control (ViewObject in an ApplicationModule) that provides the values I wanted to use for row and column labels as well the cell values (Used the SQL query)
2) Dragged this collection to the page in which wanted to create the pivot table
3) In the pivot table data binding editor specified the characteristics of the rows (which attribute(s) should be displayed in header), the columns (likewise) and the cells.
Now, I have a requirement to update/filter the data in pivot table on click of check box and my question is how to I update the View object so that the date in pivot table is refreshed/updated/filtered.
I have got this solution from one of the contact in which a WHERE clause on an underlying VO is updated based upon input from a Slider control. In essence, the value of the control is sent to a backing bean, and then the backing bean uses this input to call the "filterVO" method on the corresponding AppModule:
but, I'm getting "operationBinding" object as NULL in following code. Please let me know what's wrong.
here is the code
Our slider component will look like
<af:selectBooleanCheckbox label="Unit" value="#{PivotTableBean.dataValue}"
autoSubmit="true" />
The setDataValue() method in the backing bean will get a handle to AM and will execute the "filterVO" method in that, which takes the NumberRange as the input parameter.
public void setDataValue(boolean value) {
DataValue = value;
BindingContainer bindings = getBindings();
OperationBinding operationBinding = (OperationBinding)bindings.getOperationBinding("filterVO");
Object result = operationBinding.execute();
The filterVO method in the AMImpl.java will get the true or false and set the where Clause for the VO query to show values.
public void filterVO(boolean value) {
if (value != null) {
ViewObjectImpl ibVO = getVO1();
ibVO.setWhereClause("PRODUCT_TOTAL_REVENUE(+) where rownum < 10");
ibVO.executeQuery();
}Did you define a filterVO action in your pagedef.xml file?
You might want to read on how to access service method from a JSF Web Application in the ADF Developer Guide for 10.1.3 chapter 8.5 -
HELLO...
I hope you experts out there can help me. Consider the following (2) Tables in MSSQL:
1. TENDERED --> Primary Key = DATE / DOC_NO / PAYMENT_SEQ_NO
DATE
DOC_NO
PMNT_SEQ_NO
PAYCODE_TYPE
AMOUNT
2. TENDERED_CR_CARD -->Primary Key = DATE / DOC_NO / PAYMENT_SEQ_NO
DATE
DOC_NO
PMNT_SEQ_NO
CR_CARD_NO_MASKED
CR_CARD_NAME
CR_CARD_EXP_DATE
These two tables are certainly related, based on their Primary Key values.
Now, consider the following data in those two tables:
DATE
DOC_NO PMNT_SEQ_NO
PAYCODE_TYPE
AMOUNT
03/10/2014 100001
1
CASH
100.00
03/10/2014 100001
2
CASH
-9.75
03/10/2014 100002
1
CASH
50.00
03/10/2014 100002
2
VISA
100.00
03/10/2014 100002
3
VISA
250.00
03/10/2014 100003
1
MC
125.00
03/10/2014 100003
2
AMEX
75.00
DATE
DOC_NO PMNT_SEQ_NO CR_CARD_MASKED
NAME
CR_CARD_EXP
03/10/2014 100002 2 4225******801289
MARY JONES 2016/08/31
03/10/2014 100002 3 4121******637442
JOHN DOE 2015/04/30
03/10/2014 100003 1 5428******971134
MIKE BAKER 2018/09/30
03/10/2014 100003 2 3732*****344756
LINDA LIU 2017/07/31
OK...so what we NEED...is a Combined, SINGLE RECORD Audit Report type query.
The resulting query should show, based on the Data from above, the SINGLE LINE represented in the Attached Spreadsheet.
NOTE...what's important to point out here..is that ONLY the 'CASH' Tender gets "summed"...EACH INDIVIDUAL Credit Card record MUST have its own Field...as represented in the corresponding Columns of the Spreadsheet (i.e. PMT_TYP_1, AMT_1, PMT_TYP_2,
AMT_2, and so forth).
PLEASE HELP! Any suggestions/advice would be most appreciated!
Thank You!...MarkI would not do this in SQL if I could possibly avoid it. Instead do it in the front end.
If you must do it in SQL, this is a dynamic pivot on multiple columns. Naomi Nosonovsky has a blog at
http://blogs.lessthandot.com/index.php/DataMgmt/DataDesign/dynamic-pivot-on-multiple-columns/ on how to do that. Look especially at her second example using the claims table. Of course, you must do some manipulation even before you do the multi-column
pivot, since you must first combine all the cash entries.
So one way to do it would be to build a temp table with all the entries you have except the cash entries combined into one payment sequence number. To do that you may need specifications that are not clear to me from what you have given us. For
example, if PMT SEQ 1 is VISA, PMT SEQ 2 is CASH, PMT SEQ 3 is VISA, PMT SEQ 4 is CASH, and PMT SEQ 5 is VISA, you want to combine the two cash payments. So they become PMT SEQ 2? If so, what happens to PMT SEQ 4 - is it left N/A or does
PMT SEQ 5 become PMT SEQ 4?
But once you have this temp table with the cash payments combined in the algorithm you need, then you can use Naomi's method to do the multi-column pivot. Note that Naomi uses the code
FROM INFORMATION_SCHEMA.COLUMNS
WHERE TABLE_Name = 'Claims'
to get the column names from the permanent table Claims. To get the column names from a temp table use code like the following. To find the column names in a temp table named #MyTempTable, do
From tempdb.sys.columns
Where object_id = OBJECT_ID('#MyTempTable')
But as I say, if feasible, I would do this in the front end, not in SQL. T-SQL is a very good language for storing and retrieving data, not so good at formatting it.
Tom -
TSQL query to calculate Count / Sum grouping by date on a Pivot Table
Hi All
I need help to group the pivot table output to group by dates and sum/count the values. I have a table like shown below.
Date
Student
Subject
Hunt
Marks
18/02/2014
Sam
Maths
1
20
18/02/2014
Sam
Maths
1
10
18/02/2014
Sam
Maths
2
30
18/02/2014
Luke
Science
1
50
17/02/2014
Sam
Maths
2
50
17/02/2014
Luke
Science
2
60
16/02/2014
Luke
Science
2
20
16/02/2014
Luke
Science
3
20
I want to Group by dates and move the Hunt to columns calculating their counts and sum their marks too. Like given below.
I wrote a pivot query like below but If i group it with dates and calculate the total marks it throws aggregate errors.
Create Table Student_Log ([Date] datetime ,Student varchar (20), Subject varchar (20) ,Hunt int ,Marks int )
Go
INSERT INTO Student_Log ([Date],Student, [Subject],Hunt,Marks) VALUES('2014-02-18 15:00:00.000','Sam ','Maths','1','20')
INSERT INTO Student_Log ([Date],Student, [Subject],Hunt,Marks) VALUES('2014-02-18 15:00:00.000','Sam ','Maths','1','10')
INSERT INTO Student_Log ([Date],Student, [Subject],Hunt,Marks) VALUES('2014-02-18 15:00:00.000','Sam ','Maths','2','30')
INSERT INTO Student_Log ([Date],Student, [Subject],Hunt,Marks) VALUES('2014-02-18 15:00:00.000','Luke','Science','1','50')
INSERT INTO Student_Log ([Date],Student, [Subject],Hunt,Marks) VALUES('2014-02-17 15:00:00.000','Sam ','Maths','2','50')
INSERT INTO Student_Log ([Date],Student, [Subject],Hunt,Marks) VALUES('2014-02-17 15:00:00.000','Luke','Science','2','60')
INSERT INTO Student_Log ([Date],Student, [Subject],Hunt,Marks) VALUES('2014-02-16 15:00:00.000','Luke','Science','2','20')
INSERT INTO Student_Log ([Date],Student, [Subject],Hunt,Marks) VALUES('2014-02-16 15:00:00.000','Luke','Science','3','20')
Go
select * from Student_Log
select [DATE] , [Student], [Subject] ,[1],[2],[3],[4],Total =([1]+[2]+[3]+[4])
from
( select [Date], [Student], [Subject],[Hunt],[Marks] from Student_Log
)x
pivot
count ( [Hunt]) for [Hunt]
in ([1],[2],[3],[4])
)p
order by [Date] desc
I have done this far only. More than this I need to enhance it with the Percentage of Hunts for each Student.
ie like below table.
On 18th Sam in Maths he had 2 rows on 1st hunt and 1 row on 2nd hunt. So On the Pivot table is it possible to represent it on percentage using the Total Attempts column.
Thanks a lot in advance.
Its runnung in SQL 2000 Server.Create Table Student_Log ([Date] datetime ,Student varchar (20), Subject varchar (20) ,Hunt int ,Marks int )
Go
INSERT INTO Student_Log ([Date],Student, [Subject],Hunt,Marks) VALUES('2014-02-18 15:00:00.000','Sam ','Maths','1','20')
INSERT INTO Student_Log ([Date],Student, [Subject],Hunt,Marks) VALUES('2014-02-18 15:00:00.000','Sam ','Maths','1','10')
INSERT INTO Student_Log ([Date],Student, [Subject],Hunt,Marks) VALUES('2014-02-18 15:00:00.000','Sam ','Maths','2','30')
INSERT INTO Student_Log ([Date],Student, [Subject],Hunt,Marks) VALUES('2014-02-18 15:00:00.000','Luke','Science','1','50')
INSERT INTO Student_Log ([Date],Student, [Subject],Hunt,Marks) VALUES('2014-02-17 15:00:00.000','Sam ','Maths','2','50')
INSERT INTO Student_Log ([Date],Student, [Subject],Hunt,Marks) VALUES('2014-02-17 15:00:00.000','Luke','Science','2','60')
INSERT INTO Student_Log ([Date],Student, [Subject],Hunt,Marks) VALUES('2014-02-16 15:00:00.000','Luke','Science','2','20')
INSERT INTO Student_Log ([Date],Student, [Subject],Hunt,Marks) VALUES('2014-02-16 15:00:00.000','Luke','Science','3','20')
Go
select * from Student_Log
;with mycte as
Select [Date], [Student], [Subject] ,
Count(CASE WHEN [Hunt]=1 Then Hunt End) as Hunt1,
Count(CASE WHEN [Hunt]=2 Then Hunt End) as Hunt2,
Count(CASE WHEN [Hunt]=3 Then Hunt End) as Hunt3,
Count(CASE WHEN [Hunt]=4 Then Hunt End) as Hunt4,
Count(CASE WHEN [Hunt]=1 Then Hunt End)
+Count(CASE WHEN [Hunt]=2 Then Hunt End)
+Count(CASE WHEN [Hunt]=3 Then Hunt End)+
+Count(CASE WHEN [Hunt]=4 Then Hunt End) as Total,
ISNULL(SUM(CASE WHEN [Hunt]=1 Then Marks End),0) as Mark1,
ISNULL(SUM(CASE WHEN [Hunt]=2 Then Marks End),0) as Mark2,
ISNULL(SUM(CASE WHEN [Hunt]=3 Then Marks End),0) as Mark3,
ISNULL(SUM(CASE WHEN [Hunt]=4 Then Marks End),0) as Mark4
from Student_Log
Group By [Date], [Student], [Subject]
Select [Date], [Student], [Subject]
, Cast(Hunt1*1./Total*100 as int) as [1]
, Cast(Hunt2*1./Total*100 as int) as [2]
,Cast(Hunt3*1./Total*100 as int) as [3]
,Cast(Hunt4*1./Total*100 as int) as [4]
,Total,Marks=( Mark1+Mark2+Mark3+Mark4)
from mycte
order by [Date] DESC, Student desc
drop table Student_Log -
I am working on a project where I need to count the number of events from the start of the year to the end for each year in the data with each event counting the current event and any previous events sequentially. My results should look like the following:
MarketNameDate
MarketCount
2012-09-11|Kansas City
1
2012-09-18|Denver
2
2012-09-25|Chicago
3
2012-10-02|Seattle
4
2012-10-09|Phoenix
5
2012-10-16|Tampa
6
2012-10-23|Norfolk
7
2012-10-30|Alexandria
8
2012-11-06|San Jose
9
2012-11-27|Dallas
10
2012-12-04|Fort Lauderdale
11
2013-01-15|Los Angeles
1
2013-01-22|Orange County
2
My formula is as follows :=calculate(distinctcount(Event_Table[MarketNameDate]),datesytd(dates_dimensions[date_value]),all(dates_dimensions)). This formula works correctly when I am using the Date_Dim table to drive the analysis in the Row Label or
Column Label in my Pivot Table. My events table is connected directly to Date_Dim table and I would like to use the [MarketNameDate] field instead.
I need to get a rolling count of the number of markets through the year, but roll up on [MarketNameDate] instead of anything out of Date_Dim. Is this possible or do the Time Intelligence functions require you to only use Date_Dim columns as Row Label
or Column Label in my Pivot Table.
I would also be happy to have an alternative way of solving the problem if there is a way to do it.
Here is an approximation of the data I am using.
Seminar_Events
Event_Type
Market
MarketNameDate
MarketMinDate
Preview
Kansas City
2012-09-11|Kansas City
9/11/2012 0:00
Workshop
Kansas City
2012-09-11|Kansas City
9/11/2012 0:00
Preview
Denver
2012-09-18|Denver
9/18/2012 0:00
Workshop
Denver
2012-09-18|Denver
9/18/2012 0:00
Preview
Chicago
2012-09-25|Chicago
9/25/2012 0:00
Workshop
Chicago
2012-09-25|Chicago
9/25/2012 0:00
Preview
Seattle
2012-10-02|Seattle
10/2/2012 0:00
Workshop
Seattle
2012-10-02|Seattle
10/2/2012 0:00
Preview
Phoenix
2012-10-09|Phoenix
10/9/2012 0:00
Workshop
Phoenix
2012-10-09|Phoenix
10/9/2012 0:00
Preview
Tampa
2012-10-16|Tampa
10/16/2012 0:00
Workshop
Tampa
2012-10-16|Tampa
10/16/2012 0:00
Preview
Norfolk
2012-10-23|Norfolk
10/23/2012 0:00
Workshop
Norfolk
2012-10-23|Norfolk
10/23/2012 0:00
Preview
Alexandria
2012-10-30|Alexandria
10/30/2012 0:00
Workshop
Alexandria
2012-10-30|Alexandria
10/30/2012 0:00
Preview
San Jose
2012-11-06|San Jose
11/6/2012 0:00
Workshop
San Jose
2012-11-06|San Jose
11/6/2012 0:00
Preview
Dallas
2012-11-27|Dallas
11/27/2012 0:00
Workshop
Dallas
2012-11-27|Dallas
11/27/2012 0:00
Preview
Fort Lauderdale
2012-12-04|Fort Lauderdale
12/4/2012 0:00
Workshop
Fort Lauderdale
2012-12-04|Fort Lauderdale
12/4/2012 0:00
Preview
Los Angeles
2013-01-15|Los Angeles
1/15/2013 0:00
Workshop
Los Angeles
2013-01-15|Los Angeles
1/15/2013 0:00
Preview
Orange County
2013-01-22|Orange County
1/22/2013 0:00
Date_Dimensions
date_value
1/1/2012 0:00
1/2/2012 0:00
1/3/2012 0:00
1/4/2012 0:00
1/5/2012 0:00
ETC
There is a relationship created between Date_Dimensions[Date_Value] and Seminar_Events[MarketDateName]
Any help would be very much appreciated.
Kind Regards,
JohnIf you want a running count on MarketNameDate, you need to create a numeric ranking of that column in a new calculated column in your Events table.
Something like:
Rank = RANKX(ALL(Events), [MarketNameDate], ,1)
You should also add a year calculated column in that table:
Year = YEAR([MarketMinDate])
Once those are in place, this measure should work for you:
MarketCount:=
CALCULATE(
DISTINCTCOUNT(
Events[MarketNameDate]
FILTER(
ALL(Events),
Events[Rank] <= MAX(Events[Rank])
&& Events[Year] = MAX(Events[Year])
Mike, can you check out this thread?
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/a2e22d61-7c32-43f2-900e-d9d6325fa26d/needed-more-answerers?forum=sqlkjpowerpivotforexcel
Thanks!
Ed Price, Power BI & SQL Server Customer Program Manager (Blog,
Small Basic,
Wiki Ninjas,
Wiki)
Answer an interesting question?
Create a wiki article about it! -
Percentage of Total Count of Category in Raw Data Column in Pivot Table
I have normalized my data in Excel and I have a column: "question 1" and then a column for "gender" which has values as "female" and "male". I have created a pivot table for these two variables, "Gender" and
"Question 1". My values for Females and Males from the Gender data are presented within my pivot table. I want to present these numbers as percentages of Total "Females" and "Males" that are in the "Gender" column in
my master dataset. Pivot tables will only allow me to do %'s of data already in the pivot table
I am attempting to use Calculated Fields within Pivot Tables to resolve this. I do not want to create a separate column in my master data set, but rather, complete all calculations within the pivot tableThank you very much,
The steps you provided use the total "gender" within the pivot table as the "grand total".
If I have a binomial variable, "gender" with "male" as one of the variables, I need the grand total be the total male in the raw data.
Example: if there are 100 total males in the raw data for the column "gender"
and I construct a pivot table with a dependent variable which is a survey question and "gender" and 30 males "agreed" with the survey question and 20 females "agreed" with the survey question, your instructions for % of grand total would show 60% for
males who agree [males + females who replied to the survey question],
when, what I need is the total males in the raw data, 100, used as the total so that the percentage of males who answered "agreed" to the survey question is 30% of all males.
Thank you very much -
Question about inputting data to a pivot table
Hi,
I have 2 questions about using the ADF pivot table component (I would like it for data input).
1. Is it possible to paste into multiple cells (i.e. using cut in Excel for example, and then pasting the cells into the pivot table) ?
2. What is the recommended approach for the case where there is no data values (no rows on the database table)? For example, if I have regions, products, measures and time periods and then want to be able to select some regions and some products to enter new sales figures - and then create the rows on the database with save button, is there a recommended way to do this?
(Jdeveloper version: 11.1.2.0.0)Anybody able to help with this?
-
Get data from view and displaying the table data into Excel pivot table
Hi All,
I have a small reqirement inthat When i get the data from the View that would displayed as Excel Pivot table.
For displaying gerneral data to Excel I have followed Binarcy cachey
Please suggest me in this.
Thanks,
Lohi.
Message was edited by:
Lohitha MTry this:
http://download-west.oracle.com/docs/html/B25947_01/bcservices005.htm#sthref681
Specifically code sample 8-10 for accessing the AM object.
Then use the findView method to get a pointer to the VO. -
Data format in pivot table calculated item
Hi All,
I've got a pivot table with a dimension on rows and a dimension on columns and a measure. I have a "new calculated item" based on the dimension on the columns which does the following: ( ($2-$1) / ($1) ) *100
I want this calculated item shown as a percentage like 1,2% but the measure must stay a whole number like 1234 (no decimal places or percentage symbols) any suggestions on how to achieve this?
Thanks in advance!
GillesHi Kishore,
It is not helpful, I mean, it doesn't solve my problem. But nice post!
What I have is the following:
--------C1------C2-----C3
R1|--123--|--345--|--678--|
R2|--124--|--346--|--679--|
R3|--125--|--347--|--670--|
What I want is the following:
--------C1------C2-----C3---------calculated item
R1|--123--|--345--|--678--|--(($2-$1) / ($1) ) *100)
R2|--124--|--346--|--679--|
R3|--125--|--347--|--670--|
the column results must remain in the same format, but the calculated item must be in the format %9.99 (to see the percentage change)
any other suggestions? -
Some calculation issues in Pivot table
Hi all,
I am using OBIEE 10.1.3.4.1
We have one requirment like this:
Product:1,2
Month Product Region District Sales Percent
201010 1 China Shanghai 200000 25.00%
1 China Beijing 200000 25.00%
1 India Bangalore 200000 25.00%
1 US Chicago 200000 25.00%
201010 Total 800000 *33.33%*
201011 1 China Shanghai 400000 25.00%
1 China Beijing 400000 25.00%
1 India Bangalore 400000 25.00%
1 US Chicago 400000 25.00%
201011 Total 1600000 *66.67%*
201010 2 China Shanghai 500000 31.25%
2 China Beijing 500000 31.25%
2 India Bangalore 500000 31.25%
2 US Chicago 500000 31.25%
201010 Total 2000000 *100.00%*
We want to use the pivot table to achieve this, but all total would be show 100%, so how to achieve the bold part?
like: product 1:201010 total + 201011 total =100%
product 2: 201010 total =100%
Did someone meet this before and how to achieve it? if yes, Please kindly give me some clues about this.
Regards,
AnneThe problem is with the Percentage cell for Total. (18/60)*100 = 30% and it should not be 100. In pivot table properties i had used summation after that is why it is summing. If i create a new table , I can get the correct Total row values but those will be in separate view as shown below. Is there way to club those to analysis into one ? Thanks, Sushil
Cat Value Total Value Percentage
A 8 10 0.8
B 10 50 0.2
Value Total Value Percentage
18 60 0.3 -
EOL date Issue in AUSP Table for Material classification in MM
Hi,
Issue: for 4 material's eol date available in bw and after some time the user removed the EOL date in R/3. after deleted eol data from R3, the material classification data source(1CL_OMAT001) not picking that material and old eol date available in bw instead of null. please let me know why the material classification not picking that material.
iam checking with MM team still they are saying that sap stranded process, but iam thinking maybe some configuration issue from MM side .still iam not sure that either configuration issue or something else and when we delete eol date then only date value should be
modified in AUSP table not entire record but in this case, entire has deleted from AUSP table.
If we provide any
value to the characteristic (EOL date), an entry will be created in the AUSP
table as shown below. ATFLV will have the characteristic value.
If we remove the
date of EOL from the material master, the entry in AUSP table will get deleted
as shown below . this is causing the issue .
when we delete the eol date in R3 why the entire record deleted from AUSP table. Please tell me the reason.
Thanks,
Polu.It is like SAP has designed its classification system.
No entry is not a valid entry for a date field, it is initial, it is just nothing, hence no need to keep nothing as a value. Imagine the millions of classification fields that may not have any value entered. Would you really like to have this all with no value as record in AUSP?
You may want to consider to enter 31.12.2999 as EOL date instead of removing the entry. -
Measures and dates in a pivot table
I have a report that breaks out multiple metrics by quarter over a two year period. My issue arises when I add specific additional metrics to the report, the year and quarterly breakout gets thrown off. So instead of seeeing Qtrs 1-4 for lastyear and Qtrs 1 & 2 for this year, I now get only Qtrs 2, 3 & 4 for last year and 1 for this year. This new result set does not match up to any of the any of the qtrs on the orignal buckets before I added the additional metrics. I have tried setting the new metrics to "Server Determined" on the report end and viewing the report in a table format. I still get the same issue. Any help is appreciated?
It turns out that within the business model I needed to leverage physical source columns versus logical columns when building the new metric
-
Not able to see data in Pivot table
Hi,
I have a issue with pivot table i have a column which displays values 0 and 1 and another column called month when i am placing this month column as a section and values column as a measure i am not seeing any values means i can see the month as header but instead showing 0 or 1 its showing blank columns. previously i created similar kind of table it worked but at that time values column data type is number this time its char. can anybody help me out how i can see the data in the pivot table. i already tried converting this column to number but still i am not able to see data in that values column.
ThanksHi copter,
Place the month column in rows and value column in measure section and check if results are coming.If still it doesnt come i suppose you dint apply aggregation rules to value column.In pivot view click values column and aggregate by /select min or max or either server complex and check your results.
(I suppose your aggregation rules is default)....Correct this one and you can place it in sections as per your requirement.
Cheers,
KK
Maybe you are looking for
-
How to show application "DavMail" in dock?
How to show application"DavMail" in dock?
-
Including Vision M in PC music libr
Is there any way that I can consolidate the tracks on my Zen Vision M into the 'PC music library' WITHOUT the files being physically copied to my hard dri've. At the moment I have to access tracks by selecting the Music directory on the Zen Vision, a
-
Blue Box with White Question Mark
All of a sudden, I started receiving the Blue Box with a White Question Mark in my Safari Internet. I test the site with two other browsers and the behavior was the same. I have not plug-ins recently installed and did clean my cache. Any suggestions?
-
Transaction code for IM Budget document
Hi Can any one tell me what is the transaction code to see the budget updates on IM program (position). I tried using CJ3B and KO2A/2B but no output. Thanks
-
LR5 - Selected image does not display in the Develop Module
I recently upgraded to LR5 from LR4.1. I have seen on several occasions where the selected image in the Develop Module does not appear. I can move back to the LIbrary view and the image appears, but when I switch back to the Develop Module, the im