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
Similar Messages
-
How to drill down and keep all my pivot table...
Hello experts!
I have a question about how to drill-down in pivot table. If I drill-down I can see the result in the same place...but it dissapear other bins or measures...
Example:
Pivot table:
A
B
C
If I click in A I can see:
a1
a2
a3
But I don't see B and C.
I would like to see when I click on A:
A
---a1
---a2
---a3
B
C
In my example I have a lot of bins to do drill-down...so it doesn't work for me to create three pivot tables and to do a union...
Is that possible? If you need more details you can post here...
Thank you!Alex, this isn't another question. It looked like you were asking something different. That's why I said to start another thread. The bottom line is that OBIEE can't do what you are looking for.
But I think what is more important is not necessarily how to do what the OP wants, but what is the best way (read: most efficient, simplest, viable) to achieve the goal.
In this case, I think a better approach to your reporting is to use to Dashboard prompts. The first would be like Vehices (which has Cars, Trucks, Motorcycles, etc. in the drop-down window) and the second, constrained on the first, called Models/Brands (which has values dependent on what is chosen in the first prompt). With "All Choices" checked off in the prompt design, you have all the combinations a user needs to see in the pivot table. If the user chooses "Cars" from the first prompt, and "All Choices" in the second, then he/she will get all the car models displayed in the pivot table. Or, the user could select one particular moded from the start.
In fact, this is how many product web sites are set up. This gives the flexibility to the user and the report looks clean and efficient. You can have the drill down on the particular model (value interaction) if you wish to supply extra data on the particular model chosen.
I think this is the "correct" answer, Alex, though not the answer to the question you posed. Good luck. -
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 -
Pie chart with two measures and date dimension navigation not working
Hi Experts,
Pie chart with two measures and date dimension navigation not working. Any help is appreciated.
Thanks
VHi Deepak,
I had time dimension in the RPD.
I have stacked bar chart with same time dim like year & month in the report. when I go to legand and set navigation it is working fine. But not with pie chart.
I am not not sure what is the problem. When I click on Pie chart it is not navigating to the target report. Can it be any other issues..??? -
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. -
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... -
"Top n" selection and percentages in a pivot table
Hi all,
I have a problem with calculating/display of percentage figures in a pivot table that I need some help on.
For a given month, I'm reporting the web browser logins, by browser type. So for example:
2010/03, IE, 50
2010/03, Firefox, 30
2010/03, Chrome, 10
2010/03, Others, 10
Totalling 100 ( and their produce the same value as a % ). However, if I apply a filter on the browser that does a select of the Top 2 for the month, the IE & Firefox total 80 and displays the % values as:
2010/03, IE, 62.5%
2010/03, Firefox, 37.5%.
So I can see that really what I need to do is to filter the columns being displayed as the "Top 2" not selecting the data onbeing in the top 2.
Can anyone advise on how to do this/is it possible.
Thanks in advance.Hi you can try like,
1. create a duplicate column for browserlogins and set its level as month and name it as totallogin.
2. create a calculated measure for the original browserlogins column. Choose the totallogin to compare against that column.
3. choose percent in the new calculation tab.
4. Bring this column iinto the presentation layer.
5. use this column in the report.
Check what it is showing. I dint try this out. Just a guess. If its helpful award some points.
Thanks,
Karthick -
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! -
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?
-
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 -
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? -
Using Measures in Rows Section of Pivot table view
Hi,
i have a report with 6 columns, out of which A, B are dimensional and C,D,E,F are Fact columns(measures).
My requirement is to take Column A and Columns C,D,E in Rows section of Pivot table view with column F measure in Measures setion and column B in Columns Section.
I created the Pivot view as desired but the measure columns placed in Rows Section are not displaying the correct results
Can someone provide ur inputs on this.
Thanks in advance.For Pivot Table view Measures should be in Measures section only, then only those columns will show correct result
-
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
Maybe you are looking for
-
Symptom: When you view a report with SCCM, you may encounter the following error message: An error has occurred during report processing. Under the details box, you can see the detailed error information as below: System.Web.Services.Protocols.SoapEx
-
I have an old i tunes library but i don t know how to access it. im trying to sync my ipod with my new itunes library but it wont let me. how can i copy the songs off my ipod to my new library.
-
When I watch my tv shows on my mac computer thru itunes, the voice is out of sync with the picture. any suggestions???
-
Sharing objects between different tabs on a JTabbedPane
Does anyone know how to share objects on different tabs of a JTabbedPane? I.e., I want the same buttons/corporate logo to appear on each tab in the same location, and thus the same functionality, locations, look, etc... Currently, if I invoke the add
-
How to convert the graph to gray scale
Hi I am using MS 1.1 version, I need to take the print of the graphs which is provided by NI. The problem here is that i need the GUI to show the graph in multicolor environment, but when i am going to print it on a paper, i should be able to convert