Pivot Table Like Functionality
Hello,
I want to create a pie chart from a list of customer transactions and have the pie chart display the top 5 customers by revenue. In Excel I would use a pivot chart to consolidate and sum transactions based on the customer's name.
How can I do this in Project Siena?
Thank you,
Ted
Hi Ayuba,
I'm going to copy/paste a sample of the spreadsheet I've been working with. Please excuse the formatting.
What I'm starting with is a sample BI report that is a list of customer transactions. As you can see different customer's buy different items on different days. My goal is to create a pie chart that shows the total amount each customer has spent
and not the individual transactions.
This is very simple with pivot tablets in Excels because I can auto sum based on customer name. With Pivot tablets I can create a pie chart with 4 slices (one for each customer), but by default the Siena pie chart makes 11 slices (one for each transaction).
So how can I create the pie chart with 4 slices and sum the Total Unit Cost for each customer?
Vendor
Customer
Product
Date
Quantity
Unit Cost
Total Unit Cost
Microsoft
B3 Cycles
Windows Server 2013
10/1/2014
88
$196.78
$17,316.64
Airwatch
Boeing General Dynamics
Blue Bundle
10/1/2014
2000
$36.23
$72,460.00
Vmware
Boeing General Dynamics
vSphere 5.1
10/1/2014
4
$112.55
$450.20
Adobe
Hilton Head Marketing
Creative Suite
10/2/2014
5
$223.15
$1,115.75
Adobe
Hilton Head Marketing
Creative Suite
9/24/2014
45
$223.15
$10,041.75
Adobe
Hilton Head Marketing
Creative Suite
9/24/2014
2
$223.15
$446.30
Adobe
Hilton Head Marketing
Creative Suite
9/24/2014
8
$223.15
$1,785.20
Adobe
Hilton Head Marketing
Creative Suite
9/24/2014
7
$223.15
$1,562.05
Adobe
Hilton Head Marketing
Creative Suite
9/16/2014
21
$223.15
$4,686.15
Adobe
Hilton Head Marketing
Creative Suite
5/22/2014
35
$223.15
$7,810.25
Microsoft
Clown College Inc.
Office 2013
5/18/2014
4
$69.78
$279.12
Similar Messages
-
Implementing Pivot Table like functionality using SQL
Dear All,
Please access a online document:
http://docs.google.com/View?docid=dhntd3vh_0gmwgmq
A 'query-output' is given.
I have pasted this output in Excel and using it's Pivot table feature
obtained an output given as 'Expected-Output' in the document.
How can I achieve this using SQL?
Any guidelines are most welcome.
-SameerSee if this implementation could satisfy your needings.
CREATE THE A TABLE WITH ESSENTIAL INFORMATION
CREATE TABLE THINGS (
WHO VARCHAR2(32) NOT NULL,
WHAT VARCHAR2(32) NOT NULL,
NUM NUMBER
FILLING THE ESSENTIAL INFORMATION
INSERT INTO THINGS VALUES ('AFAS','TRANSACTION',4);
INSERT INTO THINGS VALUES ('FAS-AP','TRANSACTION',2);
INSERT INTO THINGS VALUES ('FAS-AR','TRANSACTION',2);
INSERT INTO THINGS VALUES ('FAS-GL','MASTER',3);
INSERT INTO THINGS VALUES ('FAS-GL','REPORT',5);
INSERT INTO THINGS VALUES ('INTERNATIONAL CARGO','MASTER',1);
INSERT INTO THINGS VALUES ('INTERNATIONAL CARGO','REPORT',2);
INSERT INTO THINGS VALUES ('INTERNATIONAL CARGO','TRANSACTION',9);
INSERT INTO THINGS VALUES ('PACKAGE EXPRESS','INTELLIVIEW REPORT',1);
INSERT INTO THINGS VALUES ('PACKAGE EXPRESS','MASTER',4);
INSERT INTO THINGS VALUES ('PACKAGE EXPRESS','TRANSACTION',76);
INSERT INTO THINGS VALUES ('PACKAGE EXPRESS','UTILITIES',1);
INSERT INTO THINGS VALUES ('WAREHOUSE','REPORT',1);
INSERT INTO THINGS VALUES ('WAREHOUSE','TRANSACTION',9);
CREATE A TABLE FOR THE FULL CORRISPONDENCE
CREATE TABLE THINGS2 AS
SELECT A.WHO,B.WHAT, 0 NUM
FROM (
SELECT DISTINCT WHO
FROM THINGS
) A, (
SELECT DISTINCT WHAT
FROM THINGS
)B;
SET THE RIGHT VALUES ON EACH ROW
UPDATE THINGS2 A
SET NUM = (
SELECT NVL(SUM(NUM),0)
FROM THINGS B
WHERE ( A.WHO = B.WHO )
AND ( A.WHAT = B.WHAT )
SHOW THE FULL TABLE ( FULL BECAUSE IT CONTAINS THE FULL JOIN BETWEEN "WHO" AND "WHAT" )
SELECT *
FROM THINGS2
RETRIVE THE EXPECTED OUTPUT
SELECT A.WHO,"TRANSACTION","MASTER","INTELLIVIEW REPORT","UTILITIES"
FROM (
SELECT WHO,NUM "TRANSACTION"
FROM THINGS2
WHERE WHAT = 'TRANSACTION'
) A,(
SELECT WHO,NUM "MASTER"
FROM THINGS2
WHERE WHAT = 'MASTER'
) B,(
SELECT WHO,NUM "REPORT"
FROM THINGS2
WHERE WHAT = 'REPORT'
) C,(
SELECT WHO,NUM "INTELLIVIEW REPORT"
FROM THINGS2
WHERE WHAT = 'INTELLIVIEW REPORT'
) D,(
SELECT WHO,NUM "UTILITIES"
FROM THINGS2
WHERE WHAT = 'UTILITIES'
) E
WHERE ( A.WHO = B.WHO )
AND ( A.WHO = C.WHO )
AND ( A.WHO = D.WHO )
AND ( A.WHO = E.WHO );
Ps.
Could anybody tell me how is it possible to indent text on the board of this forum?
Bye Alessandro -
I try to find such as pivot table like in excel sheet
How to collect data like pivot table in excel sheet. Please help me
Hi Chepot,
Welcome to Apple Discussions and the Numbers '09 forum.
Numbers does not support pivot tables, but there may be a way to accomplish what you want.
Here's a link to search results for 'pivot AND table' in the Numbers '09 forum during the past year. Check these prior discussions. If they don't answer your question, post a reply here with further details on the arrangement of data you want to collect.
Regards,
Barry -
How to disable Row label from the aggregation function in Pivot table
Hello everyone,
I have table in Power Pivot like shown below:
Item_Name
Category
Vendor
Sales_Amount
Item 1
Category 1
Vendor 1
30
Item 2
Category 1
Vendor 2
25
Item 3
Category 2
Vendor 3
50
Item 3
Category 2
Vendor 3
60
Item 3
Category 2
Vendor 3
20
Item 2
Category 1
Vendor 2
10
Item 2
Category 1
Vendor 2
30
Item 2
Category 1
Vendor 2
100
Item 2
Category 1
Vendor 1
20
By using above table i have to create Rank(Based on Sales amount) by Category and Item name in Pivot table, i have done easily like added two dimension attribute(Category, Item_Name) into row label and Sales_Amount into aggregation tab then I calculated
rank:=RANKX(ALL(Sales[Item_Name]),[Sum of Sales_Amount]) so finally pivot table looks like shown below:
But end user want to see the vendor name also in the pivot table but the Rank suppose to be based on Sales amount by Category and Item name. if i added the vendor name also into the row label, rank calculated based on on Sales amount by Category, Item
name and vendor.
I would be really grateful if anyone advise how to fix this problem as it will be helpful my most of the reports.
Regards,
RobertDarren Gosbell,
Thanks for your reply.
Item_Name
Category
Vendor
Sales_Amount
Item 1
Category 1
Vendor 1
30
Item 2
Category 1
Vendor 2
25
Item 3
Category 2
Vendor 3
50
Item 3
Category 2
Vendor 3
60
Item 3
Category 2
Vendor 3
20
Item 2
Category 1
Vendor 2
10
Item 2
Category 1
Vendor 2
30
Item 2
Category 1
Vendor 2
100
Item 2
Category 1
Vendor 2
20
Item 4
Category 1
Vendor 2
3
Item 4
Category 1
Vendor 2
50
Item 4
Category 1
Vendor 2
3
The above is my new source data.
I used this function to calculate Rank:=RANKX(ALL(Sales[Item_Name]),[Sum of Sales_Amount])
and also used yours below:
Rank2:=RANKX(SUMMARIZE(ALL(Sales),[Item_Name],[Category]),CALCULATE([Sum of Sales_Amount],ALLEXCEPT(Sales,Sales[Item_Name],Sales[Category])))
The Preceding screenshot is the result of our two function but i wanna pivot table like shown below:
Could please help me to fix it out. -
Is there any possible that pivot table can display date values in the data area like this?
I use Power Query to load data(including all the of data showed in the following table without accumulating) from database to the Excel Worksheet, and I want to build a pivot table like this.
But the data area of the pivot table can only accecpt and display numeric data. Is there any possible that such a display can be achieved?
Thanks.Hi,
Would you like to upload a sample file through OneDrive? I'd like to see the data source structure and test it.
Regards,
George Zhao
TechNet Community Support
It's recommended to download and install
Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
programs. -
Advanced filtering/grouping question (pivot-table?)
Ahoy. I have come across a few flies in the final varnish of an image database I'm working on. I don't yet know the best way to ask the question. I think what I am looking for is some kind of pivot-table like grouping capability. I think I could do this with nest-able Smart Albums -- but you can't nest Smart Albums in Aperture. (Journler, for those who used it, had, imho, a brilliant implementation of nest-able filters.)
Let me give what should be able to serve as a good generic example: a Library of dog images. These are organized into Projects based on shoots. The images are keyworded with the dogs' breeds, their type, their coat type and color, their individual names (when known), and other "normal" dog characteristics (gender, age when known, etc.). There are also some special keywords, such as a set for expressions (Relaxed, Angry, Teeth Bared, Questioning, Attentive), and, where needed, details of ailments (Sore, Rash, Teeth, Gums, Wound).
I have set up Smart Albums to show many of these, e.g.:
. Spaniels
. Huskies
. Retrievers
. Cocker Spaniels
. Labrado Retrievers
. Details of Angry expressions
etc.
The database problem I am trying to resolve is: how best to narrow selections of groups of Smart Albums? Using the example above, for instance, I have Smart Albums to show me all the detail images of expressions:
. Dog is Angry
. Dog is Attentive
. Dog is Asleep
. Dog is Tired
. Dog is Questioning
. Dog is Relaxed
How best to narrow those to, for instance, just Huskies? or just Working Dogs? or just the individual dog known as "Nanook's Shadow"?
Clearly, if each of those is a keyword (or a keyword container), I can simply add the keyword to the Filter. But I want much greater functionality than that.
By "best" I mean to include the ability to change the variable -- to chose not just "Huskies", but also "Retrievers", and not just "Working Dogs" but also "Hounds". And I want to change this at once -- not individually for each Smart Album.
What I've come with is clever and borders on elegant (imho - ), but remains a kludge.
Smart Albums can be subordinate to only Projects and Folders. Subordinating them to Projects does me some, but little, good. (Subordinating them to other Smart Albums, or to regular Albums, would do me more good, but is not allowed.) I therefore created a new parent Folder for each set of Smart Albums I wanted to be able to readily filter as a group, and copied a set of Smart Albums into it. I then set each Smart Album's "Source" to the containing Folder rather than to "Library". At this point, the Smart Albums show no images, which is good. Now, all I have to do is create an Album of images I want the Smart Albums to operate on, and drag that Album into the containing Folder. So I go to my "Hounds" Smart Album, select all images, create new Album with selected images, and drag that into my Folder "Dog Expressions". The Album filters the universe of my Library to just "Hounds" and the Smart Folders filter from that narrowed group.
This is relatively flexible: If I want to include "Retrievers" as well as "Hounds", I just make another Album and drag it into the "Dog Expressions" Folder. If I want to see only Retrievers, I drag the "Hounds" Album out of the "Dog Expressions" Folder. (So I made a holder Folder called "Sets for Smart Albums" and I keep Albums such as "Retrievers" and "Hounds" there.) I now have a relatively supple drag-and-drop method of filtering groups of Smart Albums all at once.
But you can already see the problems. First among them is that the Albums are static. I will need to create new Albums in order to include any new images or Versions or whenever I get around to keywording, etc.
Still with me? Can you help me do better?
Is there any reason one couldn't have a pivot table based on metadata? One which not only filters but also groups, so that I could have a view showing (for instance) details of Huskies expressions grouped by expression?
Thanks in advance. If this catches you on Friday, enjoy the weekend.
Message was edited by: Kirby KriegerLOL. Thanks for the laugh -- the slideshows part is especially funny. Are you Aperture certified yet? The test has no surprises at all. It is very well done (exemplary for on-line testing, imho) and covers all parts that it says it will.
-
How to disable Pivot Table Prompt ability to move into sections?
Pivot Table Prompts can be moved to sections when report is running. How can the ability to move the prompts be disabled?
When running the analysis, hover near the beginning of the prompt to get the arrows.
Can then drag and drop the prompt into another section of the report.
Can also do the same and move it back up into the prompt, but users sometimes accidentally move the prompt and can't get it out of the section.
How can the drag and drop of the pivot table prompts be disabled?
ThanksDarren Gosbell,
Thanks for your reply.
Item_Name
Category
Vendor
Sales_Amount
Item 1
Category 1
Vendor 1
30
Item 2
Category 1
Vendor 2
25
Item 3
Category 2
Vendor 3
50
Item 3
Category 2
Vendor 3
60
Item 3
Category 2
Vendor 3
20
Item 2
Category 1
Vendor 2
10
Item 2
Category 1
Vendor 2
30
Item 2
Category 1
Vendor 2
100
Item 2
Category 1
Vendor 2
20
Item 4
Category 1
Vendor 2
3
Item 4
Category 1
Vendor 2
50
Item 4
Category 1
Vendor 2
3
The above is my new source data.
I used this function to calculate Rank:=RANKX(ALL(Sales[Item_Name]),[Sum of Sales_Amount])
and also used yours below:
Rank2:=RANKX(SUMMARIZE(ALL(Sales),[Item_Name],[Category]),CALCULATE([Sum of Sales_Amount],ALLEXCEPT(Sales,Sales[Item_Name],Sales[Category])))
The Preceding screenshot is the result of our two function but i wanna pivot table like shown below:
Could please help me to fix it out. -
Facing problem in pdf output in obiee when handling pivot table
i was making some changes in pivot table like adding columns in sections adding ..
and many more changes which i dont remember i dont know what happend now i am not getting an pdf output.
please let me know what can be the problemthis happens when select option for 'place value in new row' in some columns and not in all
-
Hello ,
I have created a pivot table like below
________________________________ *200908 .... 200909 .... 200910*
No Matching data in A ........................ 500 ......... 550.............. 570
No Matching data in B ........................ 650 .......... 700 ............ 720
Now i want to calculate the difference for the latest month and prevoius month, and would like to display as below
__________________________________ *200908 ..... 200909 ....... 200910......... Diff*
No Matching data in A ........................ 500 ..............550 ........... 570 ..... 20
No Matching data in B ........................ 650 .............. 750 ........... 725 .....-25
I am getting the difference if i give static values like '200910' - '200909'
But i want to get the difference dynamically like 'highest date' - 'next highest date'
Please suggest some ideas.
Thanks in advance.
Edited by: user11049754 on Nov 18, 2009 12:48 PMhi abhi,
Do you mean moving the column position,if so your saying it as calculated item so in pivot view it would be in the measures area.From there where you want to move it??
My understanding from your question is that in the measure area if there is another column other than calculated item,you can move above it or below it.
By,
Kranthi. -
Calculated column in pivot table
How can I add a calculated column (Daily Average) in a pivot table like this?
"Product" in row and "Date" in column and a "Daily Average" column to the right.
Date1 Date2 Date3 +Grand Total Daily Average+
Productclick right mouse on column you will get duplicate column
in duplicate column propties you have option like aggreate avg apply it you will get result
regards
bethamsetty -
Customize Font in Pivot Table OBIEE 10g
Hi All,
I have the Pivot table like this:
Item Value
A 1
B 2
C 3
Total A-C 6
D 1
E 2
F 3
Total D-F 6
How to bold the Total A-C and its value?My version is OBIEE 10g
Thank you before
Regards
JOEHi Joe
In 10g
1st change the View from Compound Layout to "Tabular View"
2nd.. as you told the A-C total is needed, in the tabular view at Answers......navigate to that field/column & find Sigma (Summation Symbol) ..
3rd, by clicking on it..you will get the Totals in Bold Letters
Please mark Correct if this helps you
Regards -
2 Column Label side to side in Pivot Table
Dear Gurus,
I have this pivot:
2 Column
2 Row Dim 4,Dim 5
Dim 1, Dim 2 Measures Dim 6, Dim 7
The question is, I can't arrange Dim 4 and Dim 5 side by side, but it only can arrange line this: Dim 4
Dim 5
How to arrange it to Dim 4 || Dim 5?
Please Help
Regards
MariaHi,
Thank you for reply, I mean how to arrange 2 column side by side in pivot table
like this:
Dim A Dim B (in column pivot)
I can drag 2 column in column pivot table but the display look like this:
Dim A
Dim B
(I can't drag Dim B next to Dim A but only can put it under Dim A)
I use OBIEE 11.1.1.3
Any help will be appreciated
Thank you
Maria -
Pivot table in BI Publisher: Different aggregate functions in data columns
Hi, everyone!
I`ve got some troubles with pivot table in my rtf-template.
Here is my xml:
<ROWSET>
<ROW>
<_BI_SUBRF_MO_._MUN_NAME_>МО Петроградский р-н</_BI_SUBRF_MO_._MUN_NAME_>
<_BI_PERS_ACCOUNT_CARD_._BI_PAC_NMB_>714000003</_BI_PERS_ACCOUNT_CARD_._BI_PAC_NMB_>
<_BI_MONTH_DEBET_._BI_DEBET_SUM_>0.0</_BI_MONTH_DEBET_._BI_DEBET_SUM_>
<_BI_CALENDAR_._YEAR__>2009</_BI_CALENDAR_._YEAR__>
<_BI_CALENDAR_._MONTH__>8</_BI_CALENDAR_._MONTH__>
</ROW>
<ROW>
<_BI_SUBRF_MO_._MUN_NAME_>МО Петроградский р-н</_BI_SUBRF_MO_._MUN_NAME_>
<_BI_PERS_ACCOUNT_CARD_._BI_PAC_NMB_>714000004</_BI_PERS_ACCOUNT_CARD_._BI_PAC_NMB_>
<_BI_MONTH_DEBET_._BI_DEBET_SUM_>165.58</_BI_MONTH_DEBET_._BI_DEBET_SUM_>
<_BI_CALENDAR_._YEAR__>2009</_BI_CALENDAR_._YEAR__>
<_BI_CALENDAR_._MONTH__>7</_BI_CALENDAR_._MONTH__>
</ROW>
<ROW>
<_BI_SUBRF_MO_._MUN_NAME_>МО Петроградский р-н</_BI_SUBRF_MO_._MUN_NAME_>
<_BI_PERS_ACCOUNT_CARD_._BI_PAC_NMB_>714000004</_BI_PERS_ACCOUNT_CARD_._BI_PAC_NMB_>
<_BI_MONTH_DEBET_._BI_DEBET_SUM_>165.58</_BI_MONTH_DEBET_._BI_DEBET_SUM_>
<_BI_CALENDAR_._YEAR__>2009</_BI_CALENDAR_._YEAR__>
<_BI_CALENDAR_._MONTH__>7</_BI_CALENDAR_._MONTH__>
</ROW>
...... and so on..
</ROWSET>
In the pivot table i`d like to see one row for every BISUBRF_MO_._MUN_NAME_ using BICALENDAR_._YEAR__ and BICALENDAR_._MONTH__ as measures and sum of BIMONTH_DEBET_._BI_DEBET_SUM_ and count of unique (or at least just count of) BIPERS_ACCOUNT_CARD_._BI_PAC_NMB_ in cells.
I create a pivot table using wizard, everything ok except one thing: as i understand, in pivot table for data in rows we can use only one kind of aggregate function e.g. only sum or only count.
Is there any way to use different aggregate functions in data cells?
Thank youAs you can see, when we use crosstab tag we can specify only one aggregate function for data cells.
Is there any way to get in XSL-FO (where we can what really happens) instead of:
<T1>
<xsl:value-of select="sum(current-group()/_BI_PERS_ACCOUNT_CARD_._BI_PAC_UNID_)"/>
</T1>
<T2>
<xsl:value-of select="sum(current-group()/_BI_MONTH_DEBET_._BI_DEBET_SUM_)"/>
</T2>
this
<T1>
<xsl:value-of select="sum(current-group()/_BI_PERS_ACCOUNT_CARD_._BI_PAC_UNID_)"/>
</T1>
<T2>
<xsl:value-of select="count(current-group()/_BI_MONTH_DEBET_._BI_DEBET_SUM_)"/>
</T2>
Edited by: user12115038 on 26.10.2009 8:08 -
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! -
SSRS matrix click on the count like a pivot table to get details
Hi,
I am trying to create a matrix report to work similar to a pivot table, where when a user clicks on the count, the details are displayed. When I add the action to open a sub-report, how do I pass in the parameter values for the group that was selected? meaning
if in row group- I have company name, and column group I have job title, when the count gets clicked, i need to pass in the company name for the row that was clicked along with the column group. How can I proceed?
Thanks in advance!Hi NewCSharpUser,
According to your description, you have created a main report which contains company name as row group and job title as column group. And a drill through report which contains company name as a parameter to filter the data. When you click the data region
in the main report, you want to display corresponding details in the drill through report filtered by the company name, right?
In your scenario, you could add a “Go to report” action, then specify a parameter to filter the drill through report. Please refer to steps below:
1. Design the main report like below:
2. Preview the report.
Reference:
Drillthrough Reports (Report Builder and SSRS)
If the method couldn't meet your requirement, please share you report design and expected results for our analysis.
If you have any question, please feel free to ask.
Best regards,
Qiuyun Yu
Qiuyun Yu
TechNet Community Support
Maybe you are looking for
-
Reading from graph to text file in labview 7.0
Hi Guys! I am doing a project which reads analog values from a microprocessor board and I am using the Labview example Cont Acq&Graph Voltage-Int Clk.vi. I am getting an analogue graph using this VI. is there any way I can convert the values on the g
-
Mail crash on IMAP account Yosemite 10.10.1
Hello, Mail app crashes at startup when I add my university IMAP account. Adding icould account works fine. The Yosemite upgrade don't fix the problem. Thanks for your answers. Her is the crash report Process: Mail [715] Path:
-
Message for Oracle Reports Team !
Hi Oracle Reports Team ! We have posted regarding our problem in parameter form. On yesterday 20th Dec, we didn't got any response your end. Actually we have dead line to meet. thanks raja
-
Droping temp table in after report trigger.
I am working on Oracle Report. I am trying to create a temporary table to run the report. I trigger that in 'before report' trigger. Now I want to drop this temp table after the report so I tried to drop this by using srw.DO_SQL('drop table temptable
-
Hi chaps, when I add an event to iCal it's alarm for email defaults to 15 minutes before, I always change this to 1 day before, is there a way of changing the default please ? Regards Roger