Counting rows when subtracting several slicer options from another

Hi Everyone
I am trying to count the number of rows in a pivot table/chart that equal the value of one slicer value minus other slicer values. I don't know if you can use countrows for this, but I tried countax and I am getting an error for "comparison operations
cannot be performed on values of incompatible types".
Is this syntax related to countax or a logical issue?
Paul
Revised formula:
=countax(s1Perm1,s1Perm1[Exit]="Still in Out-of-Home Care"-(s1Perm1[Exit]="Adoption"+s1Perm1[Exit]="Aged Out"+s1Perm1[Exit]="Other Exit"+s1Perm1[Exit]="Reun/Cust/Guard"))
Original formula:
=(CALCULATE(countrows(s1Perm1),FILTER(ALL(s1Perm1[ExitMonthCategory]),s1Perm1[ExitMonthCategory] <= MAX(s1Perm1[ExitMonthCategory]))))/(CALCULATE(COUNTROWS(s1Perm1),ALL(s1Perm1[Exit],s1Perm1[ExitMonthCategory])))

Hi Julian
I incorporated the above solution into the existing cumPercent function. It runs without error and correctly calculates the total cases for the last interval on the x-axis, however, it does not aggregate the total along all intervals along the x-axis, like
the current cumPercent does.
I can't figure out how the Filter part of the function should work to do this?
Paul
Current cumPercent function:
=(CALCULATE(countrows(s1Perm1),FILTER(ALL(s1Perm1[ExitMonthCategory]),s1Perm1[ExitMonthCategory] <=MAX(s1Perm1[ExitMonthCategory]))))/(CALCULATE(COUNTROWS(s1Perm1),ALL(s1Perm1[Exit],s1Perm1[ExitMonthCategory])))
Modified cumPercent function with above modification:
=(CALCULATE((CALCULATE(countrows(s1Perm1),ALL(s1Perm1[Exit]))-
(calculate(COUNTROWS(s1Perm1),s1Perm1[Exit]="Adoption")+
calculate(COUNTROWS(s1Perm1),s1Perm1[Exit]="Aged Out")+
calculate(COUNTROWS(s1Perm1),s1Perm1[Exit]="Reun/Cust/Guard")+
calculate(COUNTROWS(s1Perm1),s1Perm1[Exit]="Other Exit"))),FILTER(ALL(s1Perm1[ExitMonthCategory]),s1Perm1[ExitMonthCategory] <= MAX(s1Perm1[ExitMonthCategory]))))/(CALCULATE(COUNTROWS(s1Perm1),ALL(s1Perm1[Exit],s1Perm1[ExitMonthCategory])))
Modified cumPercent screenshot (not aggregating along x-axis):
Current cumPercent function (does aggregate along x axis intervals):

Similar Messages

  • When I select an option from the help drop down menu it just goes away. It does not go to the help option I chose.

    When I select an option from from the help drop down menu it just goes away. It does not go to the query I selected by hitting the keypad.

    Jody
    you don't tell us Device or OS?
    Quoted from  Apple's "How to write a good question"
       To help other members answer your question, give as many details as you can.
    Include your product name and specs such as processor speed, memory, and storage capacity. Please do not include your Serial Number, IMEI, MEID, or other personal information.
    Provide the version numbers of your operating system and relevant applications, for example "iOS 6.0.3" or "iPhoto 9.1.2".
    Describe the problem, and include any details about what seems to cause it.
    List any troubleshooting steps you've already tried, or temporary fixes you've discovered.
    ÇÇÇ

  • When I click on Options from the Tools Tab Firefox freezes.

    When I click on Options from the Tools Tab Firefox freezes and I have no option but to CTRL/OPT/DEL.

    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all your extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    You can use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    You have to close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")
    Your above posted system details show outdated plugin(s) with known security and stability risks.
    # Shockwave Flash 10.1 r53
    # Java Plug-in 1.6.0_13 for Netscape Navigator (DLL Helper)
    Update the [[Java]] plugin to the latest version.
    *http://java.sun.com/javase/downloads/index.jsp (Java Platform: Download JRE)
    Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
    *http://www.adobe.com/software/flash/about/

  • How can I stop Firefox clicking when I select an option from a drop-down menu? It's bloody annoying.

    When I select an option from the pull-down menus, or a link from right-clicking on the forward or back buttons, it makes a click sound. I'm using this on a machine that I use for recording and I don't want clicks on my soundtrack. How can I turn it off - I've looked through about:config and preferences but haven't seen any way to select or disable such a feature.
    I'm using FF 8.0 on Ubuntu Studio.

    Hi,
    It could be a Ubuntu Studio sound preference. You may have to turn off mouse click sound effects in the system.
    Useful links:
    [https://support.mozilla.com/en-US/kb/Options%20window All about Tools > Options]
    [http://kb.mozillazine.org/About:config Going beyond Tools > Options - about:config]
    [http://kb.mozillazine.org/About:config_entries about:config Entries]
    [https://support.mozilla.com/en-US/kb/Page%20Info%20window Page Info] Tools (Alt + T) > Page Info, Right-click > View Page Info
    [https://support.mozilla.com/en-US/kb/Keyboard%20shortcuts Keyboard Shortcuts]
    [https://support.mozilla.com/en-US/kb/Viewing%20video%20in%20Firefox%20without%20a%20plugin Viewing Video without Plugins]
    [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder & Files]
    [https://developer.mozilla.org/en/Command_Line_Options#Browser Firefox Commands]
    [https://support.mozilla.com/en-US/kb/Basic%20Troubleshooting Basic Troubleshooting]
    [https://support.mozilla.com/en-US/kb/common-questions-after-upgrading-firefox-36 After Upgrading]
    [https://support.mozilla.com/en-US/kb/Safe%20Mode Safe Mode]
    [http://kb.mozillazine.org/Problematic_extensions Problematic Extensions]
    [https://support.mozilla.com/en-US/kb/Troubleshooting%20extensions%20and%20themes Troubleshooting Extensions and Themes]
    [https://support.mozilla.com/en-US/kb/Troubleshooting%20plugins Troubleshooting Plugins]
    [http://kb.mozillazine.org/Testing_plugins Testing Plugins]

  • Which script is called when click "edit page" option from SharePoint gear icon?

    HI All,
    Which script is called when click "edit page" option from SharePoint gear icon?

    Hi,
    By inspecting the “Edit” button in the ribbon using IE Developer(F12), we can see that there is a function “CoreInvoke” in the click event of this button.
    By default, the “CoreInvoke” is defined in
    Init.js file which locates in 15 hive.
    Best regards
    Patrick Liang
    TechNet Community Support

  • Frm-92101 happens when I open a form from another form and close it.

    Frm-92101 happens when I open a form from another form, check something, show a message to the user and exit the form to the previous form.
    Forms version: 10.1.2.0.2. Java: 1.6.0_23. Browser: IE6
    When I put before the "EXIT_FORM" two messages, everything is fine and the second form is closed and I repeat to the first form just as I wanted.
    In forms 9.0 it didn't happen.
    Does it have a connection with the fact I use JRE instead of JInitiator?
    Thank you.

    >
    There are numerous causes of the FRM-92101 error. I recommend you start your investigation by tracing your Forms session so you can see what your form is doing when the error occurs. Check out My Oracle Support document How to Use Forms Trace with Forms [ID 209372.1] for information on how to enable the trace. Also, take a look at My Oracle Support document Known Causes of FRM-92101 Error In Forms [ID 604633.1].
    Hope this helps,
    Craig
    >
    I have just found that there is a "Synchronize" command in one of the main attached libraries, and when I comment that command the application works well. But I don't want to comment it because it's a great library and I assume it has a part in the system.
    I have discovered that in the new Forms' help, the fact that the System.Current_Item mustn't be null so the command "Synchronize" will work, is mentioned. In the old Forms' help, that fact is not mentioned.
    So I tried to put it inside a condition that checks if the current item is not null, but the compiler doesn't recognize the "current_item". I don't know why. Because it's a library? So how can I check this? I can sent it as a parameter, but I don't want. Do you know something about it? Thank you.

  • I receive a message to sign in to iCloud when replying to a message from another email account

    I receive a message to sign in to iCloud when replying to a message from another email account

    Does that happen all the time? I just got the same message when trying to open an email in one of my mail accounts and I don't even have iCloud mail, but I was in the process of setting up a brand new iPad Air 2 and I just assumed that it is a security feature that randomly popped up because it was a new device. I do think that I recall that occurring in the past though, and I assume it's simply a security feature.

  • JBO-33035: Row currency has changed; Using snapshots from another DB

    I receive this error due to a snapshot performing a complete refresh. It is not due to the user hitting the Back button in the browser. How can you get around this scenario. The page has been rendered, the user navigates somewhere else via some link, and the jbo-29000 and 33035 errors get thrown because of the snapshot having refreshed. It's not an option to stop using the snapshot. I have already tested setting 'Enable Token Validation' to false on the object. Still get the error. Any suggestions?

    Hi,
    I assume you use JavaServer Faces, correct ? In this case go to the starting page's pagedef file and opn the Structure Window
    - select the "bindings" node and create an "action" that you bind to the ViewObject execute() operation (If you use EJB or POJO, crate a methd binding)
    - in the "executables" section create an "invokeAction" pointing to the action created before
    - under refresh conditions, add #{!adfFacesContext.postback} so the iterator is refreshed when you navigate back from another page.
    This should solve the problem
    Frank

  • When I open a link from another website ForeFox puts a messagge at the top of the new link saying that it has blocked the websiste from transferring me to a new

    When I open a link for another website Firefox opens a new tab but puts a line on the top of the new page saying that Firefox has blocked the website from transferring me to another page.
    I have to press ALLOW before Firefox will open the new page.
    How can I solve this problem.
    Many thanks in advance.

    hello betth007, in order to get effective help, please open a new question at https://support.mozilla.org/en-US/questions/new instead and include a bit more details about your issue (what kind of error message are you getting, etc.). thank you!

  • Count rows in a table being retrieved from dba_segments

    Hello guys,
    I was wondering how can I count the rows in a table that is being retrieved from dba_segments.
    -- I am getting the table name from dba_segment
    -- Is it possible to count the number of rows in that table at the same time?
    -- If not, is there an alternative step without analyzing the table or schema, then getting the result from num_rows in all_tables?
    I want the count code to add to the select statement..
    SELECT owner, segment_name , segment_type, partition_name, bytes
    FROM   dba_segments
    WHERE  owner = UPPER( v_schema )
    ORDER BY segment_name;I try to add this to the select statement. count(segment_name), but that did not work.
    Any direction(s)?

    SYS@DEMO102> show user
    USER is "SYS"
    SYS@DEMO102> l
      1  declare
      2  counter number;
      3  begin
      4  for x in (select segment_name, owner
      5            from dba_segments
      6            where segment_type='TABLE'
      7            and owner='SCOTT') loop
      8  execute immediate 'select count(*) from '||x.owner||'.'||x.segment_name into counter;
      9  dbms_output.put_line(rpad(x.owner,30,' ')
    10                       ||'.'
    11                       ||rpad(x.segment_name,30,' ')
    12                       ||' : '
    13                       || counter
    14                       ||' row(s)');
    15  end loop;
    16* end;
    SYS@DEMO102> /
    SCOTT                         .MYTABLE14                      : 0 row(s)
    SCOTT                         .TAB3                           : 1 row(s)
    SCOTT                         .TAB4                           : 4 row(s)
    SCOTT                         .THE_TABLE                      : 5 row(s)
    SCOTT                         .C                              : 0 row(s)Nicolas.

  • Trying to subtract a complex path from another, can't get the result I need

    I'd really appreciate some help on this. I'm not familiar with illustrator and am stuck trying to accomplish what I hope is an easy task. I've uploaded my .ai here just in case anyone can help.
    I have two layers, one is a collection of lines/paths which make up a line drawing of a tree, then the layer above that is a bunch of paths using a 'distressed' brush. I've read several tutorials on using the pathfinder tool to subtract one from the other but every time I'm left with way more of the tree deleted than I want. I tried a simple test case (subtracting a single distressed path from a rectangle shape) and it worked as expected. I don't know why this one isn't working other than maybe it's just too complex.
    On the left (tempoary red background) is what my layers look like, on the right is the effect I'm trying to achieve (the white parts removed from the black parts). I need this to end up being a vector so it can get cut out of a vinyl decal.
    Thanks a ton for any help, I'm really stuck on this as I spent 99% of my time in photoshop.

    That worked perfectly, thank you. I selected everything on the tree layer, made compound path, then did the same on the texture layer. Then the subtract worked great.
    Just so I understand what's going on here - make compound path means take all the selected stuff and make it into one single shape/path, vs. having a bunch of separate paths on the same layer?
    Really appreciate your help, thanks again.

  • Problem translating click/highlight boxes when copy and pasting slides from another project

    I'm baffled by this problem as it doesn't seem to make sense. I opened up a new project to record a simulation in and when I was done, I copy and pasted all the slides into the appropriate section in my "Master Project" if you will. After the paste, I noticed that all the clickboxes and highlight boxes I had taken the time to carefully resize were all out of wack in terms of position. Here's the kicker, I opened up a blank project and copy/pasted the same slides...this time the click and highlight boxes were in the correct position. Any ideas?
    Thanks in advance,
    Neel

    Oh, 'in terms of position'... I see...
    Is the one project larger than the other? For example, the original perhaps at 800x600 and the new at 850x650?
    Positioning may then be off relatively....
    Pick a couple sample elements and note their x/y positions from the Properties panel in the first project (under 'Transform' in CP 5.5).
    After pasting into the new, note those same x/y positions.
    Is there a noticable factor?
    If this is the issue, be sure the sizes are the same, do the paste, then expand the project later (and maybe everything will retain its anchors?)
    I've not seen this occur in newer versions of CP.
    You could try checking the 'Constrain Proportions' option in the properties of the original, just in case that helps 'constrain the position' too...total guess...

  • Compiling application (with several sub-packages) from another java app

    Hi,
    I'm writing my own build tool and need to be able to compile an external application (pulled from cvs, subversion, ...) from within this build tool.
    Probably I need to use com.sun.tools.javac.Main.compile ?
    But how do I pass classpath, output dir, etc to this class and how can I make it compile all files in all (sub)packages of the given folder ?
    thanks for any help.

    Never mind my previous post, I found a solution to the "the input line is too long" problem:
    Putting all the files in a temporary file and then providing that file as the source to compile, like this:
    javac -g:none -cp <classpath> -d classes @sourcefiles.txtwhere sourcefiles.txt is the name of the temporary file that contains the names of the source files (note the "@"-prefix)
    For some reason, this is not mentioned/documented in the java docs (at least not in my docs)
    Ok, so everything is compiling now, but I have one problem remaining:
    For each "module" that I compile (the application I use for my tests consists of several "modules", i.e. subpackages), I get an error stating that "The system cannot find the path specified"
    This seems obvious, because it is trying to write a file <package-name>\classes\<package-name>\<classname>.class
    But why is it trying to write that file ?
    -> Is this a known bug or something ?
    Let me explain a little more...
    For each compilation I do using the com.sun.tools.javac.Main.compile() method, it is giving this error.
    Everything is compiling correctly, but it seems it is trying to write an extra class file to a wrong path.
    Until now, it was always the first file in the row that gave the problem.
    Example:
    ** module 1:
    sources/com/example/module1/class1.java
    sources/com/example/module1/class2.java
    sources/com/example/module1/class3.java
    sources/com/example/module1/sub1/subclass1.java
    sources/com/example/module1/sub1/subclass2.java
    sources/com/example/module1/sub1/subclass3.java
    ** module 2:
    sources/com/example/module2/class1.java
    sources/com/example/module2/class2.java
    sources/com/example/module2/class3.java
    sources/com/example/module2/sub1/subclass1.java
    sources/com/example/module2/sub1/subclass2.java
    sources/com/example/module2/sub1/subclass3.java
    => My application will compile module 1, do some other things with it and the module 2 and again do some other things with it.
    The result would be:
    Application started.
    Loading configuration: OK
    Compiling sources for module module1: E:\temp\_User_\project\packaging\workingdir\source\com/example/module1\class1.java:12: error while writing com.example.module1.class1: com\example\module1\classes\com\example\module1\class1.class (The system cannot find the path specified)public class class1 extends Thread {
           ^
    Note: Some input files use or override a deprecated API.
    Note: Recompile with -deprecation for details.
    1 error
    OK
    Note: Contents of my classes directory for module1:
    classes/com/example/module1/class1.class
    classes/com/example/module1/class2.class
    classes/com/example/module1/class3.class
    classes/com/example/module1/sub1/subclass1.class
    classes/com/example/module1/sub1/subclass2.class
    classes/com/example/module1/sub1/subclass3.class
    => all class files are correctly compiled
    Compiling sources for module module2: E:\temp\_User_\project\packaging\workingdir\source\com/example/module2\class1.java:12: error while writing com.example.module2.class1: com\example\module2\classes\com\example\module2\class1.class (The system cannot find the path specified)public class class1 extends Thread {
           ^
    Note: Some input files use or override a deprecated API.
    Note: Recompile with -deprecation for details.
    1 error
    OK
    Application finished without errors.
    Note: Contents of my classes directory for module2:
    classes/com/example/module2/class1.class
    classes/com/example/module2/class2.class
    classes/com/example/module2/class3.class
    classes/com/example/module2/sub1/subclass1.class
    classes/com/example/module2/sub1/subclass2.class
    classes/com/example/module2/sub1/subclass3.class
    So, as you can see everything compiles as expected, but an error message is displayed related to each first file that is compiled.
    ==> Is this a known issue ?
    ==> What can I do about it ?
    Suggestions welcome

  • Problem when create a support massage from another system

    dear Support,
    we are work in our system with support massage to the service desk in the solution manager,
    we are create the massage from the source system and it open a massage in the service desk in the solution manager
    when we create a support massage it's send mail with the name of who open the massage, (For example : naors, benisa)
    my problem is that in 1 source system when i open the massage the mail send in a name of user basis (i think it's meen that the massage send the mail from user in the solution manager and no the user that open the massage)
    -i create a BP partner in solution manager and generate him in Tz BP_GEN
    but it's still send the mail from user "basis"
    besr regards
    Naor Shalom

    Hi
    Is the IBase filled in that particular ticket correct,please check?
    have you generated the ibase in IB_52 for this system too?
    Regards
    Prakhar

  • How do I delete a photo album off of my iPhone 5 when the photo album is from another computer. I can't delete it btw!

    I've synced an photo album from my old Toshiba laptop to my iPhone 5 last year, the laptop doesn't work anymore, but now i have a MacBook pro and i can't delete it off of my phone or iTunes! please help! My storage is almost full and i want to delete it!

    If you select a single photo on your Mac to be transferred to your iPhone, all photos on your iPhone that were transferred from your previous computer should be erased first.

Maybe you are looking for

  • I cant get the tunes store to open,can anyone help me?

    I can get Itunes to open,but when I try to get to the store it freezes and will not open,can anyone help me,,I would appreciate it greatly..

  • Script needed to generate a list of paragraph and character styles from the Book Level

    Hello, I am using FrameMaker 11 in the Adobe Technical Communication Suite 4 and I need to find a script that will generate a list of paragraph and character styles from the book level. I am working with unstructured FrameMaker books, but will soon b

  • Infopackage failure

    Hello Gurus,         for a failure of infopackage as follows, how can I deal with it?                 Error occurred in the data selection                Data Package 1 : arrived in BW ; Processing : Selected number does not agree with transferred n

  • How do I integrate Facebook on OSX Mountain Lion?

    I am having problems trying to figure out how to integrate Facebook into OS X Mountain Lion. I just bought a Macbook Air, and I downloaded it a day after I received the notebook in the mail! Help please!

  • Editing image in phtoshop

    In captivate 3 I tried to edit the image in photoshop from library using Ctrl+u, After finishing editing i saved the image, but it is not automatically updated in the captivate slide, But the same function works very well in captivate 2. Please guide