Pie chart from Largest slice of another pie chart.

Greetings!
I'm trying to come up with a method which will allow me to create a pie chart of the subgroups from the largest slice of an existing pie chart. The "parent" pie chart will change depending upon the parameters given in the report.
declare @dataTable table (category varchar(10), task varchar(10), timeSeconds int)
insert into @dataTable (category, task, timeSeconds)
values
('Alpha','Scrub',100),
('Alpha','Sweep',100),
('Alpha','Polish',100),
('Bravo','Wash',200),
('Bravo','Dry',200),
('Bravo','Fold',200),
('Charlie','Paint',300),
('Charlie','Sand',300),
('Charlie','Spackle',300)
In this example, when a pie chart is produced, Charlie would have the largest slice. I then want to produce a pie chart showing only the tasks contained within the Charlie category, but which has the flexibility to render if the Alpha or Bravo groups are
the largest slice next time.
Thanks

For anyone else attempting the same thing: I wound up bringing in a reference to the largest slice using a subquery in the initial query, and using that column as a filter on the second pie chart.
I was hoping for a solution from within SSRS itself, but settled on that. I'll leave the question open in the hope someone knows how to achieve the same result from within SSRS.

Similar Messages

  • How do I link to a table from a slice of a pie chart?

    My project manager is after me to add a feature to a pie chart built on one of my tables. The code that selects from the table for the pie chart is this:
    select 'http://apexdevapp1.ci.raleigh.nc.us:7777',activity_type,count(ID) total FROM eba_ver2_cust_activity
    where ACTIVITY_DATE BETWEEN NVL(TRIM(:P23_START_DATE), '01-JAN-2001') AND NVL(TRIM(:P23_END_DATE),
    '31-DEC-2099')
    group by activity_type,'http://apexdevapp1.ci.raleigh.nc.us:7777';
    She wants to be able to click on a slice of the pie ("activity_type") and link to another page showing a report limited to that activity_type, selected from the same table. I know how to link from one interactive report to another, but I don't know how to do it from a slice of a pie chart. Does anybody know how?
    I'd appreciate some guidance on this.
    Steve the n00b in Raleigh NC

    Denes Kubicek wrote:
    Have you compared that link with any of your apex application links in the browser? ;) :)
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------I may be missing the point of your question, Denes, but all my links are implemented from the Link Column section under Report Attributes. They are not mentioned anywhere in the Select statement, unlike yours.
    Steve "the n00b" in Raleigh NC

  • Move (or copy or cut and paste) entire sheet from one document to another.

    I have several sheets I want to move from one document to another and retain all formatting and spacing, etc.
    What is the best way to do this?
    Thanks

    On the left of the screen is the list of sheets and tables and charts. Select the sheet. Copy. Paste into the same area (i.e., in the area where the sheets are listed) of the new document.

  • Easy way to migrate users from one machine to another?

    I have an iMac lab where students have their own local accounts. The machines are bound to W2k Server with AD. New school year, new seating charts, some users must move. Is there an easy way to migrate a user and all their stuff from one machine to another? We do have Remote Desktop BTW. I'm not finding an obvious answer so I guess there isn't but I sure wish there were. I suppose they could copy anything they want onto the server. set up a new account on the new machine and pull it all back off the server, but that's not "easy".

    Hi
    +The machines are bound to W2k Server with AD.+
    This could be a telling statement although without further information it would be hard to say?
    What I'm assuming from this is that current mac clients are bound to Active Directory. This would mean that user accounts exist on the Server and not locally. In which case there would be nothing to transfer other than the local admin account - again assuming you want the applications installed on the current client macs transferring over to the new client macs.
    To be honest it would be easier and less hassle to create a new local admin account and install compatible software fresh. Use the same tools you used to 'bind' the old client macs to Active Directory for the new client macs.
    +We do have Remote Desktop BTW+
    You could utilize this to (a) name all the new mac clients with appropriate hostnames and (b) 'bind' new mac clients by issuing dsconfigad from the command line. If this seems like too much hard work then you could simply exercise your legs and walk round each one in turn.
    Even if your current mac clients are configured with Mobile Accounts (locally cached network accounts) this would still not be a problem as you can manually or automatically sync the locally cached networked home folder back to the server and then log in with that account again on the new mac clients. The home folder should then be cached locally.
    This assumes you've configured Directory Utility in the appropriate way.
    Tony

  • How can i transfer my music from one account to another on a different computer?

    So i have an itunes account on dell laptop and i share that account with other famliy members. I recently bought a mac pro and wanted to create a new account that way i can use icloud, is there any possible way to transfer everything from my old library to my new one or will i lose everything i had on my phone and ipods? Or is it possible to have one account but multiple icloud accounts?

    lisafromwindermere wrote:
    I want to start my own account separate from my parents. Can I transfer my music from one account to another? If so, how?
    Lisa,
    Just get copies of the song files and add them to your iTunes library.  With the exception of any DRM-protected files (purchased before mid-2009 and never upgraded) they will play fine, even though they are technically associated with the original account.

  • How can i move music from one account to another

    I have 4 different accounts in Itunes and i wish to move all the music into one account
    help please !!!!

    You can't transfer content from one account to another account, nor can you merge accounts - content will remain tied to the account that downloaded it

  • How can I transfer sapscript from one client to another

    Please tell me the steps , how can I <b>transfer</b> SAPscript from one client to another (like DEV Client to Test Client)?

    Hi,
    Utilities --> Copy from client.
    If you have to copy from once system to another use Program RSTXSCRP
    Regards,
    Satish
    Message was edited by:
            Satish Panakala

  • How can I transfer mailboxes from one computer to another?

    How can transfer all mailboxes(and their contents from one MBP to another? Migration assistant was no help.

    Select all your mailboxes, and then select
    Mailbox ▹ Export Mailbox...
    from the Mail menu bar. Export the mailboxes to the Desktop folder. Transfer them to the new machine.
    On the new machine, import the mailboxes:
    File ▹ Import Mailbox...

  • How do i transfer music from one account to another?

    I want to transfer music from my account to my friends account, how do i do that?

    You can't transfer content from one account to another.

  • How can i transfer songs from one itunes to another?

    I have a new computer and want to transfer all of my songs from one computer to another.  I have home sharing turned on but can't figure out how to save the songs to the new computer.

    I have home sharing turned on but can't figure out how to save the songs to the new computer.
    First, make sure you've got the home share set up on both computers, as per the following document. If material on the original PC was bought from the iTunes Store, I'd use the AppleID you used for the purchases to set up the Home Share on both PCs.
    iTunes: Setting up Home Sharing on your computer
    Have both computers running and have iTunes open on both computers.
    Now, in the iTunes on the computer you want to transfer music to, select the library that you want to transfer music from, as per the following screenshot:
    Once the other library loads, go down to the bottom of the screen and in "Show:" select "Items not in my library":
    If you want to import all of the songs you can now see, head up to the iTunes menu bar and go "Edit > Select all". Then head down to the bottom of the screen again and click the "Import" button in the bottom-right-hand corner.
    If there's a lot of stuff in your original PC's library, the transfer may take some time.

  • How can I transfer work from one computer to another?

    How can I transfer work from one computer to another?

    Welcome to the forum.
    I can think of three basic ways to accomplish what you wish to do:
    Use the Project Archiver to archive your Project (and check the box to gather the media files), to an external HDD. Probably the easiest way to do it.
    Copy the Project and ALL media files to an external HDD, but be prepared to relink the media files to the Project, as the drive letter (part of the Absolute Path) will have changed.
    Edit loosely, and Share to an AV file, which will be Imported into a New Project on that second computer. Or, edit VERY tightly, and do the same. I like the first, as removing, replacing Transitions, etc., can be much more difficult, unless that "tight edit" is 100% done.
    Good luck,
    Hunt
    Message was edited by: Bill Hunt to correct formatting

  • How can I transfer information from one ipad to another?

    how can I transfer information from one ipad to another ?

    What kind of information? You can sync things like Contacts and Calendars by using iCloud. You can backup one iPad to iTunes on a computer and then sync the backup to the other iPad. You can configure your iTunes content and sync the same content to both iPads.
    It is based on what you want to do. Or are you looking for a way to send files from one iPad to another wirelessly? There are apps to do things like that, as well as cloud services, such as DropBox.

  • How can i transfer apps from one account to another.?

    now i had bought apps with my old account. but when i sync them into my phone i cant update them using my account, i need the old itunes i had. How can i transfer all bought apps onto my new account?

    You can't.
    All 3rd party apps - all paid and free apps include DRM protection which is tied to the iTunes account used to purchase/download the apps. DRM cannot be transferred from one account to another.
    Why did you get a new iTunes account? Changing your email address alone does not require doing so.

  • How can i move settings from one user to another?

    How do I move all settings and permiions from one user to another?

    http://discussions.apple.com/thread.jspa?messageID=11320719&#11320719
    http://discussions.apple.com/thread.jspa?messageID=12317222
    http://discussions.apple.com/thread.jspa?messageID=6331229

  • How can I move contact from one group to another?

    HOW CAN I MOVE A CONTACT FROM ONE GROUP TO ANOTHER GROUP?

    You usually make ​​contact groups via a computer (Mac or PC). If you use a mac and sync. via iCloud, you can go into Contacs.app and organize your contacts as you wish. Then (if) you sync with iCloud the groups you've changed or created will be displayed on your iPhone and (or) iPad.
    Hope this helped you.

Maybe you are looking for

  • I upgrade to mountain lion and my cannon MX310 scanner doesn´t work. What can I do?

    I upgrade to mountain lion and my cannon MX310 scanner doesn´t work. What can I do?

  • Sun JSC2 - How to download files to client

    Hi, imagine a document management site. I want to have a list of files with links that users can click to download them. Users can upload files (with handy File Upload component), and they get saved as byte streams to a file or database or whatever.

  • E-mail messages appear, then disappear.

    I've been having e-mail messages show up in the inbox then disappear. It's been happening for months. I use a lot of rules and folders. Steps I've taken: – Rebuilt every mailbox in Mail – Today I deleted the Envelope Index but the problem keeps happe

  • After archive and install macbook won´t boot

    Hi everyone! This is the first time I´ve posted a question here, so please be patient. I have a 2007 macbook white with 10.5 mac os leopard. Lately a was having trouble with low free space left so I decided to clean some unused files. Accidentally I

  • Oralce 10g RAC listener

    I installed Oracle 10g R2 RAC on RHEL4(U4), the RAC nodes work fine, but after I restart all nodes, I found the listener was listening on 0.0.0.0(1521), instead of the vip and local IP. tcp 0 0 0.0.0.0:1521 0.0.0.0:* LISTEN 17043/tnslsnr Before reboo