How to have an amount and cut in two at the same time

Hi everyone, I need to display the data as in the example (4 areas):
Product Category           Number of tickets by category               Product               Number of tickets by product
Category 1                              100                            product A                             50
                                                                       product B                              50

Category 2                               10                             product C                              8
                                                                       product D                               2
As you can see, I need to see the total number of tickets for each category of product and then cut in two by product.

In an attempt to have this result, I take the following fields the sector of activity:

Product category
Count (tickets_id)
Product

but I'm not able to have the amount of tickets per category and the quantity of tickets per product at the same time within the report... because as soon as I shared by product I lose the total number of tickets by category...

How can I have this two amounts together? The first designating all of the notes of the category and the second split by product at the same time?

I tried to do a calculation count (count (tickets_id))... but it is not possible... I got the error "Aggregate functions Nested are not permitted..."

Any help will be appreciated

Thanks in advance

Alex

Hi Alex,
In cases like yours when you need two different levels of aggregation, you can use the analytical functions.
From BA to select only the Product_Category elements and product and create new calculations:

1. on behalf of the tickets:
Count (tickets_id) more (Product_Category partition)
2. for the number of tickets per product:
Count (tickets_id) more (partition Product_Category, product)

you will get:

Product_category count by product by product category
---------------------------------------------------------------------------------------------------------------------------------
1 100 A 50 category product
Category 1 100 product B 50
Category 2 10 C 8
Category 2 10 D 2

Now if you want you can use the sort and apply the sorting group so it will look like your table model.

Note that I assumed that a product may be in a category.
If you got another one then just change groups in the calculation according to the needs.

Tags: Business Intelligence

Similar Questions

  • So, now that the iPhone 7 no longer a listener, how can we charge the iPhone and listen to music at the same time?  There is an adapter that will be a separator so that the two things are possible?

    So, now that the iPhone 7 no longer a listener, how will we be able to charge phone and listen to music at the same time?  Will it be a card which will be a dispatcher?

    You can use a dock of lightning to reload everything using plug the dock integrated headset for listening to music.

    http://www.MacRumors.com/2016/09/08/lightning-dock-iPhone-7-charging-with-music/

  • iPhone 7: how to charge and listen to music at the same time...

    The new iPhone is great! But a quick question that I can't find the answer to... In the car, I use the TomTom app and listen to the music on my phone. Because it must be reloaded when I use TomTom, I have a cable for music and one for the load. The new iPhone means that I can't load and listen to music at the same time? Or will there be some accessory available?

    Thank you!

    You can read what is known on the Apple site.

  • Can you have v4.1 and v3.5 hosts in the same cluster?

    Can you have v4.1 and v3.5 hosts in the same cluster?  Before that I have to try, I thought I would check.  It would be only temporary until all hosts are upgraded.

    > Yes, 3.5 and 4.1 can coexist.

    But they can be managed vcenter 4.1 only, and you must leave the old license server for 3.5 hosts.

    ---

    MCITP: SA, MCTS Hyper-V, VMware vExpert, VCP 3/4

    http://blog.vadmin.ru

  • How to display on my screen 2 different applications at the same time?

    How to display on my screen 2 different applications at the same time?

    Hello

    The best place to ask would be the forums for answers corresponding to your version of Windows.

    Answers - Windows Forums
    http://answers.Microsoft.com/en-us/Windows

    =====================

    If you have Windows 7 with Aero - click with the right button on the taskbar at the bottom of the screen and click on 'show windows '.
    Side by Side.

    For all versions of Windows:

    You could also reduce less than full screen using the small box to the left of the red X at the top right
    and then resizing windows as you want.

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • In windows movie maker, failed to get the narration and music to play at the same time

    Hello
    I have followed the instructions to the T, but cannot get the narration and music to play at the same time.

    Hi Anataia,

    You are unable to play the music and narration at the same time, you can adjust the audio levels to determine which audio will play louder than the other in your movie.

    The audio settings by default in Windows Movie Maker is for the audio portion of imported video and any narration or music that you add to play at an equal level, but you can change that setting if it does not give you the balance that you want. To adjust the audio levels, follow these steps:

    1. Click on Tools, then the Audio levels.
    2. Do one of the following:
      • To increase the level of audio on the Audio track that is part of a video clip, drag the slider toward Audio from video.
      • To increase the level of audio that is located on the audio / music, drag the slider to Audio / Music.
    3. Click close.

    http://Windows.Microsoft.com/en-us/Windows-Vista/adjusting-audio-in-Windows-Movie-Maker-frequently-asked-questions

    http://Windows.Microsoft.com/en-us/Windows-Vista/add-narration-to-your-movie

    Hope this has been helpful.

    Bindu S - Microsoft Support
    Visit our Microsoft answers feedback Forum and let us know what you think

  • If I click on "PIN to the browser" the sensitive axis is unselected and vice versa. I need object "PIN at the top of the browser" and 'sensitive pine' work at the same time. Any suggestions?

    In the latest version of muse to adobe, I have me against "PIN at the top of the browser" and 'sensitive pine' work at the same time.

    Now if I choose an object and the axis 'browser', "sensitive pine" is unselected and vice versa.

    The need is for the header with the logo and menu bar to be pinned to the top of the browser, so that the page scrolls in the header bar.

    Now when I click on the sensitive left axis for the logo and the sensitive right pin for the navigation bar, the "pin at the top of the browser" gets deselected.

    Any suggestions or workarounds will be appreciated.

    Kind regards

    Vijay

    Hi all

    Thanks for that bring to our attention. We will consider adding this feature in the future.

    RyanDoyle - it's an interesting hack you have found! Unfortunately, I wouldn't count on that it works like this in the future, as a bug which is to operate. If you drag the screen to change the width of the browser as a Muse, you'll see that the behavior of the elements in the status button (a menu, for example) is different from when exported. However, if you make a small change to your hack, so it should always work: set button "width sensitive" State instead. In addition, I don't see why all parts must be in separate to this job state buttons, but I've only tried a simple example myself.

    An another workaround I used is to create another, more breakpoint. For example, if I have a menu that is pinned to the top left of the browser in the dots stop, then in a breakpoint, I would pin in the center top of the browser. Normally, I wouldn't add more breakpoints, but there is a way that I found to work around the problem. Ryan workaround is perhaps the best way to go if you take my advice and use a status button sensitive width instead of the width of the browser.

    Hope this helps,

    Anna

  • Template file - y at - it an easy way to update the files related to a model, and download them (put) at the same time?

    First of all, I am a user of Adobe software for 20 years now.  I love the adobe range. I want to just clarify.

    Question... Template Files - y at - it an easy way to update the files related to a model, and download them (put) at the same time?

    Its been bothering me since I started using Dreamwever 10 years now, when you use template files to create small, who later turn wholesale websites. Whenever I update a template file I have to find each file in the files Panel, then download them. When I navigate through a lot of directories to find it can get a lot of time and boring.  Whey cant be just a button that does it? See the attached file.

    Is there a way to do this?  Any help would be appreciated.

    Thank you very much

    Andy

    Dreamweaver-Updated-Template-File.jpg

    The sync tool should do what you want (second "circular arrows" icon in the files window).

    Who checks your files against the files of the current server and download all that is changed. By default, is also download any file from the server which is more recent than your local files at the same time, but you can set it to 'Put the latest files remotely' rather than 'get and put newer files' and you should be good to go.

  • How to apply a master page to several documents at the same time?

    How to apply a master page to several documents at the same time?

    > The format of the page master is get imported, but the first page of all documents still remain with the format of page master default 'right '.

    AMP?

    Some content is unique to the first page mapped on master page first in the table to:
    View > reference Pages... MasterPageMaps

    That page and table do not exist by default, incidentally.

    and you make a:

    Format > Page layout > apply Master Pages

    After doing the import?

  • iPhone 6 s - photo app does not allow users to take pictures and listen to music at the same time

    The repro steps:

    • iPhone 6 s - photo app does not allow the user to take pictures and listen to music at the same time

      Music app vs photo app

    (1) play a sound track in the music app
    (2) the swtich to app photo (on the "Photo" mode)
    (3) music stops

    Pandora app vs photo app

    1) turn on pandora
    2) switch to the camera on the 6s iphone app
    (3) stopping the music

    PLEASE FIX AS SOON AS POSSIBLE *.

    My iPhone stopped playing music when you take photos?

    Nothing to trouble since he was not taken in charge.

  • Buy two planes? Photographic for 9.99 and 19.99 Indesign at the same time? It s less expensive than 49.99 with applications and I only need this two software

    Buy two planes? Photographic for 9.99 and 19.99 Indesign at the same time? It s less expensive than 49.99 with applications and I only need this two software

    Hello

    Yes, you can buy the plan of photography as well as one app In-design under the same account.

    Please check the link for purchase https://creative.adobe.com/plans

    Please go through the Adobe - General conditions of subscription as well.

    Hope this helps!

  • How to synchronize an exhibition of over 100 photos at the same time?

    How to synchronize an exhibition of over 100 photos at the same time?

    Hi Stephens,

    Please see the following article for the purposes of setting through multiple images: develop module in Photoshop Lightroom options

    Let me know if it helps.

    Kind regards

    Tanuj

  • Copy and paste multiple fields at the same time?

    Is it possible to copy and paste several fields at the same time as in the employment history section or reference to an employment application?

    Hello Glenn,.

    You can right click on the domain and select 'Copy field' and can then slide it into position suitable in the document so that in the preview page.

    Let me know if that helps!

    Kind regards

    -Usman

  • How to publish a free and a paid version of the same application at the same time?

    After a few days of struggle, I have made some inroads and have a lite version of my application as a project on the supplier portal that I tested (and it works). I can make now any time be reviewed for publication. But I also have a full version of the same game I want to publish. When I downloaded the zip file with new bar he told me that BB ID is already in use (or something similar).

    Has anyone here released a free and a paid version of the same game? Should I get a token using an another BB ID (I just need to do for it)? and then what happens, I'll have to operate from two separate accounts (portal provider) or how it works.

    Any ideas much appreciated.

    @jussumman You can and should submit all applications under the account of a vendor.

    You receive the error message simply indicates that the Package ID is already in use. In other words, you cannot have the same exact .bar file argued that two separate applications.

    You have two options:

    1 submit a free app and have in-app purchases to sell upgrades

    2. use a different package name to the second application.

    The package ID is from the appname and signature keys. Since you use the same keys for all applications of signature you must have different package names. This will allow you to present applications separate applications under a single account.

  • Can I have DVB - T and DVB - C channels in the same list?

    Toshiba TV have analog tuner, DVB - T and DVB - C.
    Can I use the same time channels DVB - T and DVB - C?

    My TV is connected to the cable operator with DTT and DVB - C signals and I would like to have channels on the same lists.

    Darek

    Hello

    I put t know what Smart TV you have but I n t think you can mix terrestrial (DVB - T) and digital cable (DVB - C) channels.

    My TV supports also DVB - T and DVB - C tuner and it is not possible to add DVB - T & DVB - C channels in the same list.
    However, I think in such cases its always recommended to read the user manual where these details and information are mentioned.

Maybe you are looking for

  • L50D-B-147 satellite startup problems

    Hi all, I had a L50D-B-147, had again since July and it has been great.Lately, although something happened I hope you might be able to help with, it is under warranty then can be sent away to be looked at but I thought I would ask here first in case

  • T130 - Wireless randomly stopped working

    With the help of a Toshiba satellite t130. Windows 7. The other night, I randomly lost the ability to pick up my wireless network. The wireless function is "on" and other devices and laptops can pick up without problem. Any ideas what is happening an

  • How can webmails transferred in Windows Mail - I transfer back?

    I accepted a few updates and since then, my Inbox of emails on the web shows no message (which means that my cell phone does not receive emails). Windows mail displays messages 'disappeared', but I want to be able to work in the way that I'm used to.

  • Switch SG300-10 - fatal error

    S14-DPAS-SW10#show logging file Logging is enabled. Origin id: disabled Console Logging: Level info. Console Messages: 0 Dropped. Buffer Logging: Level info. Buffer Messages: 68 Logged, 68 Displayed, 1000 Max. File Logging: Level error. File Messages

  • How to remove the partition of data (D) on the Toshiba Satellite

    Hi, I have a Toshiba C660, which is part of the series of satellites. I got my laptop yesterday and while I was looking at the capacity of the hard drive that I have seen that there are 2 partitions. A partition is my C drive and the other is my D dr