DAX error "Formula is invalid" when updating underlying data, but not changing the formula?

Hello,
first of all: I use the 64-bit versions of Excel 2010 and PowerPivot on Windows Server 2008 R2.
I use this formula to calculate the median of my data:
MINX( FILTER( VALUES( TableName[ColumnName] ),
              CALCULATE( COUNTROWS( TableName ),
                         TableName[ColumnName] <= EARLIER( TableName[ColumnName]
              > COUNTROWS( TableName ) * 0.5 ),
      TableName[ColumnName] )
The data comes from a view on an MS SQL Server and has about 3.5 million rows. With one dataset ("dataset 1"), everything is working out fine and VERY fast ;-). When I change the view on the SQL server to filter for different data ("dataset 2", the result
set still containing about 3.5 million rows) and update the PowerPivot data and then the pivot table, the status bar reads "Executing OLAP query..." and excel.exe utilizes one CPU core at 100% for a long time and its memory usage increases significantly, but
nothing happens. If I interrupt that process by pressing Esc, I get the following error (original German text included):
============================
Fehlermeldung: (Error message:)
============================
Ausnahme von HRESULT: 0x800A03EC (Exception from HRESULT: ...)
Das Median-Feld konnte der PivotTable nicht hinzugefügt werden, weil die Formel ungültig ist. (Could not add the field "Median" to the PivotTable because the formula is invalid.)
============================
Aufrufliste: (Stack trace:)
============================
Server stack trace:
Exception rethrown at [0]:
   bei System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   bei System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   bei Microsoft.Office.Interop.Excel.PivotTable.AddDataField(Object Field, Object Caption, Object Function)
   bei Microsoft.AnalysisServices.Modeler.FieldList.ExcelInterOpUtil.AddToDataFields(ICalculatedMember calculatedMember, Int32 positionIndex, Boolean isSpecialColumnBasedNamedSetPresent)
   bei Microsoft.AnalysisServices.Modeler.FieldList.ExcelInterOpUtil.AddToDataFields(ICalculatedMember calculatedMember, Int32 positionIndex, Boolean isSpecialColumnBasedNamedSetPresent)
   bei Microsoft.AnalysisServices.Modeler.FieldList.GeminiPivot.SetFieldOrientation(FieldLocation location, IGeminiColumn column, Int32 positionIndex)
   bei Microsoft.AnalysisServices.Modeler.FieldList.GeminiPivot.SetFieldOrientation(FieldLocation location, IGeminiColumn column, Int32 positionIndex)
   bei Microsoft.AnalysisServices.Modeler.FieldList.GeminiPivot.AddField(IGeminiColumn column, Int32 index)
   bei Microsoft.AnalysisServices.Modeler.FieldList.FieldListControl.fieldsTreeView_AfterCheck(Object sender, TreeViewEventArgs e)
============================
I have analyzed the two datasets for differences and found the following ones:
Dataset 2 has also negative values in its ColumnName column, dataset 1 does not. Filtering dataset 2 (by changing the view on the SQL server) so that the column contains only positive values does not help.
A displayed column contains text with square brackets in it in dataset 2. Changing the SQL view to replace them with an empty string (replace(column2, '[', '')) does not help.
I do not know what else to try. Can anybody help me? The two datasets are very large, but if anyone can give a recommendation how to export them in a reasonable size, I can make them available.
Best regards
Michael

Hello Javier,
I use a new measure (button "New Measure" in the toolbar or option in the context menu of the table). Here are the data samples:
Dataset 1:
Probability    RThreshold    SThreshold    vector    value
0    -1    -1    DHTTestApp: Total GET Success Ratio    0.98
0    -1    -1    DHTTestApp: Total GET Success Ratio    1
0    -1    -1    DHTTestApp: Total GET Success Ratio    1
0    -1    -1    DHTTestApp: Total GET Success Ratio    1
0    -1    -1    DHTTestApp: Total GET Success Ratio    1
0    -1    -1    DHTTestApp: Total GET Success Ratio    0.98
0    -1    -1    DHTTestApp: Total GET Success Ratio    1
0    -1    -1    DHTTestApp: Total GET Success Ratio    1
0    -1    -1    DHTTestApp: Total GET Success Ratio    1
0    -1    -1    DHTTestApp: Total GET Success Ratio    1
Dataset 2:
Probability    RThreshold    SThreshold    vector    value
0    -1    -1    [MKTBR] BaseOverlay: All nodes: Own routing trust value    0.011353711790393
0    -1    -1    [MKTBR] BaseOverlay: All nodes: Own routing trust value    0.20522161505768
0    -1    -1    [MKTBR] BaseOverlay: All nodes: Own routing trust value    0.12309191295875
0    -1    -1    [MKTBR] BaseOverlay: All nodes: Own routing trust value    0.26926457661881
0    -1    -1    [MKTBR] BaseOverlay: All nodes: Own routing trust value    0.1911946574326
0    -1    -1    [MKTBR] BaseOverlay: All nodes: Own routing trust value    0.066699727250186
0    -1    -1    [MKTBR] BaseOverlay: All nodes: Own routing trust value    0.32597014925373
0    -1    -1    [MKTBR] BaseOverlay: All nodes: Own routing trust value    0.11977454203852
0    -1    -1    [MKTBR] BaseOverlay: All nodes: Own routing trust value    0.24751410911045
0    -1    -1    [MKTBR] BaseOverlay: All nodes: Own routing trust value    0.076218041485769
In both datasets, probability has a range from 0 to 1, both thresholds from -1 to 1. In dataset 1, value has a range from 0 to 1, in dataset 2, it's -1 to 1.
Thanks for your help!

Similar Messages

  • I would like to update adobe flash but not install the google toolbar, no option to do so, I had to

    i would like to update adobe flash but not install the google toolbar, no option to do so, I had to abort the update. thank you.

    When I do the update, I get a request about google and decline. I am not sure why you do not get such a selection. To get better information, try the Flash forum.

  • Changing animation frame rate when rendering in photoshop does not change the length of the video?

    I made a walk cycle animation in Photoshop CS6 and want to render it into a quicktime format. I'd like it to be 12 fps, but when I rendered it at 12 fps the video seemed to be missing frames, and the video was 3 seconds long. I have 98 frames to my animation; doing the math, at 12 fps it should be 8 seconds long. Not 3.
    I was confused and for curiosity's sake I rendered the video at 6 fps, trying to really slow it down. The video ended up being STILL 3 seconds long and only maybe 20 frames. I was missing literally 70 frames. I'm so upset with this rendering thing, I could chuck my computer at the wall.
    Does anybody know of a solution to this?
    edit: If it means anything, I've tried rendering it straight from the frame view and the timeline view. Each time I render it I have the timeline frame rate match the rendering frame rate as well.

    floriannaart wrote:
    Changing animation frame rate when rendering in photoshop does not change the length of the video?
    Photoshop CS6 and CC support two types of animation Frame animations and a Video Timeline
    Changing the frame rate should not change the length of a video timeline. It should just change the number of frames that are rendered.  To change the length of a video you need to change the length of the video timeline.  If you increase the length of the timeline and there is audio I'm quite sure there will be a problem with it,  The Video part will most likely be better then the sound. The required number of extra frames can be generated however the video may look like slow motion. If you decrease the length the motion will speed up.  The length of a video is normally done be editing video clips which are trimmed and stitched together to get the desired duration. Not normally done by altering the duration of a clip.
    The duration a of Frame animation is the sum of the times each frame is displayed.  In a frame animation the length of time a frame is displayed can be varied it not a normal motion picture video.  To have a smooth frame animation you need a sufficient number of frames that are different from each other to show smooth motion.  You can use Photoshop Frame animation tween feature to have Photoshop manufacture frames to help with a smoothing the animation.   Once you have a frame animation the length with the motion you want you can have Photoshop convert it to a video timeline and render a normal motion picture video.  It will not have audio but you can add audio to it.

  • Song and Artist Info missing under itunes but not in the original file, and putting track number next to certian songs. Help

    i recently updated my itunes...today i opened it up and moticed abuout 100 songs missing...they are now at the bottom of itunes song list with a number next to them with information mission such as this the example below
    01 human                                                                 (this song should have the killers name as artist and cd title, etc)
    01 hosanna     hillsong united                                 (this song should have the cd title to it)
    02 lay me down                                          burning light
    02 leave out all the rest
    02 let it be                       the beatles
    03 papercut
    when i go under the original folders and files in the itunes folder everything is normal no missing info, etc. but under itunes orgnising its picking and choosing the same songs and putting the track number next to it and others songs in the same cd not. plus info missing. under the infor when i click right button all info missing there...but not under original file.
    please help

    A response on this subject from another post:
    It could be that you have inadvertently imported these CDs into iTunes as part of a compilation. If so, the artists won't show in the artists menu on the iPod.
    To check, highlight the tracks on one of the offending artists CDs in iTunes, right click and select "get info". This brings up a multiple song info window, and from there you can check if you have 'yes' in the box marked "part of a compilation".
    If you have, select 'no' instead and click 'ok'. Do this with any CD that has this issue. This will alter the info in iTunes, and you should then connect your iPod and synchronize the changes.
    The problem arises because the information contained on the Gracenote CD Data Base (where iTunes gets all it's album/artist/track info from), is sometimes incorrect. It can show CDs as compilations when in fact they are not.
    ramstigo wrote:
    I had an earlier post on this subject with a similar problem. I tried what you suggested and it worked indeed. You can select the artists from your Ipod on Itunes and after highlighting the artists/albums affected, click NO on the compilation box and the issue is resolved: the artists appear on the list.
    Thank you so much!!!!.

  • Select formula works with one set of data but not another??

    Post Author: rkckjk
    CA Forum: Formula
    I have the folloing Select formula:{Sheet1_.Assign Group History} = '{"COMPUTER OPERATIONS"}' and{Sheet1_.Resolved By Group} = "COMPUTER OPERATIONS"That I'm using to select records from an Excel spreadsheet. It works fine with the Jan. 2008 spreadsheet file: Test MTTR Jan 2008.xlsbut not with the Feb. 2008 spreadsheet: Test MTTR Feb 2008.xlsWhen I use the Feb. 2008 file I get this error:"Query Engine Error:'Error code: 0x800a06ff Source: DAO.Recordset Description: this expression is typed incorrectly, or it is too complex to be evaluated."Basically both Excel files are in the same format but have different data in them. I don't understand why Jan's works, but not Feb's???
    Since, I can't upload the two files without contacting the system administrator, maybe someone can help me debug the error code or how to debug this error using another method or idea??

    Post Author: sharonmtowler
    CA Forum: Formula
    did you try each sheet while removing one of the select statements?  i would start there and try feb with no select statement, add one in, then the next
    see what is causing your problem. it sounds like some data in the xls file is in an incorrect format.

  • How do I add text to a photo when making a calendar from iPhoto?  I see the text box for the dates but not for the actual photo...thanks.

    I can't find a way to add text to a photo once it's been put into the top pane of the calendar month...is there a way to do this since I'd like to add a descriptor to the photos?  I see the text box when you click on the calendar date, but don't find one for the photo pane.  Thanks for any assistance.

    Right - you can not add text to photos with iPhoto - you must use an external editor
    LN

  • How to delete the old Apple ID to prevent continuing access it when updating Apps if I have changed the Apple ID in my iPad and iPhone?

    I have changed my Apple ID in my iPhone 4S and iPad, but when I update my Adds on them, they prompt me to enter the old Apple ID and password.  I have already created the new Apple ID.  How can I delete the old Apple ID on them?

    If you created a new id instead of updating the old one then any apps etc that you bought/downloaded with the old id will still be tied to that old id, and they can't be copied or transferred to a new one - so only that old id can download updates to its apps.
    If you updated the old id then try logging out of the account on the iPad by tapping on the id in Settings > Store and then log back in and see if that 'refreshes' the account on the iPad.

  • I got the error ORA-12154 trying to connect my app but not with the SQLplus

    Hello! i need your help,
    I have a client (Win XP SP2) and i'm trying to connect to the database in the server (Windows 2003, Oracle 10G) using the SQL plus, this is ok, but i try to do it throught the application developed in Developer 6i and i cannot, i got the error: ORA-12154 TNS:could not resolve service name. I tried to solve it by setting the env. var TNS_ADMIN and i still have the same error.
    Could anyone help me?, please

    Hi,
    Check for following file TNSNAMES.ORA at location;
    C:\<Forms-directory>\NET80\ADMIN
    See, if your service name is added to your file. If not then add a new entry like;
    gsm.world =
    (DESCRIPTION =
    (ADDRESS = (COMMUNITY = tcp)(PROTOCOL = TCP)(Host = 10.0.1.22)(Port = 1521))
    (CONNECT_DATA = (SID = gsm))
    Where:
    gsm.world = your service through which you connect to databse.
    Host = ip address of machine where oracle server is running.
    sid = name of your database
    If you already have entry of service in TNSNAMES.ora file then paste you service here as is did , so that we can check because the error you are facing is only due to service problem. Please update........

  • When updating my ipod Nano, I get the error message Unknown Error 9006. Any help is appreciated.

    When updating my iPod Nano, I get the error message: Unknown Error 9006.  Any help is appreciated. 

    See this
    http://support.apple.com/kb/TS3694#9006

  • I keep getting "Error Subject token invalid" when I try to activate HBO GO on my Apple TV 3.

    I keep getting "Error Subject token invalid" when I try to activate HBO GO on my Apple TV 3. Everything else is activating fine. My ISP is XFinity. Anyone seen this? I have done a complete reset and restore, and have the latest software.

    Hello dprice3885,
    Thanks for using Apple Support Communities.
    Take a look at the Wi-Fi troubleshooting since you can access the network but not the content.
    Apple TV: Basic troubleshooting
    http://support.apple.com/kb/HT6106
    Apple TV (2nd and 3rd generation): Troubleshooting Wi-Fi networks and connections
    http://support.apple.com/kb/TS4546
    Have a nice day,
    Mario

  • RE: DataField, update underlying data via TOOL,Express

    John,
    does it work if you mix the "CopyfromClipboard" method with the "PlaceValueinDisplayedField" ?
    If this is not the correct solution to you problem, could you please specify "where" it does not work ?
    Thanks a lot indeed.
    Best regards
    /Stefano
    Stefano POGLIANI Fort&eacute; Software Consultant
    E-Mail : [email protected] Tel : +33.0)450201025
    Fax : +33.(0)450200257 Mobile : +33.(6)08431221
    Visit the Fort&eacute; Web Site : http://www.forte.com/
    Ducunt fata volentem, nolentem trahunt....
    -----Original Message-----
    From: John Hodgson [SMTP:[email protected]]
    Sent: Wednesday, July 02, 1997 8:39 PM
    To: [email protected]
    Subject: DataField, update underlying data via TOOL, Express
    In TOOL code we PasteText() into a DataField, but the underlying data
    object does not get updated until the user interacts with the GUI.
    That causes problems if we need to use the underlying data object's
    value immediately after the paste. How can we:
    force an update of the underlying data object and
    ensure that the update goes through before our method call returns,
    i.e., ensure that if the update is via Forte events, those events
    are handled before returning.
    The context is a calendar lookup button that pastes into an adjoining
    DataField.
    John Hodgson |Descartes Systems Group Inc.|[email protected]
    Systems Engineer|120 Randall Drive |http://www.descartes.com
    |Waterloo, Ontario |Tel.: 519-746-8110 x250
    |CANADA N2V 1C6 |Fax: 519-747-0082

    Well, I think I have answered my own question, but I will leave it here in case anyone else has the same problem. 
    So, as far as I have been able to track down, it all went wrong when I was running through the connection wizard. 
    Under the section titled "Creating the Data Source" is describes how to find your database file and create the appropriate connection string. However, on my version of VS Express 2010 . It offered me a prompts , saying something like, "would you like to
    move this database file into the application directory and change the connection string" this sounded very sensible to me, so I said yes.
    All proceeded accordingly. And the database file now appeared in the solution explorer. 
    The app config file said that the connection string was 
    Data Source=|DataDirectory|\Database1.sdf"
    I presumed this would be interpreted correctly by the rest of the app, as it was generated by VS.
    But it didn't, what I cannot understand is how no error was generated. And data seemed to pull
    into the bound controls. 
    But I have been testing it for a while now. and it seems that if I manually override the config file with the actual directory where the file exists , then there is not a problem. Data is retained in the file 
    This is more of a VB.net question, but I couldn't find it in the drop down. I will try and move it there now
    Thanks guys for your patience. 
    p.s. RSingh , the code I posted above did come from the SaveItem_Click event
    handler

  • My iPhone won't stop vibrating when plugged into my Macbook.  All software is up to date.  iTunes just gives me an error.  No problems when plugged into a PC.  Why the nonstop vibrating!?

    My iPhone won't stop vibrating when plugged into my Macbook.  All software is up to date.  iTunes just gives me an error.  No problems when plugged into a PC.  Why the nonstop vibrating!?

    When I connect it to my iMac (with up-to-date OS X Yosemite 10.9.5) - it doesn't work.
    Specifically - iTunes automatically launches, but then quickly shows a dialog window that says, "iTunes could not connect to the iPhone. This device is no longer connected."
    Meanwhile - on my iPhone - in the upper right-hand corner (where the battery life is displayed) - you can see the "plugged in" icon (lightening bolt) rapidly blinking on and off.
    In other words - it seems like, when it's plugged in - it's rapidly connecting and disconnecting (several times per second).
    If I click "OK" on that dialog window on iTunes - it instantly pops back up, and continues to do so as long as I keep the iPhone plugged in.
    I have tried all and stile did not resolve my problem. I tried to restart both devices, try different cable (I have original cable). Both devices are new and software's are update it on latest versions.
    Thanks in advance for any help!

  • When I check for software updates only itunes and random other updates show up but not security updates or safari update. When i check installed updates I realized my last security update was 2011-004 and I still have safari 5.0.6. Can anyone help me?

    When I check for software updates only itunes and random other updates show up but not security updates or safari update. When i check installed updates I realized my last security update was 2011-004 and I still have safari 5.0.6. Can anyone help me?

    Don't panic. OS X 10.5.8 is the most popular PowerPC OS out there. People run it everyday without security breaches, including myself. It isn't Windows!
    If you're really that worried, I highly recommend Sophos Anti-Virus for Mac Home Edition. Supports PowerPC & Intel and Mac OS X 10.4-10.7.
    http://www.sophos.com/en-us/products/free-tools/sophos-antivirus-for-mac-home-ed ition/system-requirements.aspx
    Direct download: http://downloads.sophos.com/home-edition/savosx_73_he.dmg

  • Trying to update my ipod but i get the error message network timed out.  I've already uninstalled and reinstalled the latest version of itunes. I also do not have software update in settings on the ipod. How do i get the ipod to update?

    trying to update my ipod but i get the error message network timed out.  I've already uninstalled and reinstalled the latest version of itunes. I also do not have software update in settings on the ipod. How do i get the ipod to update?

    Try the manual method specified here:
    iDevice Troubleshooting 101 :: iPhone, iPad, iPod touch

  • I got a new apple iD so when i try to update my apps it wont change the last one that i had so i cant update my apps. How do i fix this?

    I got a new apple iD so when i try to update my apps it wont change the last one that i had so i cant update my apps. How do i fix this?

    - Go to Settings>Store and sign out and sign into your account.
    - Apps are locked to the account that purchased them.
    - To update apps you have to sign into the account that purchased the apps. If you have apps that need updating purchased from more than one account you have to update them one at a time until the remaining apps were purchased from one account.

Maybe you are looking for

  • Skype can't connect - How to get a refund?

    I've spent hours going thru every post and recommendation (and there are a ton!) for the error message "Skype can't connect" and I STILL cannot connect (yes, I have the latest/only version; yes, my system requirements are met; yes, internet connectio

  • Regarding JVM TUNNING

    I WANT TO INCREASE THE HEAP SIZE OF JVM .PLZ LET ME KNOW ASAP

  • App Store not showing app version number anymore.

    I noticed that starting from a few weeks back, Apps with new updates in the 'Updates' tab do not show the version number of the app. Now only the app size in MB and 'What's New' is shown. Anybody can shed light on this ? Thanks.

  • Spatial Patchset 1 for Win NT for 8.1.7.3 (ID:1517851 Patchset::2228622)

    I applied the patchset 2228622 and I've got the next error when I try to startup the database: ORA-00439 feature not enabled: Parallel server.

  • Is there any way to recover a damaged psd file?

    I'm sure the answer is no but I thought it was worth asking. I have Photoshop Elements 6.0. I was working on an image with 3 layers and I'd been saving very regularly, then my computer crashed. It didn't crash while I was saving but it must have stil