MDX filter function doesn't work properly

hi, 
the filter that I'm using in my query is not working properly and i don't see what i'm missing, i tried to convert to double with CDbl function, but i got the same result. 
the query : 
SELECT NON EMPTY 
     [Measures].[Montant - Fact Ventes]
    ,[Measures].[QQT - Fact Ventes]
} ON COLUMNS,
NON EMPTY 
    ([Dim Date].[Year].&[2014],[Dim Date].[MonthOfYear].&[7],[Dim Date].[Date].[Date])
    FILTER
     [DIM FA Clients].[FaCuNumberX].members,
     CDbl([Measures].[QQT - Fact Ventes])=0
} ON ROWS
FROM [CubeAll]
the result : 
thank you!

Hi Merouane,
I think your filter is working correctly, just not the way you expect.
The filter is filtering Clients that have a non zero Ventes, THEN it is multiplying it by the dates.  So, as long as the client has some ventes, it will be included.  To only show rows with a non zero ventes try something like
SELECT NON EMPTY 
     [Measures].[Montant - Fact Ventes]
    ,[Measures].[QQT - Fact Ventes]
} ON COLUMNS,
NON EMPTY 
 FILTER(
   {[Dim Date].[Year].&[2014]}
     *{[Dim Date].[MonthOfYear].&[7]}
      *{[Dim Date].[Date].[Date]}
    * {[DIM
FA Clients].[FaCuNumberX].members},
     CDbl([Measures].[QQT - Fact Ventes])=0
 ON ROWS
FROM [CubeAll]
Richard

Similar Messages

  • Qosmio F10: TV function doesn't work properly in the MCE

    I have a Qosmio F10, the TV Function has never worked properly when trying to watch TV in the Media centre Mode, only when switched on without goint through windows.
    I have connected the aerial to a loft aerial which provides a perfect signal for other Televisions.
    When I go to settings it always comes up no signal found any ideas?

    Hi
    I presume that your unit is preinstalled with recovery media and if yes, in this case you dont need any driver. The hardware is configured properly and it must work well if the antenna is connected properly. In my opinion you should learn more about Media Center Edition and how it works. Make a try with VHS recorder. Connect it to the notebook and scan the channels. The MCE will find just one channel (in my case number 30) and you can watch VHS cassettes on your notebook.
    Please check this page http://www.microsoft.com/windowsxp/mediacenter/default.mspx
    And there you will find explanation how it works.
    Good luck!

  • Windows "Shutdown" function doesn't work properly

    My windows shutdown does not respond. I can only shut down through manually pressing the power button or through Log off-change user-windows shutdown-shutdown.
    Help pls.

    Hi
    Its not easy to say why the shutdown function doesnt work properly.
    But mostly the wrong or damage registry entries are responsible for such issues.
    You can try to use the system restore tool to roll back the OS to the early point.
    Additionally you can check the Microsoft document which describes shutdown problems in Windows XP. Its useful. Check it.
    http://support.microsoft.com/kb/308029/EN-US/

  • Wallpaper Function Doesn't Work Properly in iOS 7  on iPad

    When I select a photo for wallpaper, it zooms down to a small section of the photo and won't zoom out at all. It also won't pan up or down. Never had this problem in iOS 6. Photos were taken with iPhone.
    Opened a case with Apple support maybe 6 months ago. After spending a long time with them, I was told that the problem would be fixed on an iOS upgrade. The first couple upgrades there was no change. Now on iOS 7.1 it got much worse. Opened another case. After the superviso tried one thing, he refered me to apple.com/feedback to file a bug report. When I asked him why I had to do this after Apple had already commited to fixing the problem. He said he didn't see the problem on his iPad and seemed to say other people didn't see it. But made no effort to find out why I was having a problem, but he wasn't. Very unhappy with the situation. Anyone know about this problem and maybe have a solution?

    There is no such thing as private API's working "properly" or not. You cannot use private APIs because it is highly likely they will change. That is the reason they are private.

  • Export functionality doesn't work properly in reports post upgrade to EHP1

    Dear Experts,
    We have recently upgraded our BI system to EHP1 SP 7. Pre-upgrade the export functionality (to excel or pdf) was working fine, however post-upgrade in few reports we have encountered some issues.
    In a couple of reports the exported excel is blank, in some reports, few web items are displayed properly but others not and  in some reports exported excel or pdf is as it was pre-upgrade.
    Could you please suggest any note or any solution which could fix this issue?
    Thanks!
    Edited by: IlaSAP on Apr 14, 2011 10:01 AM

    After further analysis I find that the issue happens with only those reports in which export to excel/pdf is done using a webitem which is hidden in web template. If the web item is made visible the data is exported to the excel/pdf and if hidden again it again results in blank excel/pdf.
    Please suggest any solution to this issue.

  • HT1923 The sync function on my iPod Touch 3rd generation doesn't work properly.  My OS is up to date, but some of my podcasts won't transfer onto the iPod, and it won't delete ones I've already listened to.

    The sync function on my 3rd gen iPod Touch doesn't work properly.  It won't sync all the podcasts I've downloaded, and it won't delete ones I've listened to and deleted on iTunes.

    Close your iTunes,
    Go to command Prompt -
    (Win 7/Vista) - START/ALL PROGRAMS/ACCESSORIES, right mouse click "Command Prompt", choose "Run as Administrator".
    (Win XP SP2 & above) - START/ALL PROGRAMS/ACCESSORIES/Command Prompt
    In the "Command Prompt" screen, type in
    netsh winsock reset
    Hit "ENTER" key
    Restart your computer.
    If you do get a prompt after restart windows to remap LSP, just click NO.
    Now launch your iTunes and see if it is working now.
    If you are still having these type of problems after trying the winsock reset, refer to this article to identify which software in your system is inserting LSP:
    iTunes 10.5 for Windows: May see performance issues and blank iTunes Store
    http://support.apple.com/kb/TS4123?viewlocale=en_US

  • Copy Function is Not Working properly In Order Management

    Hi,
    Description-
    When an order with remnant model is copied, it copied only the topple model line and they include items attached to the top model line. It doesn’t copy the
    option class lines and the option item lines (unshipped and shipped).
    Example-
    Enter an order with for pd-pto-model. See order#21231.The ordered quantities and structure of the model is shown below:
    pd-pto-model 5 qty
    pd-std-item1 (included item) 5 qty
    pd-pto-oc (option class) 5 qty
    pd-std-item1 (included item with rfr checked) 5 qty
    pd-std-item2 (option item with rfr checked) 5 qty
    pd-std-item3 (option item) 5 qty
    Booked the order and pick relased the order. While shipconfirming only shipped 5 qty of pd-std-item3 and staged the rest. On querying the sales order, the line status is seen correctly as follows:
    pd-pto-model Closed
    pd-std-item1 (included item) Picked
    pd-pto-oc (option class) Closed
    pd-std-item1 (included item with rfr checked) Picked
    pd-std-item2 (option item with rfr checked) Picked
    pd-std-item3 (option item) Partially Interfaced to receivables
    Copied this order from the order header. The new order# is 21232.On querying the order, I see only 2 lines as follows:pd-pto-model.
    Anyone can help me on this issue.
    Thanks,
    Chinna

    haisrig wrote:
    Hi ,
    We are facing an issue with select() in Solaris 10. we had written a sample program to this issue.
    Program name :- sel.cpp
    int main()
    struct timeval sleeptime;
    sleeptime.tv_sec = 60;
    printf("1\n");
    select(0,NULL,NULL,NULL,&sleeptime);
    printf("2");
    return 0;
    When i run this program in Solaris 9, its printing 1 and after one minute its printing 2.
    When i run this program on Solaris 10, its printing 1 and 2 without waiting for 60 seconds.
    When i tried to print tv_usec, its printing as 0 in solaris 9 and some garbage values in solaris 10.
    I think because of that the above select function is not working properly in solaris 10.
    Why the tv_usec is not taking 0 as default values in Solaris 10?
    We are using our legacy code for past 20 years. So, before going to do any changes we are trying to find why this happenig like this.Hi
    It sounds to me that you've been lucky for 20 years then.
    Local POD variables on the stack that aren't explicitly initialized can contain any value. Here's what I see in your app with dbx
    (dbx) run
    Running: sel
    stopped in main at line 9 in file "sel.cpp"
        9      sleeptime.tv_sec = 60;
    (dbx) print sleeptime
    sleeptime = {
        tv_sec  = -4198732
        tv_usec = 0
    }That's on a Solaris 10 SPARC machine. If I try it on a Solaris 10 x86 box then I get
    (dbx) print sleeptime
    sleeptime = {
    tv_sec = -830490588
    tv_usec = 134510556
    and I see the behaviour that you describe.
    Paul

  • Flatten to sring doesn't work properly.

    Using LV8.20, found "flatten to string" function under 7.x function group. but it doesn't work properly in lv8.20. Is there a function "flatten to string" function in LV8?
    Thanks.

    Not sure where you found the 7.x functions palette. I found the function under Numeric>>Data Manipulation.
    NI changed some things about data representation and flattening in LV8, so if you want to work with old data, you should right click the function and select Convert 7.x Data.
    There is a rant here about the palette being in a problematic location, but that will go into the proper thread.
    Try to take over the world!

  • Wifi driver doesn't work properly

    HI,I've installed W8.1 instead of W7 but Wifi Dosen't work as a reight Way The Wi-Fi works for then depends on the work and then worked for againe
    this affects my Job if  i download anything,it stop loading continuesly.
    I've tried W8 and the same problem but it works  truely with w7.
    what should i do for making it works  truely with W8.1.
    Sorry length of e-mail.

    vn7571g_user,
    Sorry to hear that you are not having the best possible experience with your new notebook. I'd like to try and address a few of your concerns that you have listed and see if there are some things we can resolve for you.
    1. Wifi doesn't work properly:
    I see that you have posted in a couple other threads (1st, 2nd) regarding wireless issues with this notebook. We can gladly check this unit at the repair depot for you if you are not keen on changing the card out, PM me the following information and I will see what I can do for you:
    SNID or serial number
    Contact name
    Contact number
    Email address
    Shipping address
    Purchase date
    2. Wifi doesn't work after switching on and off 'Airplane mode'
    If you have already tried to install/update the drivers, it could be a Windows issue. You can attempt a refresh to see if that helps resolve it.
    3. Trackpad response is terrible
    This notebook uses a precision touchpad possibly, but since it uses Synaptics drivers you have a couple options:
    You can change the way that the touchpad works.
    It says Windows 7, but you can see if you have this option in the touchpad settings and see if it helps you out.
    4. Speakers jar
    Do you have the same issue without the Dolby turned on?
    5. Num-Lock is 'Off' after every sleep session
    Here is a Microsoft article that discusses this feature. You can follow the steps that they list if you would like.
    6. Keyboard-backlight setting is 'On' after every sleep session
    The backlit keyboard is working as designed. Here is an article with some FAQ about the backlit keyboard to help customers understand its functionality a bit more.
    A couple final thoughts:
    Did the issue(s) you are having occur before or after Windows updates, sometime a bad installation of an update can cause all sorts of things to happen.
    Worst case, you can always try to restore to factory defaults and test all these things before applying updates or installing any applications or programs.

  • Search in Outlook 2010 with Exchange Server 2010 doesn't work properly

    Hi all,
    I have a problem with a clients Exchange 2010. Search function in Outlook 2010 doesn't work properly, the employee can't search mails and contact - he doesn't get any result :-(
    In application syslog/protocol I get this error:
    Function  'CISearch::EcGetRowsetAndAccessor' found, content indexing for database  'Mailbox Database 0139257080' caused by MSSearch-Error '0x80041820' deactivated
    Can anybody help me with this, if its necessary I can give further information :-)
    Thomas
    Thomas Deinert

    Hi,
    What’s Exchange Version? Sometimes, after Installing Exchange 2010 SP 1, Searching via OWA or Outlook Online Mode may Fail. If so, please try the following solution:
    Download the script
    Repair-ExchangeSearchSymlinks.ps1 from the Script Center.
    Copy the Repair-ExchangeSearchSymlinks.ps1 script to the Scripts directory on the Mailbox server (default installation is C:\Program Files\Microsoft\Exchange Server\v14\Scripts).
    On the afflicted Mailbox server, open the Exchange Management Shell by right-clicking the shortcut and selecting “Run as Administrator”.
    Within the Exchange Management Shell, navigate to the Exchange Scripts directory.
    Within the Exchange Management Shell, run the following script: .\Repair-ExchangeSearchSymlinks.ps1
    Within the Exchange Management Shell, run the following script (without the symbols [] and substitute the database name(s) for any databases you wish to reset: .\ResetSearchIndex.ps1 [-force] <dbname> [<dbname>]...
    You will receive an Event ID 109 when the rebuilding of the index starts for each database and an Event ID 110 for each database when the index rebuild has completed.
    After receiving Event ID 110 for each database, test to make sure search functions correctly with both OWA and Outlook operating in Online Mode.
    Similar thread:
    https://social.technet.microsoft.com/Forums/exchange/en-US/35db030c-277f-49d6-83d6-772f839a47f8/owa-2010-sp1-search-problems?forum=exchange2010
    Best Regards.

  • Sorting albums by year doesn't work properly in new iTunes 11.

    Sorting albums by year doesn't work properly in new iTunes 11.
    See the screenshots below.
    There's a kind of albums. Double CD in one set. Queen "The Works" 1984, for example.
    First CD is the original release and the second one is bonus CD for the original album's reissue in 2011.
    iTunes 10 took year info from track 1 of CD1 for "sort album by year" function.
    But new iTunes 11 takes the highest value of year in the album's track list.
    Same things with additional bonus tracks for the album's reissues.
    See the screenshot of Madonna "Like a Virgin" 1984 album.
    So my collection is in a huge mess after last update to iTunes 11.
    It's a big problem. And must be solved to the next update.

    I noticed this too, and I think it gets even more complicated when you think about the difference between how you want Re-releases to be ordered: based upon the intial release year (like you have described above), and Compilations or Greatest Hits: where you want them to be sorted by when the albums were actually released. iTunes 11 seems to just grab the date of the most recently released song on an album. This worked fine for 2/3 of my Compilation albums, because they just happened to be released the same year as the latest song on each album.
    Compilation example (released: 2003, latest song on album: 1969):
    This is what I submitted to Apple as feedback:
    This issue is actually aimed at  iTunes 11, but 10.6.3 is the most recent version number I could select in the drop-down menu.
    As with normal albums, iTunes 11 puts a release year next to "Various Artists" in Albums > Expanded View (and also in the Songs and Genre Tabs). However, iTunes seems to produce this number by looking for the last released song on the album. This has worked fine for 2/3 of my compilations, but the third one is a 60s compilation released in 2003. It displays "1969" next to "Various Artists" and there are no tags available in Get Info to change this. This also happens to greatest hits collections.
    When selecting View > View Options > "Artist" then "Year" in Album view, and View > View Options > "Year" in Artist and Genre view, the above issue causes compilations, greatest hits collections, and re-releases (Although users may want re-releases to be listed in order of original release) to be sorted in the wrong order.
    Considering iTunes 11 has added this feature (in previous iTunes versions, "Year" would only appear next to individual tracks), it is a shame an "Album Year" or "Sort Album Year" hasn't been added to the Get Info options.
    As is, the only solution I can think of is to change all track years to the release year of the album.
    I imagine this might be a bit of an edge case, and not something the majority of iTunes users would care about, but then again, I could imagine a fair number of musicphiles wanting control over this metadata.
    Message was edited by: folo1988, info added.

  • Frontpanel of X-Fi Fatal1ty doesn't work properly

    Hi!
    My frontpanel doesn't work as it should. It doesn't has any functionality on one of the three buttons. And volumecontrol also does not work there. Neither with original drivers from creative nor with Daniel K.
    Do you have any suggestions? I am running Vista 64 SP2.

    Re: Frontpanel of X-Fi Fatalty doesn't work properly Yes this is what happens with those Front panels/ i-o bays. Sometimes when installing them, people turn the IDE cable that connects the card to the bay the opposite way that it should be. PIN on the bay should go to pin on the sound card, but people reverse that and sometimes the bay partially works. Other times, people do not plug a floppy power connector into their machine, and again, part of the bay works, and part of it doesnt. Please check these connections on both the "IDE style of cable" and your power connector doing to your I/O baby.
    Message Edited by jmacguire on 06-7-2009 02:08 PM

  • Old app doesn't work properly. update the dps version?

    one of my old single edition apps doesn’t work properly. only the vertical format is running, the horizontal format is no longer displayed. is this due to the outdated dps version of the app? can I fix this error somehow? do i have to update/increase the dps version?  i can no longer edit this app in the dps app builder. all other apps i can edit. does anyone know how i can fix that problem?

    JSCH1850 wrote:
    ...  Have you experienced problems with the sleep function not working properly?
    Can't say that I have...
    You could download and Install the Combo Update, Restart your computer, check the settings in Desktop & Screen Saver, as well as Energy Saver and see if that helps your issue...
    You can download the Combo Update here... http://support.apple.com/kb/DL1399
    Be sure to do a Restart after the Install and Yes it is fine to install over existing.
    Cheers.

  • My palm m105's touch screen doesn't work properly after a sync.

    I dug out my old m105, put new batteries in and start it. On first launch it auto runs the alignment tool, and after touching all the points it goes to the main screen and works fine. No problem till here.
    Now, I plug it into my old computer which still has the palm software with my apps, and I run the sync operation (from the palm device sync manager, cause I lost my cradle and I'm connected via the serial cable), and it syncs fine BUT, here comes the problem, when it finishes the sync (successfully) the touch screen is all misaligned. I can't go back to the home screen or do anything useful.
    My palm m105's touch screen doesn't work properly after a sync.
    I dug out my old m105, put new batteries in and start it. On first launch it auto runs the alignment tool, and after touching all the points it goes to the main screen and works fine. No problem till here.
    Now, I plug it into my old computer which still has the palm software with my apps, and I run the sync operation (from the palm device sync manager, cause I lost my cradle and I'm connected via the serial cable), and it syncs fine BUT, here comes the problem, when it finishes the sync (successfully) the touch screen is all misaligned. I can't go back to the home screen or do anything useful.
    Thanks in advance!
    Post relates to: Palm m105
    Post relates to: Palm m105

        Maldoman578,
    Let's help solve this mystery together! Is your screen freezing after every reboot? Is there any physical/liquid damage on the device? When did this issue begin? Did you notice this after a recent update or application download?
    EfrainM_VZW
    Follow us on Twitter @VZWSupport

  • The to_date function doesn't work ?

    Hello
    I don't know why my to_date function doesn't work on my pc.
    my statement is pretty complex so i just tried simple one
    select to_date('10-Jan-2006','dd-mon-yyyy') from dual;
    but even this one doesn't work it says it is invalid month
    howcome?
    is it because my Windows XP (not english version) doesn't recognise month Jan?
    i tried it another place it worked
    so is there any language pack / patch i need to install? ?
    so does OS matters?
    or how to fix this..please help me

    By default SQL Developer picks up it's language settings up from (on Windows) the Regional and Language Options. You can see what it has set by querying the NLS_SESSION_PARAMETERS view.
    Assuming you don't want to change to using DD-MM-YYYY formats for your months or change your regional settings on your PC, you need to tell SQL Developer which language you want, which you can do by adding the following lines to the file sqldeveloper\jdev\bin\sqldeveloper.conf:
    AddVMOption -Duser.language=en
    AddVMOption -Duser.country=US

Maybe you are looking for

  • WL 7 Server vs WL 7 Platform download

    We currently run WL Server 5.1, and would like to upgrade to WL Server 7. When we downloaded the product it indicated we were downloading WL 7 Server. However, it appears when we run the installation that we have actually downloaded the new 'Platform

  • What should Mac users do about the Heartbleed bug?

    I've been reading about this new Heartbleed bug where you should change all your passwords. It seems these days that quite frequently something like this appears, and the first thing they tell you is to change all your passwords. I would just like to

  • Created Role responsibility using TCA API but couldn't view it from Forms

    Hi All, Created Role responsibilities using HZ_CUST_ACCOUNT_ROLE_V2PUB.create_role_responsibility. API returned responsibility_id and I could check record in HZ_ROLE_RESPONSIBULITY table. But when I view it from Contact Roles screen, No value but If

  • Laptop powers up, immidiatel​y shuts off

    Hi I have a dv6-6165tx which has been working fine for almost 2 yrs until today. I dont use the laptop frequently. It is running on win 7 x64 it came with, and updated drivers. I tried to run my laptop after a week of gap but it did not start. When I

  • Slow Download OSX 10.9.5 and Safari 7.1

    The downloads for the latest update of OS X and Safari 7.1 are painfully slow. This never happened to me in the past. In addition I tried to update IOS8 on my IPAD 3.....4 times already, also very slow, couldn't get it thru... Any hints?