Count non missing cells across 2 dimensions

I am trying to get the average of values for the intersection of two upper level members using the @SUM function and the @COUNT functions but the @COUNT function can't return those non-missing values when at an upper level intersection. Are there any other functions that would providel this count? The member formula looks like this...
"Avg bbAudit" = @SUMRANGE("bbAudit",@RELATIVE(@CURRMBR("Organization"),0)) / @COUNT(SKIPMISSING,@RANGE("bbAudit",@RELATIVE(@CURRMBR("Time"),0)));

Yes, that returns only the members for that dimension. I need to get the non-missing members across both Time and Organization dimensions though.
lev0_org      lev0_org      lev0_org      lev1_org
lev0_time .7 MI .5 .6
lev0_time MI .45 MI .45
lev0_time .65 MI MI .65
lev1_time .675 .45 .5 ???
I get the averages for lev0_time average for each column in the lev1_time row and the averages for lev0_org averages for each row in the lev1_org column, but I need the average at the lev1_org and lev1_time intersection by averaging all level 0 values for both dims.
Edited by: bhead on Jun 12, 2012 8:03 AM

Similar Messages

  • How to count non repeated cells?

    I have an spreadsheet with a lot of email addresses and some of them are repeated. I need to know exactly how many email addresses I have. It's the same thing as categorize but I need a formula.
    I've tried with this excel formula: =SUMPRODUCT(A2:A10"";1;0)/COUNT.IF(A2:A10;A2:A10&""))
    modified to Numbers in these way: =SUMPRODUCT(IF(A2:A10"";1;0)/COUNT.IF(A2:A10;A2:A10&""))
    But in both cases appears that "A2:A10" it can be considered like a unique value.
    Thanks.

    macgquest wrote:
    I have an spreadsheet with a lot of email addresses and some of them are repeated. I need to know exactly how many email addresses I have. It's the same thing as categorize but I need a formula.
    I've tried with this excel formula: =SUMPRODUCT(A2:A10"";1;0)/COUNT.IF(A2:A10;A2:A10&""))
    modified to Numbers in these way: =SUMPRODUCT(IF(A2:A10"";1;0)/COUNT.IF(A2:A10;A2:A10&""))
    In Numbers, comparing a range to a string is not allowed.
    In Numbers, concatenating a range to a string is not allowed.
    Yvan KOENIG (VALLAURIS, France) vendredi 19 février 2010 08:32:01

  • How do I select multiple, non-adjacent, cells in Numbers?

    I have a spreadsheet that I need to select multiple non-adjacent cells for the purposes of highlighting them and I can't figure out how to do it. The Excel equivilant would be highlight a cell and then click he desired cell while pressing cmd. This does not work nor do fn, ctrl or option. Is this possible and if so how can I do it?

    K
    It's apparently one of those many things that haven't been implemented in the iCloud beta. You'll be able to make that type of multiple selection if you spring for the OSX version of Numbers.
    Jerry

  • Concatenate with Commas in Non-Blank Cells

    I am concatenating last and first name cells in a pair of long columns.  I do not want to display commas in the non-blank cells when extending the formula down the sheet.  On the web I found a formula which almost works:  =C7&IF(B7="","","
    "&B7) .
    But, I need to put a comma between the last and first names.  So, instead of "Smith Hal" it would read "Smith, Hal".  Please advise.
    PS, An alternative would be to delete the commas from blank cells in the concatenated column from earlier today.  But, Excel does not see them for some reason and will not allow me to replace them with nothing.  Is there a way to do this en masse?
    Thanks.
    Doug in York PA
    Douglas R. Eckert

    I stumbled upon the solution.  Here is my note to myself for future reference.
    COMMAS in CONCATENATE BUT NOT IN BLANK CELLS – FORMULA
    To concatenate a long column of names (last, first) without leaving extra commas in the blanks cells use the following formula: 
    =C7&IF(B7="","",", "&B7) .
    Please close this question.
    Thanks.
    Doug in York PA
    Douglas R. Eckert

  • Can I use box-counting method to calculate fractal dimension in Photoshop CS6?

    Can I use box-counting method to calculate fractal dimension in Photoshop CS6?

    If you have a thresholded image, then you can use the mosaic filter and histograms to count coverage.
    Iterate with mosaic at different sizes, use the histograms to see how many are black and white at east mosaic size.
    Or resize the image, re-threshold, and again use the histogram to get a count.
    That should be automatable with a script.

  • Flow table cells across collums

    I have this table with cells and in that cells alot of content (text) aslong as the text flows on one page as soon als the text of one cell flows across two page there is no content anymore.
    I think this has to do with cell text is not allowed to flow across collums.
    can some one help me?

    That's exactly what it is. InDesign will not split a cell across a frame boundary or column

  • Editing non-tree cells problem in JTreeTable

    Hello all,
    I've been playing around with the JTreeTable for quite a while and have a fairly good grip on it. However, I've run into a problem that involves the display of cell data in the non-tree cells.
    Assume I have a JTreeTable with one node below the root (and the root node is not displayed). Also assume I've edited some information in one of the other cells in a 5-celled JTreeTable. The JTreeTable behaves normally with regard to editing/setting the values of the table cells.
    Now, with the click of a separate button, I programmatically create a new node in the JTree. I update the JTree model with a call to nodeChanged() and nodeStructureChanged() (or I could call reload() - both seem to work).
    This successfully adds a node, but in the process clears the entire remainder of the table's cell values. If I call fireTableDataChanged(), then the display of the JTree gets all screwed up (basically what happens to the display if you add/remove nodes, but don't update the display in a JTree). Not only that, but the fireTableDataChanged() method still does not redisplay my cell information for the remainder of the table.
    I'm at a loss to figure out what's responsible for this. The tableCellRenderer seems to work just fine until I add node. Even then, the tableCellRenderer for the JTree still works until I call fireTableDataChanged().
    Any ideas?
    Thank you,
    Brion Swanson

    I use a JTreeTable and in looking at my code, I've
    noticed that I make use of treeTable.repaint() fairly
    frequently (as whenever I update my stuff).Did the treeTable.updateUI do funky things to your JTree? It does on mine if I do a programmatic node addition or removal (basically any change to the tree structure will cause treeTable.updateUI() to completely destroy the display of the tree). This is a separate issue, but I thought I'd ask anyway since you seem to have run into at least a few of the same problems I'm experiencing.
    I don't fully understand your problem<snip/>
    do you mean
    it drops all edits you have done?Yes, it drops all the edits except the one currently being "edited" (that is, the selected editable cell will not lose it's value).
    I had a problem about it dropping the edits I had
    done and I resolved them by adding key listeners
    and played with the TableCellEditor.Could you elaborate on what you did to the TableCellEditor and which object you had listening to the keys (the table? or the tree? or something else?).
    You help is greatly appreciated!
    Brion Swanson

  • Can't change cell's type on a non-empty cell!

    Can't change cell's type on a non-empty cell!
    I need to empty cell, then change the type, then retype the value of a cell.
    Number 3 on Maverics.
    File was created on Numbers 2.3
    Thank you.

    Alazarev,
    Can you post a screenshot showing the problem.  You can select the cell(s) then adjus the formatting as needed using the Cell format tool on the right.

  • Is there a way to choose non-consecutive cells when performing Instant Calculations?

    I know how to do an equation to add things up. I've discovered the convenience of the Instant Calculations feature where I select consecutive cells with values, then drag drop the resulting equation from the Sum in the lower left corner of my spreadheet. That works fine if I chose cells consecutively in a column,row, or select by dragging over an area. I haven't found a way to select non-consecutive cells to create a sum, with Instant Calculations, however.

    hold down the <command> key while clicking non-contiguous cells

  • IP01 Error - Unit MON and counter unit PO have different dimensions

    Hi guys,
    Some of our data loads in IP01 - Create Maintenance Plan were successful, some are not. I've check the data loads and I'm getting the following error. Tried to google but can't seem to find any solutions online.
    Has anyone seen this error message?
    Unit MON and counter unit PO have different dimensions
    Message no. IP106
    Diagnosis
    Unit PO of the counter that has been entered has a different dimension to unit MON of the maintenance cycle.
    System Response
    Processing will not be continued.
    Procedure
    Carry out one of the following options:
    Enter a counter with a suitable unit.
    Change the cycle unit.
    Thanks.

    hi
      i think it seems the error related to unit you entered in counter and unit you maintained in cycle is different. so check in the counter what is the unit you entered. it should be MON or change the cycle to the unit PO.
    What is the PO you should maintain counter and cycle has same unit of measure. like Maintenance plan for running hours of a machine you should create a Measuring counter with the unit of hrs and the cycle should be like 300hrs,600hrs.
    Regards,
    Edited by: Subrahmanyam on Jan 28, 2012 9:48 AM

  • Distinct Count Measure Total in Two Dimensions

    I have a report that pulls data Site and then drills down to User for Content Usage for Six Months. These are separate dimensions in the cube. I have a DistinctContent Measure that pulls for both Site and User appropriately when I use separate queries but it
    is at the lowest level which is User. A sum of DistinctContent at the Site level is not appropriate - it needs to be the DistinctContent for the Site, and then drill down to the DistinctContent for User.
    Aggregate cannot be used because there are filters on the report, and they have to be there for various reasons.
    I've tried Lookup but it only looks up for one field. Multilookup doesn't work either. 
    I've tried a drill down to a subreport so that the initial dataset would be for Site, and then the subreport is for User and uses a different dataset, but you cannot merge the cells so
    that the subreport fits nicely under the top level.  
    How do I get the DistinctCount for the top level, Site?  
    I'm currently working on creating a cube that will only count the distinct content by site and then combine the two cubes as a virtual cube as a workaround but I'm not sure of the full implications of a virtual cube.   I feel like I'm missing something
    because this seems to be something that everyone must need at some point right?  
    I'm beating my head against a wall.  Thanks so much to anyone who can help out.  I'm hitting the deadline, and everyone is stressing out because I've been working on this one issue for days and I'm the everything IT person, so other things are slipping.
    Here is
     (the abbreviated version of) the query:
    SELECT
    NON EMPTY
    {[Measures].[Distinct Content]} ON COLUMNS
    ,NON EMPTY
    Filter
    ([Site].[by Type].[Site].ALLMEMBERS
    ,[Measures].[Views] > 0)*
    Filter
    ([User].[by Type].[User].ALLMEMBERS,
    [Measures].[Views] > 0
    [Time].[Month Year].[Month Year]
    DIMENSION PROPERTIES
    MEMBER_CAPTION
    ,MEMBER_UNIQUE_NAME
    ON ROWS
    FROM
    SELECT
    {[Content].[by Domain Type Item].[Type].&[3]&[1]&[Art]} ON COLUMNS
    FROM [Cntnt]
    Here is a picture of the report currently.  Unique Articles is the measure I'm having issues with and you can see at the top level is the site name, and below that the user.
    Thanks so much to anyone who can help me out.  I really, really appreciate it. 
    Julia

    Hi Julia,
    Thank you for your question. 
    I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated. 
    Thank you for your understanding and support.
    Regards,
    Charlie Liao
    TechNet Community Support

  • How to get count for missing month

    I created a view as follows:
    CREATE OR REPLACE FORCE VIEW "Vinfection1" ("MONTH", "COUNT") AS
    select "MONTH","COUNT" from (
    select to_char(s.pdate,'Mon-yyyy') as month, count(*) as count
    from surproc s, diagnosis_surproc d
    where s.surprocid = d.surprocid and d.diagnosisid in ('506', '507', '508', '509', '510')
    group by to_char(pdate,'Mon-yyyy'))
    order by to_date(month,'Mon-yyyy')
    Some months are missing in the view. I want to put that month and 0 in the view. How to do it?
    Thanks,
    Jennifer

    Hi, Jennifer,
    You need to outer-join to some table or result set (such as all_months, below) that has one roe per month.
    Here's one way:
    CREATE OR REPLACE FORCE VIEW Vinfection1 (month, month_s, cnt) AS
    WITH    all_months     AS
         SELECT  ADD_MONTHS (first_month, LEVEL - 1)     AS month
         FROM     (
                  SELECT  TRUNC (MIN (pdate), 'MONTH')     AS first_month
                  ,         TRUNC (MAX (pdate), 'MONTH')     AS last_month
                  FROM    surproc
         CONNECT BY     LEVEL <= 1 + MONTHS_NETWEEN (last_month, first_month)
    SELECT  a.month
    ,     TO_CHAR (a.month, 'Mon-yyyy')     AS month_s
    ,     COUNT (*)                 AS cnt
    FROM              all_months      a
    LEFT OUTER JOIN      (     surproc               s
                   JOIN   diagnosis_surproc      d  ON   s.surprocid     = d.surprocid
                                          AND  d.diagnosisid     IN ('506', '507', '508', '509', '510')
               )     ON  a.month     = TRUNC (s.pdate)
    GROUP BY  a.month
    /Avoid table- and column names that are non-standatrd (such as names that need double-quotes), or are built-in function names (such as COUNT).
    Don't use ORDER BY in a view. Almost anything you do with the view will cause the ordering to be lost anyway.
    Even if you do have an ORDER BY clause in the view, you'll often want to ORDER BY month. Rather than call TO_DATE whenever you need to sort, I suggest having two month columns; month (whcih is a DATE) for sorting, filtering and joining, and month_s (whcih is a VARCHAR2) for displaying.
    Use ANSI join syntax, especiallly for outer joins.
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all tables involved, and also post the results you want from that data.
    Explain, using specific examples, how you get those results from that data.
    Always say which version of Oracle you're using.
    Edited by: Frank Kulash on Mar 20, 2012 12:03 PM
    Added outer join condition

  • Messenger not working with non-apple cells after changing password iOS password

    I changed my password because apple decided to not accept my password simply trying to download an app and after i got home, i lost capabitilty of texting to non-iphones through the messenger app.
    It absolutely lost the capability i had before simply by changing my password.
    I tried relogging in in all my devices iphone, ipad, and macbook pro and though i can text fine on my iphone, i no longer can text outside of the apple world to android cell phone users.
    How do i regain connectivity to the rest of the world instead of just apples?!
    Thank you in advance.

    Hi,
    If the iCloud ID is the same one you use in Messages for the iMessages account then you need to change the password there and in all other devices.
    As you tend to be unable to change all devices at the same time the link between the iPhone number and th Apple ID tends to get lost which then means any Text Forwarding linking also gets broken.
    On the Mac Version Untick the Enable box for the iMessages account.
    On the iPhone remove the Apple ID and place the iPhone in Airplane mode for a good two minutes.
    Go back to the Messages settings after this and make sure the iPhone number Verifies.
    When this is done turn th Enable box back On on the Mac version.
    Untick the iPhone number as a Receive "ID".  This may make the Start Conversation From drop down disappear.
    Send an iMessages from the iPhone (it can only use it's number) to the Apple ID (Effectively the Mac)
    Send a reply.
    This will check that the iPhone  (Number) can Send and Receive.
    Now on the iPhone Add back the Apple ID to re-link them.
    This should cause the Pop up to appear on the Mac.
    If it does not Restart the Mac version.
    This should Enable the unticked iPhone number in the Receive At list and make the Start Form drop down appear.
    Now Reset the Text Forwarding.
    9:42 pm      Monday; March 23, 2015
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • FDM between conditional mapping across dimensions

    Okay, I have searched long and hard, and did not find an answer on this one. Conceptually, my problem is simple.
    What I want to do, is set the value in the ICP dimension to '[ICP None'] based on the value in the account dimension. Simple enough. Problem being that I only want this to happen in certain ranges of accounts so for example:
    Accounts B100-B200 should map to ICP None
    Accounts B500-B600 should map to ICP None
    Accounts B600-B700 should map to ICP None
    All others, should use the explicit mapping I already have for the ICP dimension members.
    I know I can write 10 nested 'if' statements to make it work in a script in a like or between mapping, but that is very ugly. I was hoping there was a way in the ICP Between mapping, to stick in the Rule definition the value of the account dimension.
    Hoping someone can help....

    I'm making the assumption that you do not currently use the account as the source value for your ICP mappings. What you could do is put an import script on the ICP dimension, if the account is in the ranges you specify it will pass the account as the source value or else it passes whatever you currently use as the ICP source value. You can then keep all your churrent mappings and just add a couple more to process the account ranges.

  • Error: DAQ-STC Counter functions missing from library

    Using LabView 6.1, NI-DAQ 6.6.1 for MacOS on a laptop.
    DAQ Hardware: DAQCard 16E-4.
    When trying to use the advanced counter functions (for DAQ-STC type counters), LabVIEW generates an error saying that it can't find the function in the library. The code interface nodes for the VIs don't seem to be attached to anything. I've installed the latest version of DAQ Drivers for Mac; am I missing something here? Any insight into this problem would be appreciated.
    Regards,
    jdk

    Hi jdk,
    I think it could be just an installation issue. I assume that you are using Mac 9.1. I've run LV 6.1 with NIDAQ 6.6.1 on Mac 9.1 and it works just fine, including DAQ-STC counter functions.
    If LabVIEW 6.1 was installed without DAQ support, run the LabVIEW 6.1 installer and perform a custom installation for DAQ support. Then, run
    the NI-DAQ 6.6.1 installer to upgrade NI-DAQ.
    Hope this helps.
    Regards,
    Pravin Borade
    Applications Engineer, National Instruments

Maybe you are looking for

  • Can't install windows on bootcamp partition

    Hi, I got a problem hehe. When I use bootcamp to creat a partition, the windows installation does not reconize the partition. The only parition I can install on is a "patition1" with 131Go... But my hard drive is a 250Go and the parition I created is

  • How can u get the Length of a file u are going to download?

    HI,<br> I have another question, is it possible that u can get the length of a file which u are just going to download?<br> <br> I have the following code example:<br> <br>url = new URL(dlfrom);<br> f=new File(url.toURI());<br> System.out.println(f.l

  • Fixed Cloned video dislays for movies/avi/divx

    My nForce system is primarily used for entertainment, games, movies. It is heavily integrated to my audio/entertainment system. I used clone mode exclusivly to feed both displays with DVD video.  I was recently frustrated to find "clone mode" was bro

  • Substring, comparasion operatins usng PL/SQL

    i just need to know how to operate substring functions using PL/SQL. For instance, assume that i have strings such as 1000YTL, 200YTL, 3000YTL. What i need to cut the letters(YTL) ang get the numeric values and select mix and max of the numeric value

  • MDX - Help with IIF syntax

    I have a member in Accounts named 'Marketing' that needs a MDX formula with this logic: If the current member in the Market dimension is an idescendant of 'Total_Markets' Then [Corp_Level] * ( [Sales] / ( [Sales] , [Total_Markets] ) ) , [Corp_Level]