Showing Sub-Totals only for Specific Column in PowerView

Hi,
Is there a way of showing the sub-totals only for specific columns in a PowerView Matrix?
I am only aware of showing the sub-totals for all or non of the columns.
Thanks and Regards,
Justin

Hi Justin,
According to your description, you want to get sub-totals specific columns within columns group. Right?
In this scenario, we can use IIF() function in expression to achieve your goal. The expression will only return the total value when the column value is a specific value, otherwise we can make it return nothing. Try the following expression:
IIF(Fields!Column.Value="[specific value]",Sum(Fields!Total.Value),nothing)
We have tested this scenario in our local environment. Here are screenshots for your reference:
Reference:
Expression Examples (Report Builder and SSRS)
If you have any question, please feel free to ask.
Best Regards,
Simon Hou

Similar Messages

  • Expense Report Summary page does not show any totals - only zeros

    Hi All,
    On creation of Expense Report in the portal  When entering a billable expense report, when you get to the summary page is does not show any totals - only zeros for other two schema's its working fine like displaying totals
    we are surprised that any custom development is hitting or anything relates with configuration
    Provide valuable inputs to proceed further
    Regards
    Jaipal

    Hello vetsrini.
    Thanks a lot for your kind reply. As i said, i'm new to this and sometimes i just cannot pass over some problems. Here are the fields i have inserted:
    <?for-each:LIST_G_SETUP/AS_OF_DATE?>
    <?end for-each?>
    <?for-each@section:G_CUST_INV?>
    <?for-each:G_1?>
    <?INVNUM?>
    <?INVOICE_TYPE_INV?>
    <?DUE_DATE_INV?>
    <?sum (C_INV_BALANCE)?>
    <?sum (C_INV_B0)?>
    <?sum (C_INV_B1)?>
    <?sum (C_INV_B2)?>
    <?sum (C_INV_B3)?>
    <?sum (C_INV_B4)?>
    <?sum (C_INV_B5)?>
    <?end-for-each-group?>
    <?TOTAL_INV_AMT_DSP?>
    <?TOTAL_INV_B0_DSP?>
    <?TOTAL_INV_B1_DSP?>
    <?TOTAL_INV_B2_DSP?>
    <?TOTAL_INV_B3_DSP?>
    <?TOTAL_INV_B4_DSP?>
    <?TOTAL_INV_B4_DSP?>
    <?end for-each:G_CUST_INV?>
    In the header of the template i also have <?CUST_NAME_INV?> and the report date. When i try to enter the <?AS_OF_DATE?> it is not printed and also the header is not shown any longer. Once again, thank you for any help,
    Octavio

  • Cellular data only for specific apps

    Is there a way by which i can enable cellular data only for specific apps? Lets suppose i want only mail and viber to run on cellular. So how do i enable cellular network only for viber and mail

    Hello all,
    I have been using the iPhone 4S for about a year and I never had problems untill a few days back. Since about a week, my 3G settings for applications installed automatically reset.
    Path >> iPhone screen >> Settings >> Mobile(Cellular) >> Use Mobile Data For >> "List of all apps installed"
    Against each application, you have an option to either enable / disable the mobile data usage:
    Eg:
    App Store          (swipe left to disable || swipe right to enable)
    Contacts          (swipe left to disable || swipe right to enable)
    Facebook          (swipe left to disable || swipe right to enable)
    Facetime          (swipe left to disable || swipe right to enable)
    Weather          (swipe left to disable || swipe right to enable)
    You Tube          (swipe left to disable || swipe right to enable)
    etc...
    Problem:
    If I don't want You Tube to use mobile data, I would normally swipe left to disable thus the application will not start / stream any music if its on 3G/4G. Since a few days, whenever I disable the option for any app... go back to the main screen and recheck the settings, I see its enabled again!
    The error I see when I start the app is:
    MOBILE DATA IS TURNED OFF FOR "YOU TUBE"
    You can turn on mobile data for this app in settings
    <Settings>     <OK>
    When I go back to settings... I see the option is enabled.
    Now I dont know what and how this happened all of a sudden. I have tried resetting the network settings for my iPhone, and it has not helped me.
    My iPhone is updated to OS 7.0.4 and all apps are updated.
    Anyone can help me on this error and how do I fix this?
    FYI... I have no problems connecting to WiFi at all!

  • Using manual IP address only for specific networks

    For my home network I use DHCP with manual address because I have to forward some ports specifically to my computer. However this causes problems when connecting to other networks. For some reason this setting stays active even when using other networks. Therefore, I can't connect to say my school network because the setting has to be set to plain DHCP. Is there a way to use manual IP address only for specific networks?

    System Preferences > Network > Locations and add a location for your home with its manual settings. Add a location for other DHCP locations. Then when you want to connect at another DHCP location select that location from your locations dropdown.

  • SCCM 2012- How to limit a collection membership only for specific count of machines

    How to limit a collection membership only for specific count of machines

    As I said you can use where SMS ID like %1 and see how many machines that gets you. If it's not enough do where SMS ID like %1 or SMS ID like %2. Keep adding a digit until you get ~5000. It won't be perfect though.
    John Marcum | http://myitforum.com/myitforumwp/author/johnmarcum/

  • Get column value for specific columns

    I want to change the default behavior of a IKM. In a specific step, I need to call a PLSQL procedure inside the loop below, and that procedure will substitute the insert clause. The procedure uses only some attributes, and I need to check the name of each one when I use the getColList method.
         for aRecord in myCursor loop
              insert into      <%=snpRef.getTable("L","TARG_NAME","A")%>
                   <%=snpRef.getColList("", "[COL_NAME]", ",\n\t\t\t", "", "((INS AND (NOT TRG)) AND REW)")%>
                   <%=snpRef.getColList(",", "[COL_NAME]", ",\n\t\t\t", "", "((INS AND TRG) AND REW)")%>
              values
                   <%=snpRef.getColList("", "aRecord.[COL_NAME]", ", \n\t\t\t", "", "((INS AND (NOT TRG)) AND REW)")%>
                   <%=snpRef.getColList(",", "aRecord.[COL_NAME]", ", \n\t\t\t", "", "((INS AND TRG) AND REW)")%>
         end loop;
    For example, to call the procedure I do that: schema.proc_1(col1, col2, col3). However, I have more than 3 columns, and I need to restrict them when I use the getColList method. I would like to know if there is a way to get only specific columns, giving these names. I pass the name of the column, and the method should return its value. Can I use the getColList to do that? Is there any other way to do that?

    Hi Luciene,
    You can use the UD flags to do this. If you click on one of your mappings in the Diagram tab of your interface you will notice several UD flags (UD1 to UD5) you can use those to flag the columns you want to use in proc_1.
    To summarize:
    - at the interface level flag the columns you want to use in your PL/SQL code -> check UD1 for all of them
    - modify your IKM code:
    <%=odiRef.getColList(",", "COL_NAME", ",\n\t\t\t", "", "((INS AND TRG) AND REW AND UD1)")%> <- retrieve columns flagged with insert, not read only, mapped on target and with UD1 flagged. The "AND UD1" part can be used in other getColList.
    Hope this helps.
    Thanks,
    Julien

  • HT6446 My Health Data is showing my total steps for Daily average....

    specs:
    Using Apple Health App, with the Withings Health Mate and My Fitness Pal as the only 2 sources.
    Using an iPhone 5s with  26.7 GB capacity 4.2 GB available
    Model Number NE299LL/A
    OS Version 8.1 (12B411)
    I Updated all my Apps. I have gone into the Health Apps "all Data, and cleared all" this reset my dashboard to 0 steps. then after closing and opening both apps. I am right back to where i started. my "Daily Average" is showing my total steps. (or possibly dividing by 1)

    Well, I have just completed a full restore of my iPhone. It was not smooth at first. The restore froze about 10% through and I ended up having to hard reset the phone and start over. The second restore went smoothly but unfortunately, this did not solve anything.  All 3 iPhone measuresble components (flights climbed, steps and walking + running distance) still show "No data". I always had the option to enter manual data points, but I never actually tried to as I have no way of determining these 3 things.
    I will call Apple support back, but their only option will be to replace the phone. I really don't want to do that, not only because I don't want to have to set up the device for a third time, but I dont want some white box device; I want my brand new, immaculate one. Besides, it's clearly a software issue and likely to happen again with a new device. I guess Apple won't look into this as a software issue until enough people call in about it. That said, please take a few minutes and call Apple about this if you're one of the people affected.
    I will report back after speaking with Apple, but as I said, I doubt they're going to have anything other than a device replacement as a solution.

  • ALV Row Editable for specific column

    Hi,
      I am creating a transaction using ALV  - Webdynpro. I would like to enable or disable the row ,(specific column in that row ).
    Problem is very similar to the thread posted in the below link.
    enable or disable row in alv
    Please let me know how to achive the scenario.
    Thanks,
    Kumar

    Hi Kumar,
    Have a look at [this thread|How to set some rows in ALV to be editable or some non editable.; in which I have given the complete code to solve your problem. There is one post which explains how to set the cell editor, and one more post explains setting the cell as editable or read only.
    You need to bind the read_only property of your node attribute (i.e, whichever column you want this behavior on), to another attribute (say FLD_READ_ONLY) in the same context node. And based on the value in attribute FLD_READ_ONLY, the cell property would be changed. Define this attribute of type char01. So based on your business logic, if you want the cell to be read only, set X in the attribute, and if you want it to be editable, set space.
    I hope that would be clear enough. Please revert for any clarifications. Depending on your requirement, if you want the read_only property to change on lead selection, you can get the lead selection index and set the attribute FLD_READ_ONLY = X / space only for that element. This would make only one cell editable at a time.
    You could also refer to this recent [thread|ABAP WebDynpro: Can edit a cell in a column?; for the same issue, where you would have some additional pointers.
    Regards,
    Nithya

  • [CC] How to perform a script "foo_beforeSave.htm" only for specific site?

    Since a long time I use a script for automatic text replacements which perform with each save command.
    The script sits in that folder:
    C:\Users\myusername\AppData\Roaming\Adobe\Dreamweaver CC\de_DE\Configuration\Commands\foo_beforeSave.htm
    It works for all documents of all sites.
    The source code (the regex rule is just an example) of the script you find below.
    My question:
    I like to perform a script like this only for a specific site.
    I'm not a programmer. So I don't know where to place the script to reach that target. Or how I have to edit the source code of the script.
    Is there anybody who could help me with that please?
    I would appreciate it a lot. Thanks
    <!DOCTYPE HTML SYSTEM "-//Macromedia//DWExtension layout-engine 5.0//dialog">
    <!-- MENU-LOCATION=NONE -->
    <html>
    <head>
    <title></title>
    <script src="../Shared/Common/Scripts/dwscripts.js"></script>
    <script>
    function canAcceptCommand(){
        return true;
    function getFileName(url) {
      var index = url.lastIndexOf('/');
      if (index != -1) retVal = url.substring(index + 1);
      else retVal = url;
      return retVal;
    function runCmd(){
        var dom = dw.getDocumentDOM();
        dom.synchronizeDocument();
        var path = dw.getDocumentPath('document');
        if(getFileName(path) != 'foo_beforeSave.htm'){
            var docEl = dom.documentElement;
            var tempDoc = docEl.outerHTML;
            tempDoc = tempDoc.replace(/&bdquo;/g,'„');
            tempDoc = tempDoc.replace(/&#8222;/g,'„');
            tempDoc = tempDoc.replace(/&ldquo;/g,'“');
            tempDoc = tempDoc.replace(/&#8220;/g,'“');
            tempDoc = tempDoc.replace(/&rdquo;/g,'”');
            tempDoc = tempDoc.replace(/&#8221;/g,'”');
            docEl.outerHTML = tempDoc;
    </script>
    </head>
    <body onLoad="runCmd();">
    </body>
    </html>

    Well, the posted script is a full working one.
    I just search for a way to limit the range of the script to the actual site.
    Therefore it is unimportant, which regex is in the example.

  • How can i show sales order details for specific partner in view

    Hi All,
              My Requirement is that I want to display the sales order id,sataus,amount in sales order assignment block  in Customer FACTSHEET. I created a new componnet and new view for Sales Order View  using BTQRSlsOrd BOL Entity in ONEORDER I want to diplay sales order id ,status ,amount for specifc business partner which i selected from Account Tab in WEB UI.How can i bind my ( view or context node or context ) so that it shows details of sales order for specific business partner.
    Thanks in Advance.......
    Vishwas Sahu

    Hi Vishwas
    I hope the following link helps you in setting up the sales order in account fact sheet:
    Add Sales Order to Account Factsheet
    If you are on CRM 2007 SP03 then you might need the following note:
    Note 1165224 - Search result is not showing up in IC account factsheet.
    Regards
    Rupesh

  • VA01 Item category display only for specific order type

    Hi,
    I have a requirement to deactivate(display only) item category field in VA01 table item for certain order type . I tried the user exit  MV45AFZZ(USEREXIT_FIELD_MODIFICATION). This is working only if the table item has a value. i.e I could able to enter an item category first and then enter the material and quantity.
    So please suggest any alternative how to make the item category field(VBAP-PSTYV) column display only for centrain order type.
    Regards
    Aromal R

    Hi,
    Create a Custom Authorization Object so that you can control it for certain users.  2. Write implicit enhancement spot in the include TCS MV45AF0T_TCTRL_U_ERF_AUFTRAG_I,
    FORM TCTRL_U_ERF_AUFTRAG_INIT
    AUTHORITY-CHECK OBJECT 'ZITMCAT'
              ID 'ACTVT' FIELD '02'.
    IF SY-SUBRC NE 0.
    *    DATA: WA_COLS LIKE LINE OF TCTRL_U_ERF_AUFTRAG-COLS.
    LOOP AT   TCTRL_U_ERF_AUFTRAG-COLS INTO WA_COLS.
       IF WA_COLS-SCREEN-NAME = 'VBAP-PSTYV'.
       WA_COLS-SCREEN-INPUT = 0.
       WA_COLS-SCREEN-OUTPUT = 1.
      MODIFY TCTRL_U_ERF_AUFTRAG-COLS FROM WA_COLS.
       ENDIF.
    ENDLOOP.
    ENDIF.
    Regards
    Aromal R

  • [yaourt] Keep sources/build files only for specific AUR packages

    Hi,
    By default, packages are build in BUILDDIR=/tmp/makepkg, which itself usually is a virtual dir in RAM. I generally like this behaviour, so I don't wanna change the BUILDDIR variable to point to a dir on the harddisk, but for a few packages I'd welcome the sources/build dir to be kept, e.g. for *-git packages to reduce build time on consecutive updates. Is there a neat Arch-way to tell the makepkg system to use a different dir (i.e., one on the harddisk) for specific packages? It'd be even greater to be able to use wildcards as well, so I could just enable this option for all *-git packages.
    And as I said, I generally like the idea of building in RAM so the trick to just let BUILDDIR point to a dir on my hdd and put a command in some shutdown-script to delete all but the directories ending in -git wouldn't be perfect
    Cheers
    Last edited by epinephrine (2013-01-27 16:25:17)

    Oh you're right in that BUILDDIR isn't set by default. I use yaourt for building AUR packages, so this is a yaourt related question, oops. I'll ask in the appropriate forum...
    Some packages are only available as git packages, and that for a good reason. Some git repository maintainers follow the good working principle to always have their master branch stable and deployable and do development and testing in respective branches to keep master clean. E.g. I maintain 2 git packages on the AUR, and there are no other "stable" options, also as git makes sense for these packages.
    And sometimes you just need a more up2date version

  • How to show/hide total based on selected column in column selector

    Hello,
    Is there a way to show/hide the total based on what column is selected in the column selector? Or alternatively to hide the total based on the column selected? I'm using OBIEE 10g.
    Basically, I have a pivot table with a handful of row variables and one measure. Then I allow the user to select the column variable. The default is to have nothing, which I have achieved using the hidden/dummy column trick (Re: How to add new columns by using Multiselect However, if my pivot table is set to have a total, I now get 2 columns that are the same. When the user selects any other choice (e.g. gender), I would want to see Male, Female and the total. Something like this:
    Default:
    Count
    East 10
    West 20
    Total 30
    Gender:
    Male Female Total
    Count Count Count
    East 6 4 10
    West 14 6 20
    Total 20 10 30
    Any thoughts?
    Thanks!

    I recommend using view selector instead of column selector

  • How to authorise users only for specific GL accounts

    Hi friends,
    My client does not want his endusers to see all the GL accounts' balances, they want to restrict them from looking at certain GL a/cs .From my security person I came to know that we cant restrict them only for certain GL accounts, it could eithre be all or none.
    I dont agree with that.
    Please guide if you know anyhitng about it.
    Thanks
    Shefford

    You can use the Authorization Group field in the G/L account master record (field SKB1-BEGRU, free text field) for this purpose. You can then use authorization object F_BKPF_BES to manage the different authorizations.
    Click <a href="http://sap.ittoolbox.com/groups/technical-functional/sap-acct/authorisation-based-on-gl-accounts-727160">here</a> for more information.
    Points are appreciated.
    Kind regards,
    Lodewijk

  • Web Dynpro ALV disable column sort for specific column

    Hi,
    I have the above mentioned problem. The Coding I use is:
    DATA:  lr_field_settings  TYPE REF TO if_salv_wd_field_settings,
                lt_fields          TYPE SALV_WD_T_FIELD_REF.
    FIELD-SYMBOLS:  <fs_field>  LIKE LINE OF lt_fields.
    lr_field_settings ?= lr_config.
    lt_fields = lr_field_settings->get_fields( ).
    READ TABLE lt_fields ASSIGNING <fs_field> WITH KEY fieldname = 'ANSPRECH_DETAILS'.
    IF sy-subrc EQ 0.
      <fs_field>-r_field->if_salv_wd_sort~set_sort_allowed( abap_false ).
      <fs_field>-r_field->if_salv_wd_sort~set_grouping_allowed( abap_false ).
    ENDIF.
    When debugging I can see that the object attributes for sort_allowed and grouping_allowed are changed from 'X' to ' '
    but the running application still allows sorting and grouping for the column 'ANSPRECH_DETAILS'.
    So what did I forget or what is my mistake ????
    Thx for your help.
    Dino Dini

    I got the similar requirement and I tried to do the below way.. it worked for me..
    DATA: lr_field_settings TYPE REF TO if_salv_wd_field_settings.
    DATA: lr_field TYPE REF TO cl_salv_wd_field.
    lr_field_settings ?= lr_table.
    lr_field = lr_field_settings->get_field( 'MATNR' ).
    lr_field->IF_SALV_WD_SORT~SET_SORT_ALLOWED( abap_false
    you can observe in the below image that sort option is not enabled for MATNR in the ALV.

Maybe you are looking for

  • When I unlock my ipod when I'm playing music the song skips

    When I'm plying my music either through speakers or earphones and I unlock my iPod the song either skips backwards or it stops then starts again. I didn't know if this was the software or there was something I could do to stop it.  Thanks

  • Adobe X Pro exported to Excel

    I am using Adobe X Pro to manage forms build in LiveCycle.  I have distributed a form and manually complied the replies.  I am able to track all of the responses in Adobe X Pro and see every field in a spread sheet format but when I try to export it

  • Disabling ALT+CTRL+Del keys

    Hi Every body: Can u please help me in disabling the end task for my swing application by disabling the ALT+CTRL+Del keys ..I'm not sure if that is possible in Java ... Thanx in advance

  • My hard drive crashed a month ago. How do I edit my iWeb website now?

    My hard drive crashed a month ago. My website was published through iWeb and now on the new drive all my old info is gone. I want to get in to edit my website, but I can't figure out how to do that through my new iWeb software on the new drive?? What

  • Error message KD625 during WBS settlement.

    Hello Experts, I am trying to settle WBS element to AUC with investment measure in the current year, which has a balance from 2006 and getting the Error Message KD625. Kindly suggest me the solution. I found the below OSS notes but not sure how relev