MDX set question

I have this MDX query, part 1 or part 2 returns exact same result. I can understand part 2, can someone explains part 1? I am overwhelmed with tuple, set etc. I don't need explanation on basic concepts,  just need a clarification on what's happening
in part 1? I mean how the () part converted to many rows(tuples) in result? Thanks.
select 
[Measures].[Till button sold value]
,[Measures].[Till button units]
,[Measures].[Till button baskets]
on columns
,non empty
{-- part 1
[Branch].[Branch].[Carlisle]
,[Till Button].[Till Button].[11]
,[Time].[Day].&[20140202]: [Time].[Day].&[20140208]
,[Products].[Product code].[Product code]
,[Sales order details].[Receipt No].[Receipt No]
-- part 2
//{[Branch].[Branch].[Carlisle]}
//*{[Till Button].[Till Button].[11]}
//*{[Time].[Day].&[20140202]: [Time].[Day].&[20140208]}
//*{[Products].[Product code].[Product code]}
//*{[Sales order details].[Receipt No].[Receipt No]}
on rows
from [Rmis]

Hi,
From my understanding part one is simply slicing those measures by that set. It should return an aggregated record for the location in the cube specified. Here is a clear example using Adventure Works cube. I want to bring back Internet Sales for
05/01/2007 where the currency is Dollar for product 346.
The query below will return one record, this record is the aggregated data for that specific location in the cube.
SELECT
{[Measures].[Internet Sales Amount]} ON COLUMNS,
NON EMPTY
([Date].[Date].&[20050701], [Product].[Product].&[346],[Destination Currency].[Destination Currency].&[US Dollar]) ON ROWS
FROM [Adventure Works]
Note it looks like your statement is bringing back the aggregated total for all receipt numbers and product codes for a specific Branch and Till Button (ID of 11) for 2/8/2014.
No part 1 returns many rows not one row. Like what i have said part 1 and part 2 returns exact same result, which is cross join of those sets (applied non empty afterwards).

Similar Messages

  • Im trying to download an app which im being asked to set up a answers to some set questions?

    Im trying to download an app which im being asked to set up 3 answers to 3'set questions?

    This will explain what Apple is doing.
    http://news.cnet.com/8301-13579_3-57413072-37/apple-ratchets-up-app-store-securi ty/

  • MDX Sets

    I have a set where there is a dimension called [check Line Details]
    I need to write the below query as MDX set where the set should return all END DATE values for which Employee ID is not equal to 0000046
     SELECT NON EMPTY {  } ON COLUMNS,
     NON EMPTY { ([ check Line Details].[End Date].[End Date].ALLMEMBERS)
     ON ROWS
     FROM ( SELECT ( -{ [check Line Details].[Employee ID].&[F] } )
     ON COLUMNS FROM [SS]   
     If i use ENDDATE in select clause i can use except clause to  filter members in ENDDATE attribute .
    I couldn't use different attribute where i select ENDDATE members based on the condition EMPLOYEEID <>  0000046 . Both ENDDATE and EMPLOYEEID is in same dimension.

    Exists( [check Line Details].[End Date].[End Date].ALLMEMBERS, -{ [check Line Details].[Employee ID].&[0000046] } )
    http://artisconsulting.com/Blogs/GregGalloway

  • TS3297 I tunes is askin me 2 security questions to purchase apps however I haven't set up any security questions before, the questions are set questions so can't answer them, how do I purchase?

    I tunes is askin me 2 security questions to purchase apps however I haven't set up any security questions before, the questions are set questions so can't answer them, how do I purchase?

    Call Apple Care for your country and the 1st tier agent should be able to assist you or transfer your call to the Account Security team.

  • Character Set questions on setup

    I am trying to determine what the best setup recommendations are for creating non_English Oracle 10g databases. I have not had much experience building databases for non_English locales, so this is getting a little overwhelming as I have been researching Oracle's Database Globalization Support Guide. Obviously it has a wealth of information and I am trying to determine what applies to us at this point and time.
    Generally when someone buys our product they create a new Oracle instance for our app. I need to be able to recommend proper database settings/parameters for potential global customers who purchase our software to run on Oracle.
    Currently my biggest question is what to recommend for the Database Characterset on db creation. Currently the DB Character Set we recommend (for standard U.S. installs on Windows) is the default WE8MSWIN1252 character set. Our application is non-unicode. It has been recommended to me from an outside consultant that we "must" use UTF-8 for DB and National Character Set settings, as opposed to WE8MSWIN1252 or WE8ISO8859P1. I should mention that our focus at this point and time is getting a solution for French, German, and Spanish. We are also more concerned about a single language setup than multilanguage - although that is a definite future consideration.
    What impact can using UTF-8 as opposed to WE8MSWIN1252 or WE8ISO8859P1 have on a non-unicode application? I hope I am explaining the situation well enough as I am fairly new and still getting to know our application. I am kind of getting thrown into the i18n fire...
    Any input is greatly appreciated. Thanks.

    Your questions are certainly valid but you have not given any details about your application: what it does, what technologies and access drivers are employed, and what client operating systems are supported. This determines how much effort is required to make the application Unicode-enabled and what are the risks coming from each of the possible approaches.
    As long as your application can work with single-byte character sets only and as long as it is not expected to contain multibyte data, and as long as it supports Windows only, the Oracle character set corresponding to relevant Windows ANSI code page is the correct choice. For English, French, German, Spanish, and other Western European languages, WE8MSWIN1252 is right one.
    Processing of WE8MSWIN1252 is easier and somehow faster than processing AL32UTF8 (i.e. UTF-8) data. One character corresponds to one byte and this simplifies some aspects of text processing.
    On the other hand, world becomes smaller and smaller in the Internet area. Companies that never did any business abroad start to talk to customers around the world because somebody found their website. Western European companies take advantage of the European Union enlargement and start making business in new countries. Therefore, it is dangerous to assume that a company currently interested in a monolingual, single-byte solution will not want to migrate to a multilingual and multibyte solution in few years.
    If you follow a few rules in database design and programming, you can run your single-byte application against an AL32UTF8 database, even if you do not get a multilingual system in this way. Such configuration has the huge advantage of avoiding the need of a complex and resource consuming task of migrating the database character set to Unicode in future, when your customer asks for multilingual support. Upgrading binaries of your application to an Unicode-enabled version is usually fast, migrating the database character set is not.
    The main rules you should follow are:
    1) Use character length semantics to define column and PL/SQL variable lengths, i.e. say VARCHAR2(10 CHAR) instead of VARCHAR2(10 [BYTE]). If you do not want to modify all creation scripts to include the CHAR keyword, issue ALTER SESSION SET NLS_LENGTH_SEMANTICS=CHAR at the beginning of each script. I recommend modifying the scripts.
    2) Do not use VARCHAR2 columns longer than 1000 characters, CHAR columns longer than 500 characters, and PL/SQL VARCHAR2/CHAR variables longer than 8190 characters. This guarantees that in the future no AL32UTF8 string will exceed the hard limit of 4000/2000/32760 bytes. Use CLOB for longer text.
    3) Use SUBSTR/LENGTH/INSTR in place of SUBSTRB/LENGTHB/INSTRB. Use SUBSTRB/LENGTHB/INSTRB only when dealing with legacy stuff or Data Dictionary that still use byte length semantics.
    4) Define the client setting - mainly NLS_LANG - to correctly correspond to the character set processed by your application.
    5) Modify interfaces to other databases, if any, to cope with the character length semantics. You do not have to do much if the other databases follow the same rules.
    The cost of running the database in Unicode is not high for most languages, though languages that do not use Latin script, such as Russian, Greek, or Japanese, need significantly more storage for the textual data (but only textual data in those languages - this is only some fraction of all data in the database). Processing is slower by a few percent as compared to single-byte character sets (unless a lot of textual processing is performed in the database, in which case the percentage may be higher - benchmark recommended). This costs can be usually compensated by adding some more computing power (GHz and disks). Unless your application needs a VLDB (very large database) and almost saturates the system, you should not notice a big difference.
    -- Sergiusz

  • InDesign CS3 basic setting question

    I just upgraded this weekend and cannot find the preference or setting that allows me to 'show all menu items' without having to click on them. Under every menu and sub-menu item there is an entry for 'show all menu items.' I'd like all the lists to be fully expanded if that is possible.
    Thanks in advance for pointing me in right direction on such a basic question.
    (Mac Pro, Leopard)

    Edit - Menus

  • Missing MDX Sets, Measures after Cube refresh

    Hello and thank you for any help on this question.  I am somewhat new to MDX, Cubes and sorts, but have found an issue that I can not find a work around.
    I have a large excel workbook that connects to a data cube.  Within this workbook, I use about 8 MDX queries to bring back date related data such as, Yesterday, MTD, Previous Month ect.  This has worked great until now.  On refresh, I am receiving
    an error stating the "Organization of the OLAP Cube has changed and as a result a pivot table will not update".  I have identified that what is happening is that all of my MDX queries are missing.  They still show in the field list in the
    rows section, but they seem to be removed from the data connection.  I can not recreate the MDX queries as it says that the name is not unique.  Any help on this error?
    EXHORTER

    Hi,
    Was there any changes on your data source side, like data structure, DB server name, etc.. Make sure your connection
    string to the right server and right cube.
    You can refer
    this thread and
    this article for some ideas. Thank you.

  • Mirrored RAID Set Questions

    I initially set up a mirrored RAID set up on my system drive as a means of backing up my files. I've since decided I'd like to use Time Machine instead. When I try and break up the RAID set using Disk Utility, a lock icon appears next to the RAID set and I'm unable to "delete" the set.  My guess is that I need to reboot off a different system, but since Lion didn't come with an install disc, and since Lion doesn't set up a Recovery HD on RAID sets, how would I go about unlinking this mirrored RAID set?
    Conversely, I inadvertantly unlinked a different RAID set and would like to reconnect them, but Disk Utility says it'll erase all the data on the drives before it establishes the connection.  Is there a way to reconnect a mirrored RAID set that has been disconnected?

    For the first question, go back to the App Store download Lion again but before it begins the install stop the process and create a flash drive installer. See How to make a bootable Lion install disc or drive .
    Remember you have to make sure the install process doesn;t proceed because once Lion is installed the installer app will be removed from your HD.
    Sorry can;t help with the second question.
    regards

  • Compression Setting Question - Full Quality

    Hi,
    I am putting together various video sources for a performance (some created in FCP others in iMovie). The show will use a PowerBook and project the movies on a big screen.
    My question is: when I put it all together, what is the best setting I can use to compress the file to be most effective for projecting the footage on an overhead? iMovie has the full quality DV setting, and FCP has the export to quicktime option ... does it make sense to leave it at what they create, or should I use compressor for more efficiency?
    Thanks,
    Damon

    It will be playing out of the DVI port, I believe, although I suppose the S-Video feed is an option.
    What is AIC ? I have not heard of this ...
    Thanks,
    Damon

  • Spry XML Data Set question

    Hello all, gotta question that I've been wresteling with for the better part of 2 days now. I'm running several filters on a very large data set. Each row in the data set is a product that has 8 or so properties. There are about 900 rows and each row has a SKU out of the 900 rows there are only about 50 unique SKUs. Right now every row is being displayed but what I want to do is only display each SKU once. I tried selecting 'remove repeating nodes" from the UI but this doesn't work because the entire nodes aren't repeating just the SKUs.
    Is this something that is easily doable?
    You can view the working application here (note: runs best in FF3, I need to trim down the DS to get it to work well in IE)
    www.bradygodwin.com/test/rnaToolNewData.html
    and the XML here
    http://www.bradygodwin.com/test/rnaindev.xml
    Thanks in advance for the help!

    Hi there
    You are indeed absolutely correct a spry region should have been shown, my appologise for that, the code is wrapped in a standard spry region.
    That being said i have used a work around in the SQL SELECT statement of the xmlExportObj, Recordset to find the information required without having to do any IF, ELSE on the page.
    Many thanks for your reply and for pointing out my mistake in how I had presented my question.
    My next question is to follow seperately
    Regards
    Ray

  • Camera Calibration default setting question

    HI I'm using a Canon 5D w/ LR3.3. I want to set the Camera Calibration (in the Develop module) to Adobe Standard and have it set that way all the time. I have looked in Preferences and cant find a way to do this?
    Thanks
    Mike

    Mike,
    Diver Mike wrote:
     One other question: When I look at the Process drop-down, (right above Profile), it now says '2003'. Before when it said, '2010 Current'. Is that just because Adobe Standard came out in 2003?
    The process version has nothing to do with the camera profile selected, Adobe Standard exists for all LR supported cameras, and has so before PV2010.
    The process version influences the way the Raw processing pipeline works (pre LR3 vs. LR3). Quote from the manual:
    Lightroom 3 uses improved processes
    to calculate Detail and Fill Light adjustments. Photos that are
    edited for the first time in Lightroom 3 use these new processes.
    Photos that were adjusted using a previous version of Lightroom
    do not.
    To take advantage of the newer processing technology,
    however, you can update photos to the current process version.
    The process version specifies which version of the Camera Raw sharpening
    and noise reduction functions are used to adjust and render photos.
    The new process version is Process 2010. The old process version
    is Process 2003.
    I guess you might have been looking at a newly imported image when you saw 2010, and are looking at an image imported before LR3 when you see 2003.
    And should I be using Adobe Standard in the first place? Is it just a personel thing?
    It is a personal preference for a starting point to work on your images. I use Adobe Standard for my 5DMkII as well, whereas I use a different one for my 1DsMkII, because I don't like the Adobe Standard there.
    Beat

  • MDX fomula question

    I have a Measures member called TOP_PERCENT which uses the following member formula:
    - *iif(isLeaf([Products].Currentmember) and contains([Products].Currentmember, TopPercent(Siblings([Products].CurrentMember), 50, [Measures].[Revenue])), 1, 0)*
    This formula checks if the currentmember of [Products] dim is part of a set of members returned by the TopPercent function. The value of TOP_PERCENT for the current Products member is set to *1* when the expression is TRUE.
    My issue is the following: I also have a [Period] dim, and when the above expression returns a TRUE, I want the value *1* to be set at the intersection of each sibling of a given [Period] member (say month). In other words, I want to add something to the formula like: *[Period].CurrentMember.Siblings = 1* . So if the current member is January, I want all the remaining months of the year to also get a *1*
    What i the correct MDX syntax (for membe formula) for achieving this?
    Thanks in advance for any help.
    Edited by: 806008 on Nov 22, 2010 2:15 PM
    Edited by: 806008 on Nov 22, 2010 2:16 PM

    Hi,
    From my understanding part one is simply slicing those measures by that set. It should return an aggregated record for the location in the cube specified. Here is a clear example using Adventure Works cube. I want to bring back Internet Sales for
    05/01/2007 where the currency is Dollar for product 346.
    The query below will return one record, this record is the aggregated data for that specific location in the cube.
    SELECT
    {[Measures].[Internet Sales Amount]} ON COLUMNS,
    NON EMPTY
    ([Date].[Date].&[20050701], [Product].[Product].&[346],[Destination Currency].[Destination Currency].&[US Dollar]) ON ROWS
    FROM [Adventure Works]
    Note it looks like your statement is bringing back the aggregated total for all receipt numbers and product codes for a specific Branch and Till Button (ID of 11) for 2/8/2014.
    No part 1 returns many rows not one row. Like what i have said part 1 and part 2 returns exact same result, which is cross join of those sets (applied non empty afterwards).

  • Color Profile Setting question

    Hi! I am new to the forum and have a strange question. I shoot with a Canon 40 in Adobe rgb color space. I import all the images into lightroom and sometimes I edit in PS (CS4). When I choose "edit in PS4" from lightroom, the color profile is Pro Photo and not adobe RGB.
    My question is: can I set up PS to automatically convert any profile to Adobe RGB? I thought I did in edit/color spaces but tried it and it's back to pro photo colorspace again.
    Help?

    Check your Color Settings in Photoshop and select "Ask when opening" in your RGB settings.  It could be that ProPhoto RGB is setup as your Photoshop RGB workspace, but I think you can change it to Adobe RGB there.  You might also be able to set it in Bridge as your default RGB colorspace.  I like the option of using "Ask when opening" in case I want to use ProPhoto on certain types of files and Adobe RGB on others.

  • BC sets - Questions & doubts

    Hi all,
    I need your help to know and implement BC sets.I knew the concept of BC sets which i got it from various searches.
    Some of my Questions are,
    1.How do i carryover all the customizing of one client to the other client ?
      -Do I should define a Single BC Set for all the customzing entries under this project.?
    2.let say,i have defined the BC sets then how do i use this BC sets to transfer the customzing from my original clienmt to the duplicate client.what is the transaction/steps to achieve this??
    is it possible to do the same thru eCATT's.
    3.Is this BC sets are stored as some files,where can i find these info. about files.
    Can i download the existing BC sets in a file format.?How?
    4.Say,i have these BC sets in the form of Xml File.Will it be possible for me to upload to other clients thru eCATT's.

    Hi Venkatesh S ,
                               I have seen the queries that you have posted and what I suggest is that you please go through the material that is available in service.sap portal............It has comprehensive material on the same which will answer all your queries........
    Regards
    Kaushik

  • AirPort Extreme automatic channel select setting question

    Hello, all -
    Just got an AirPort Express that I'm using in bridge mode through a rented Actiontec PK5000 DSL modem/router combo through Qwest. (Broadcast antenna is truned off now on the Actiontec and I'm just using it as a modem.) I have a question about the automatic channel setting on the AirPort. I assumed when you leave it on automatic, the AirPort will scan the area to find the best channel to use (1-11 on 2.4 GHz) and then switch your connection to that on the fly, checking it throughout the day. But it's defaulted to channel 1 on automatic and hasn't changed since I got it. My PK5000 used to switch channels (6 or 11) if there was a better one available. Somehow I get the feeling the AirPort isn't doing that on the fly.
    The cool thing about the Actiontec was that it defaulted to the strongest channel, and even mentioned what channel was 2nd strongest. The AirPort seems content to just stay on channel 1 all the time. Can someone tell me if this is normal on the AirPort Extreme. Thanks!

    The cool thing about the Actiontec was that it defaulted to the strongest channel, and even mentioned what channel was 2nd strongest. The AirPort seems content to just stay on channel 1 all the time. Can someone tell me if this is normal on the AirPort Extreme.
    From my experience, I have yet to verify that the AirPort's "Automatic" option periodically scans the local area, and then, resets the channel when it finds too much interference. Instead, it attempts to find a clear channel when first configured and sticks with it ... as you have already ascertained.

Maybe you are looking for

  • Connecting an hp pavilion p7-1155 to my tv

    how do I connect my p7-1155 to my hdtv? I don't see any hdmi output on my computer. I have an avr with hdmi conns and others I can use. It's a marantz 7008.My tv is panasonic top of the line plasma. I want to use the tv as a monitor so I can surf fro

  • Server Admin suddenly cannot find the host it runs on

    I am running mac osx server, snow leopard. It ran fine until just recently. Suddenly Server App is unable to find the host it runs on. I enter the hosts IP address on the local network, log in with my administrator username and password, and the syst

  • Why in jndi tree I find the remote interface to String is so strange?

              when I view the jndi tree in weblogic server 61sp1           I found such information:           Bind Name: Enterprise1           Class: class $Proxy94           to String: ClusterableRemoteRef(10.132.0.161 [10.132.0.161])/275           has

  • Confirmation in status awaiting approval

    Hi I have activated WF10400010 but our confirmations ends up in "awaiting approval". I have done a consistency check and the wf and sub-wf are fine. But when I check in SWI1 I can see that tast WS10400011 is in status ERROR. When doing a test run of

  • Safari now opens pdf in adobe after updating adobe. How to have preview open it as default again?

    I just updated to the latest version of adobe, and now safari opens all .pdf files with adobe.  I would like to make it open .pdf with preview or have the option to open with preview (the menu appears when you move the arrow down to the bottom of the