Use clausule NOT in Bex (like in SQL)

Hi all!
I have 2 infocube, one with all the sales and other with all the customers...
I need know how many customers don't buy in a period..
how to make a qry?.  all cubes have a customer Id but, i don't know how put NOT ( in SQL i have the solution "selec  customer.custimerid where customer.Customerid not in (select sales:customerid)
could you help me please??
thanks in advance
sorry for my english!! I'm write from spain

Hi joaquin,
create a query lets say: Query1 on sales infocube
In rows:
drag the customer Id
In columns
any key figures
so: for the above query you will get the report of all the customers ids
create a query lets say: Query2 on customer infocube
In rows:
drag the customer Id and time period exclude from selection
create a characteristic value variable with replacement path based on query 1.
And then exclude the replacement path variable.
//to get the customer id which is not in sales cube thatu2019s reason we are excluding the variable.
Regards,
Ranganath

Similar Messages

  • I would like to know how i can share my music using an UPnp protocole. I have an Imac but when i'm chosing the option share my file i can connect my mac to another network reader . it seems that the protocole used is not UPnp. I need this to be in UPnp.

    I would like to know how i can share my music using an UPnp protocole. I have an Imac but when i'm chosing the option share my file i can connect my mac to another network reader . it seems that the protocole used is not UPnp. I need this to be in UPnp. does somebody can help ?

    Google "upnp mac"

  • After upgrading to ios6 my iphone will not open .xls files in emails with the default viewer. Is there a fix for this? The same emailed .xls files still open on my ipad using ios5 while viewing email like they did on my iphone prior to upgrading.

    After upgrading to ios6 my iphone will not open .xls files in emails with the default viewer. Is there a fix for this? The same emailed .xls files still open on my ipad using ios5 while viewing email like they did on my iphone prior to upgrading. I have no special software like numbers or anything else installed on either device. Just using the default viewer provided by apple for viewing email.

    The attachment is an .xls excel 97-2003 spreadsheet. I viewed the file in the email and did not edit it with any software. I can forward the file to anyone that is may want to check it out to see if they can help me. I was wondering if there was some way of forcing another ios6 install on my phone and maybe that would solve it.
    Is there anyone out there that is viewing .xls files in email using ios6 w/o any other software installed like numbers or any other add ons? I am not upgrading my ipad from ios5 to ios6 so I can still continue to view the emails on my ipad. Is there an email viewer .xls plug-in that will be availablle in the next ios6 update?

  • Recently, after cancelling the tick of a song, which is the next song after the one I am listening, in the song list, the canceled song will still run for the next song. I remember that it used not to happen like this. How can I solve this problem?

    Recently, after cancelling the tick of a song, which is the next song after the one I am listening, in the song list, the canceled song will still run for the next song. I remember that it used not to happen like this. How can I solve this problem?

    This looks like a change of behaviour in iTunes 12. Once songs are queued up to the Up Next list then they play whether ticked or not. If you want to skip certain songs already queued click the Up Next tool, then click the small X to the left of the song that appears when you hover over it.
    tt2

  • Please, I hd not paid my adobe plain, so, it´s canceled ... ok ... but just on few days I paid. My payments, today is OK, bur, all the time I opened my sotwares, I receive messages talking about I have, only, few days to use my softwares ... like "You hav

    Please, I hd not paid my adobe plain, so, it´s canceled ... ok ... but just on few days I paid. My payments, today is OK, bur, all the time I opened my sotwares, I receive messages talking about I have, only, few days to use my softwares ... like "You have 02 days to expire your Adobe CC" ... I try reload my computer  ... and many others ways to resolve this case, but I didn´t have successul ... Someone help me? Tks!

    You had purchased CC on 01/24/14 which was cancelled & then you again purchased CC 9/7/14, the error message that you are recieving is due to the cancellation as the server is trying to remind you, please log out & log back in of the CC desktop app to activate the new cc . The issue should be resolved.
    You have 20 GB of space allocated indicating you have active CC.
    Regards
    Rajshree

  • I am using lightroom 5 and would like to upgrade to lightroom 6. I am not interested in the subscription based craetive cloud model. The website keeps pushing me to the subscription based model. Can someone guide me on how to just upgrade from 5 to 6 (des

    I am using lightroom 5 and would like to upgrade to lightroom 6. I am not interested in the subscription based craetive cloud model. The website keeps pushing me to the subscription based model. Can someone guide me on how to just upgrade from 5 to 6 (desktop version and not the cloud subscription version)?

    Hello,
    there are informations about your interests here: http://prodesigntools.com/adobe-lightroom-6-cc-direct-download-links.html >>> See: Importantly, this new version continues as a downloadable desktop product and is available either with a standalone perpetual license (called Lightroom 6) or via subscription (called Lightroom CC). It’s the same exact program and free trial download below, but the name is changed to reflect the differences in licensing and bundling, as well as the addition of integrated mobile apps & services and future feature updates.
    From there you will find a download link.
    Hans-Günter

  • In develop "mode" and I can't locate my "Basic" slider that opens up my "Treatment" sliders. There's not even a drop down arrow to Minimize and open. I was working in it and the next moment it was gone. I'm in Lr 5 using a trackpad. Seems like the issue c

    In develop "mode" and I can't locate my "Basic" slider that opens up my "Treatment" sliders. There's not even a drop down arrow to Minimize and open. I was working in it and the next moment it was gone. I'm in Lr 5 using a trackpad. Seems like the issue came up while using my trackpad. Any thoughts?

    In the Develop Module, you right-click on one of the other Panel Headers (for example, Tone Curve) and then place a check next to Basic

  • I accidentally saved a URL using Chrome and I'd like to delete it from the iPad. I reset privacy settings in Chrome, but it shows up in Mail, Notes, etc. How do I get rid of this thing? Thanks.

    I accidentally saved a URL using Chrome and I'd like to delete it from the iPad. I reset privacy settings in Chrome, but it shows up in Mail, Notes, etc. How do I get rid of this thing? Thanks.

    it's only possible with pop3 type email accounts not with imap and exchange
    preference->account->click the account in question-Click advanced and set "remove copy from server after retreiving a message to what you wish it to be

  • HT4436 We changed the iCloud account on the Mac Book and now we can not use some part of iCloud like Documents, etc on the Mac book to sync to iPad.

    Hi,
    We changed the iCloud account on the Mac Book and now we can not use some part of iCloud like Documents, etc on the Mac book to sync to iPad.
    It says it is not the principal account.
    Regards,
    JG

    The iPad and the Mac need to be signed into the same account, 2 different accounts won't work

  • I have less than 100 MB left. I try using iCloud, but it seems like its not putting storage away. It says I have all 5 MB left.

    I have less than 100 MB left. I try using iCloud, but it seems like its not putting storage away. It says I have all 5 MB left. Please explain.

    5 GB*

  • Changed my ID but the Iphone 4 continue with the old ID name and does not syncronize. How can I change it in my Iphone so I can continue to use all my data stored like contacts and notes?

    Changed my ID but the Iphone 4 continue with the old ID name and does not syncronize. How can I change it in my Iphone so I can continue to use all my data stored like contacts and notes?

    Do you mean through iCloud?  You need to go to settings > iCloud and "delete account" and then sign in with the newly named account.  You'll want to do similar for facetime, messages, and store.

  • Several questions . one i will be taking lots of notes and would like to know what app is best as i will be wanting to save them to sent to others, secondly what app is it that i would use to change words to voice... i do have an iPad2 64meg and wifi and

    i have an iPad 2 and will be taking lots of notes which will have to be saved.. what is the best app i am use to microsoft word .. also i would like to know what app or how to get written to voice.. many thanks..

    I have had a great experience with UPAD.  You can take notes on PDF files as well as use your finger or a stylus to take notes on a variety of blank page backgrounds.  You can then email your notes as a PDF if you want.  I know there are other features, but those are the ones I typically use.
    What I really like is the writing interface.  You can pick line color and thickness.  Whe writing area is magnified so you can write easier and the text appears normal size on the page, though I believe you can write without the magnified area to if you want to.  You can easily move the writing area where you want it, and it is easy to keep uniform indentation for lists and columns.
    It's easy to start using in minutes.  I got my iPad last year right before a huge national conference where I wanted to take notes in a lot of educational sessions.  I also did not want to lug all the handouts with me across the country.  I found UPAD after some research and decided to give it a try.  I downloaded all the handouts right before I left.  I was able to figure out how to take notes on a PDF as well as create a new notebook for other content during the speaker introductions.  And when I got home, I sent some notes to a colleague.  All very easy.
    I'm sure the description in the app store is much more helpful, but I wanted to share some examples.

  • Use evdre to query data from a SQL View

    Hi all
    I believe that it is possible to use evdre to query data from a SQL View. If this is possible then how does one go about setting it up in the evdre options (assuming that the view has already been created)?
    Regards,
    Byron

    Byron,  perhaps this is no longer supported, it might be worth opening up a case at service.sap.com on this.  However, I did find the following on Page 11 of the "Usages and Considerations of EVDRE" pdf file.  This doc is imbedded in the helpfile for BPC 7 SP5 (which was released in August of 2009, well after note 1315011 was last updated.
    It looks like you are limited to one custom view per application, since you have to name the view in a parameter at the APPLICATION level.  Go into BPC Administration, login to the application related to the custom view, choose "Set Application Parameters" and enter the name of the view to the Application Parameter called "EVDRE_QUERYVIEWNAME"  If it is not listed, go ahead and create it at the bottom of the Application parameter screen.
    Also:  I interpreted the following info from Page 10 of the same doc:
    In your EVDRE, set the following options:
    QueryEngine: MANUAL
    QueryType:  enter either NEXJ  OR TUPLE  see below:
    NEXJ  - Use two-dimensional queries using the nonemptycrossjoin function
    TUPLE  - Use two-dimensional queries using tuples"
    And I'm assuming you'd enter a Y for the following two parameters:
    QueryViewName
    "..to enforce the query engine to use a used-defined SQL view of the fact tables, when trying to read the values using SQL queries. This option is typically used in conjunction with the SQLOnly option (see below). "
    Option SQLOnly
    "..to enforce the query engine to only execute SQL queries, when reading data. This can be achieved using this option."

  • Can we use formula column in lexical parameter in sql query ...

    hi
    can we use formula column in lexical parameter in sql query ...
    as example
    i want to give
    select * from & c_table
    forumula
    function c_table
    if :p_sort = 1 then
    return 'dept'
    else
    return 'emp'
    end;
    c_table formula column
    is this possible ...
    i have such example in oracle apps reports
    if i try in ordinary report usinf emp table it show error ..
    how we can give formula column...
    please help me in this regard...
    Edited by: 797525 on Feb 20, 2012 9:31 PM

    thanks sir,
    iam not exactly saying select * from &c_table but some thing that like columns in select stmt also will be populated in user_parameters ,there are lot of table select.......from     mtl_demand md,     mtl_system_items msi,     mtl_txn_source_types     mtst,     mtl_item_locations loc     &C_source_from &C_from_cat
    &c_source_from and &c_from_cat formula column and there are defined at report level only ......
    pl/sql code &c_source_from is
    function C_source_fromFormula return VARCHAR2 is
    begin
    if :P_source_type_id = 2 then return(',MTL_SALES_ORDERS mkts');
    else if :P_source_type_id = 3 then return(',GL_CODE_COMBINATIONS gl');
    else if :P_source_type_id = 6 then return(',MTL_GENERIC_DISPOSITIONS mdsp');
    else if :P_source_type_id = 5 then
         if :C_source_where is null then
              return NULL;
         else
              return(',WIP_ENTITIES wip');
         end if;
    else if :P_source_type_id = 8 then return(',MTL_SALES_ORDERS mkts');
    else if :P_source_type_id is null then
    return(',MTL_SALES_ORDERS      mkts,
    MTL_GENERIC_DISPOSITIONS mdsp,
    GL_CODE_COMBINATIONS gl ');
    else null;
    end if; end if; end if; end if; end if; end if;
    RETURN NULL; end;
    this is forumula column i hope that you understand what iam saying
    please help me in this regard....
    thanking you...

  • If CASE Statement can be used just nest to 'WHERE' keyword in sql?

    HI All,
    There are 2 tables,
     dbo.headcount_smart_view & dbo.headcount_user_view,they
    are not joined i.e. there is no join between these 2 tables.
     User is trying to create the access restriction on table
    dbo.headcount_smart_view as below,
    The following case clause is just next to 'WHERE' keyword :
    CASE select distinct dbo.headcount_user_view.role_cd from
    dbo.headcount_user_view where UPPER(dbo.headcount_user_view.cmt_id) = UPPER(@Variable('BOUSER'))
    WHEN 8 THEN dbo.headcount_smart_view.l3_id In (select distinct
    dbo.headcount_user_view.divid from dbo.headcount_user_view
    where UPPER(dbo.headcount_user_view.cmt_id)=UPPER(@Variable('BOUSER')))
    WHEN 9 THEN dbo.headcount_smart_view.l4_id In (select distinct
    dbo.headcount_user_view.divid from dbo.headcount_user_view
    where UPPER(dbo.headcount_user_view.cmt_id)=UPPER(@Variable('BOUSER')))
    ELSE
    dbo.headcount_smart_view.l2_id In (select distinct
    dbo.headcount_user_view.divid from dbo.headcount_user_view
    where UPPER(dbo.headcount_user_view.cmt_id)=UPPER(@Variable('BOUSER')))
    END
    The user is getting 'syntax error', it seems that the value is not getting compared with any column hence getting the error.
    can case statment  be used just next to 'WHERE' keyword in sql? 

    I don't have the entire table query...
    but could u tell me wil the sql given below work ....
    if not, why? and what can be done to make it work ?
    SELECT * FROM Customers 
    where case select  CustomerID from customers 
    when 8 then 'Spock'
    when 9 then 'Yedi'
    else 'Jedi'
    end;
    Nope
    because of wrong syntax
    What the purpose of the case when statement here? I'm not seeing a condition in WHERE. You should use it in a condition like below
    SELECT * FROM Customers
    where case CustomerID
    when 8 then 'Spock'
    when 9 then 'Yedi'
    else 'Jedi'
    end = @SomeParameter
    Please Mark This As Answer if it solved your issue
    Please Mark This As Helpful if it helps to solve your issue
    Visakh
    My MSDN Page
    My Personal Blog
    My Facebook Page

Maybe you are looking for