MDX Combine multiple sets with different criteria

Hi everyone,
I would like to combine each data set to a report. 
here is my query.
----Total BRIEF touchpoints
with
member [Measures].[count] as
[Measures].[Ecare Touchpoints]
select {[Measures].[count]} on columns,
non empty {[Ecare Partner].[Partner Name].MEMBERS}
 ON ROWS
FROM [PdrCombined]
where ([Ecare Transaction Date].[ECare Transaction Dates].[Transaction Month].&[201405],
 [Ecare Transaction Type].[Transaction Type].&[1])
----Total # BRIEF unique touchpoints
with
member [Measures].[count] as
[Measures].[Ecare Unique Touchpoints]
select {[Measures].[count]} on columns,
non empty {[Ecare Partner].[Partner Name].MEMBERS}
 ON ROWS
FROM [PdrCombined]
where ([Ecare Transaction Date].[ECare Transaction Dates].[Transaction Month].&[201405],
 [Ecare Transaction Type].[Transaction Type].&[1])
 ---Total count of unique Prescribers by NPI
with
member [Measures].[count] as
[Measures].[Ecare Unique Touchpoints]
select {[Measures].[count]} on columns,
non empty {[Ecare Partner].[Partner Name].MEMBERS}
 ON ROWS
FROM [PdrCombined]
where ([Ecare Transaction Date].[ECare Transaction Dates].[Transaction Month].&[201405],
 [Ecare Transaction Type].[Transaction Type].&[1],
 {[Ecare Unique NPI].[NPI Status].&[Verified],[Ecare Unique NPI].[NPI Status].&[Not Verified]}
I want the result to be 3 different columns, each of them showing the result with its criteria.
Anyone can help me figure it out?
Thanks.

Hi Xiaopapa,
According to your description, you want to join the results of two MDX queries together, right? Currently, this functionality isn’t supported in Analysis Services MDX. However, there is a workaround for this requirement, for the detail information about
it, please refer to the link below to see the blog.
Joining the results of two MDX queries together
Besides, if you are using SQL Server Reporting Services, you can use Lookup function to join the column in different dataset into one table.
http://msdn.microsoft.com/en-IN/library/ee210531.aspx
Regards,
Charlie Liao
TechNet Community Support

Similar Messages

  • BO xi 3.1 u2013 schedule a template for multiple reports with different column

    Hi,
    I need to migrate the existing reports from SQL Server Reporting Services to BO, and the column order in the report is very important to the clients since clients have existing code to ingest these reports into their database. Now I want to schedule a single template with different parameters for all reports in BO, or create a single template with lot of parameters for all reports. My question is how I might use one template to create multiple reports with different column orders in the reports?
    For example, client A has the following column order in their report: firstName, LastName, DateBirth, SSN. Client B has the following column order in their report: SSN, DateBirth, LastName, FirstName. Can I use one template to create these multiple reports?
    Thanks!

    Hi,
    The only approach I can think of is to create a template report which uses variables
    For each column you would need to variable
    v_columnAName and v_columnAValue
    v_columnAName would have a if statement in it
    =if([client]="clientA" or [client]="clientC";NameOf([firstName]);if([client]="clientB";NameOf([SSN]);NameOf([lastName]));
    v_columnA would have a if statement in it
    =if([client]="clientA" or [client]="clientC";[firstName];if([client]="clientB";[SSN],[lastName]));
    This would only work when you had a small set of clients.
    This might be more managable if it was done in the universe
    Regards
    Alan

  • Single invoice for multiple orders with different divisions

    Dear All,
    while I am trying to do single invoice for muliple orders with different divisons invoice is gettting splitted..In copy control vbrk routine I  tried with 003 and 007 etc..but result is same..what configuration need to be done for getting the single invoice
    Thanks In advance
    Regards
    CNRNAIR

    Hello
    single invoice for multiple orders with "different divisions" invoice is getting split
    FYI - Different Division means different Sales Area.
    So, sales doc (whether sales order, Delivery & Billing) is applicable to EXACTLY one sales area.
    Thus, combining docs with different sales area is practically impossible.
    Provided, you are using common division.
    Hope this assist you,
    Thanks & REgards
    JP

  • Multiple profiles with different cache settings

    I want to have multiple profiles with different settings for the cache. I'll call them ProfileOne and ProfileTwo for simplicity's sake. ProfileOne I want to clear its cache on exiting Firefox and on ProfileTwo have it retain its own cache. I have already setup both profiles and configured them accordingly with ProfileOne's privacy settings for Clear History > Cache checked so it clears on exit and ProfileTwo is not set to clear anything on exiting.
    The main issue is that after doing something with ProfileTwo then switching to ProfileOne, upon exiting ProfileOne it also deletes ProfileTwo's cache. I have tried using the profile manager to create the profile in a different location than default to no avail. Is there any way to set it so ProfileOne's cache can still be cleared on exit without affecting ProfileTwo's cache?

    After checking a few different options, it looks like the add-on Better Privacy provides the options I need for LSO management and does separate HTML cookies from Flash cookies nicely and lets me save specific site's LSOs. Thanks for the assistance!

  • Radar chart with multiple KPIs with different scales in dashboard4.0

    Hi Experts,
    How to create a radar chart which is having multiple KPIs with different scales. ?
    Thanks in Advance
    Saidulu

    Hi Sai,
    Customizing the chart is not possible, example the data in you criteria is like the below.
    Take four row based chart to display the row based values, if the columns are having different values. Take column based chart if the difference in row based, hope you got it.
    Use the label in combo box and use the dynamic visiblity to call the chart from the back.
    Hope you got the idea.
    --SumanT

  • How can I edit multiple clips with different frame rates on the same timeline

    how can I edit multiple clips with different frame rates on the same timeline

    You do not want to edit material from different frame rates on one timeline. You CAN do this, but it is a very bad idea - and this is why.
    Once you establish the sequence frame rate - lets say it is PAL material at 25fps, any material that you drop into the sequence other than 25 fps will have to be changed to play at 25 fps. If the material you add is NTSC (29.97), FCP will DROP 5 frames per sec to bring the frame rate down to 25 fps. Which 5 get thrown away? Every 6th one. This yields a funky cadence that becomes even more complex as as there are also interlaced fields (DV/NTSC is an interlaced format). Oh, and by the way, the image sizes are different as well. DV/PAL has 576 lines of resolution and DV/NTSC has 480. FCP has to scale up the NTSC to fit the PAL frame.
    You do not want FCP adjusting these things on the fly. You want to do a thoughtful (and time consuming) conversion so that you end up with all your material in one format with the best possible image from the conversion process. Compressor can do an adequate job with Frame Controls turned on. The Natress Standards Conversion FCP plugin is another way to go. A third option is to find a post house that can do the conversion for you using a hardware based process.
    The good news is, once everything is in the same format, editing it will be painless and the output process very quick.
    Whatever frame rate/ image size you select, I'd suggest using ProRes for the codec. It is 4:2:2 color and will withstand color correction and composting with much more grace than any variant of DV based codecs.
    Have fun.
    x

  • Can I Turn off iMessage in a group text with multiple people with different devices? There's 1 person in the group text that doesn't use iPhone anymore and they can't see any messages that are sent unless we send as regular text individually.

    Is there a way to turn off iMessage for a group text that includes multiple people with different non-apple devices? When a message is sent, only the iPhone users can see the iMessage. Those without them cannot see the texts unless we send individual Text Messages or turn off iMessage completely.

    now I have this and it still doesn't work.
    Section "ServerLayout"
    Identifier "Simple Layout"
    Screen "Screen 1" 0 0
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Touchpad" "SendCoreEvents"
    InputDevice "Keyboard1" "CoreKeyboard"
    Option "OffTime" "1"
    EndSection
    Section "ServerFlags"
    Option "AutoAddDevices" "False"
    Option "DontZap" "false"
    EndSection

  • Multiple Orders with Different reasons on a Single day

    Hi,
    I am recently learning Device Management of IS-U Electricity. Now I have a problem with meter reading orders generated at the time of periodic meter reading with reason 01 and different system generated orders with reasons like 22, 21 , 16 and 11 which are the orders get created internally based on device replacement and modification.
    If the scheduled meter reading date lies on the day or the day before of device replacement or modification, the meter reading for the periodic order is getting prorated based on the meter reading entered at the time of replacement or modification. This is what I dont want.
    Is it possible to have multiple orders with different reasons on the same date? Any configuration changes are welcome.
    - Arghya

    Hi,
    You can acheive this using following config changes.
    SAP Utilities --> Device Managment -->Meter Reading --> Meter Reading Order -->Order Creation --> Define Automatic Interpolation for Meter Reading Reason.
    Uncheck  the 'Auto Interpolation' flag for Meter Reading reason 01.
    This will not use the Replacement or Modifiaction read.
    Let me know if anything more is reuiqred.
    Thanks and Regards,
    Ranjit Thakur.

  • Define Multiple Taxes with different Accounts

    Dear Members
    I have defined tax in Oracle R12 . and defined multiple rates. these all tax deducted in a single Tax account. but my requirement is, there should be multiple taxes with different acccounts. when I define multiple taxes the system gives error unable to Calculate the tax. when I only enable one tax it works.
    Current sanario tax rates
    2% Account # 666461
    3% Account # 666461
    3.5% Account # 666461
    Required Sanario
    2% Account # 666461
    3% Account # 666462
    3.5% Account # 666463
    Should be different
    Do you have any Idea How I configure it.

    Hmmm, thought I did that but ran into issues...Will give it a harder look.
    Thank you for your reply, tt2...BTW, I've been reading these forums for awhile now and your replies in other posts have helped me so thanks for all of them, too...

  • Printing multiple PR with different line items in smartform

    Hello all,
    I have an requirement to print multiple PR with different line items on different pages.
    So,suppose two PR are there,PR1 and PR2 with n no of line items,then i should get each PR on different page with its line items.
    Note: One loop processing is already there on line items.
    Best Regards,
    Anurodh

    Hi,
    Fetch all the PRs and its corresponding items into 2 different table. Then Loop at the internal whihc contains the PRs and  call the 2nd internal table for its items and call the FM for smartforms and pass them.
    LOOP AT it_PR.
      fetch all the items into it_PR_item
      Call Function Fnam
      Passign the it_PR_item
    ENDLOOP.
    Regards,
    Aditya

  • How to go about multiple inclination with different data selection in Delta

    We have to copy large amount of data ( more than 42lak of recodes) selectivly from on ODS to other ODS. in delata load ( BW 3.5 enverioment)
    I thought of loading data in slices through delta loading with selection condition.
    step 1> Do The initialization with selection condition as for calyear =2001 ( Init without data transfer )
    step 2> Take the delta load .. it will take all delta record with same selection
    step 3> Now I want to do Initialization with selection condition as for calyear =2002
    step 4> take the delta now it will take delta for year 2001 and 2002 both Right ?
    Here what problem I am facing.. while doing 2nd time initialization it prompt me to delete the last  initialization request form scheduler menu.
    if i delete the last request .. will it take the delta  for previous initialization selection  and new initialization selection. ?
    Please advice how to go about multiple inclination with different data selection in delta loading.
    Looking forward your reply.

    Hi,
    step 1> Do The initialization with selection condition as for calyear =2001 ( Init without data transfer )
    step 2> Take the delta load .. it will take all delta record with same selection
    step 3> Now I want to do Initialization with selection condition as for calyear =2002
    step 4> take the delta now it will take delta for year 2001 and 2002 both Right ?
    You are correct with this scenario normally. The message you mentioned normally comes up when you open a infopackage and don't change the selection first or in case you have overlapping selections with an already done init.
    regards
    Siggi

  • Running the same code multiple times with different paramters automatica​lly

    Hi guys,
    I want to run the same code multiple times with different paramters automatically. Actually, I am doing some sample scans which takes around 2 hours n then I have to be there to change the paramters and run it again. Mostly I do use folowing paramters only
    X_Intial, X_Final, X-StepSize
    Y_Intial, Y_Final, Y-StepSize
       Thanks,
    Dushyant

    All you have to di is put all of the parameters for each run into a cluster array. Surround your main program with a for loop and wire the cluster array through the for loop. A for loop will autoindex an input array so inside the for loop you just have to unbundle the cluster to get the parameters for each run.
    Message Edited by Dennis Knutson on 07-13-2006 07:50 AM
    Attachments:
    Cluster Array.JPG ‏9 KB

  • Design a single template for multiple reports with different column order

    Hi,
    I need to migrate the existing reports from SQL Server Reporting Services to Crystal Report 2008, and the column order in the report is very important to the clients since clients have existing code to ingest these reports into their database. Now I want to create a single template with lot of parameters for all reports. My question is how I might use one template to create multiple reports with different column orders in the reports?
    For example, client A has the following column order in their report: firstName, LastName, DateBirth, SSN. Client B has the following column order in their report: SSN, DateBirth, LastName, FirstName. Can I use one template to create these multiple reports?
    Thanks in advance.

    -As I mentioned you can find Template Field object in Insert menu of crystal report Designer 2008.
    As soon as you select Template Field object you will be able to see a box beside ur mouse cursor. Drag and drop this box at required place. Now when you place this object in report you will get some thing like this "<TemplateField1>" listed under Formula Fields tree. Double click "<TemplateField1>" formula to add your conditions.
    -I have not tested it for large amount of Customers. However as the number of customer increases the number of conditions will get increased.
    For the customer that want the same ordering of columns you can put those customers under one condition.
        for Example...
              if(?Client in ['clientA','clientA']) then
                        <TableName>.<Field>......
    -What do you mean be 40 columns? Do you mean 40 fields or you want to show 40 columns in report? Please elaborate.
    Regards,
    Amrita
    Edited by: Amrita Singh on May 21, 2009 7:54 AM

  • How do I send docs to multiple signators with different email addresses on Echo sign ?

    How do I send docs to multiple signators with different email addresses on Echo sign ?

    Thanks man...the problem could be on the signators side.
    Rick Schell...Realtor, ABR
    www.rick-the-realtor.com
    Cell 615-804-3085
    Crye-Leike Realtors
    Office 615-373-3513
    Fax 615-373-5228
    Quoting Echosign-Rob <[email protected]>:
    Echosign-Rob  created 
    the discussion
    "How do I send docs to multiple signators with different email 
    addresses on Echo sign ?"
    To view the discussion, visit: 
    https://forums.adobe.com/message/6395941#6395941
    >

  • Multiple circle (with different diameters) on xy graph

    Hi, I am looking for solution to the above posted problem. I've been researching and all the results yields by using "Draw Circle by radius.vi" but i would like it to be shown on a XY Graph that has multiple circles with different radius (sort of like a Bull's eye).
    I also found a alternative solution with the for loop that has "PI" multiply with the loop iteration divided by 50 and the values are passed through Sine and Cosine functions with it bundled to be displayed on XY Graph. But i have no idea how to control the radius to make it smaller or bigger. 
    Help Please
    Solved!
    Go to Solution.

    This is my progress. 
    My project is supposed to recieve coordinates data serially and plotting on a graph for a hospital test by using Gyro and Accelerometer.
    Attachments:
    progress.png ‏14 KB

Maybe you are looking for

  • New BT website = I can no longer find my mobile ac...

    Well done BT! For the 2nd month running I get the usual e-mail telling me my mobile bill is now available, only to find they've changed mybt.com and I can no longer see my mobile phone account, only my landline/broadband. I've wasted at least 10 minu

  • ITunes song downloading error - may be corrupt?

    I just recently downloaded 3 songs, 2 of them have gotten the message, this file may be corrupted try again later. I've tried downloading those songs about 5 times each, does anyone know the answer to this?

  • When will Apple support h.264 with HE-AAC v2 (in AppleTV/Ipad) ?

    Hello When will Apple support h.264 with HE-AAC v2 (in AppleTV/Ipad) ?

  • How to use caching in OSB

    Hi all, I am very new to the OSB. I have got one requirement in which I should create a cache to store the result for a certain period of time. The result would be a collection of employees which comes by invoking a webserivce service. We have a webs

  • Processing Instructions are not allowed in SOAP documents

    Hi, there. I am trying to integrate WS-Security into our server using the api-sample in JWSDP 1.6 as it is the one that fits into our current architecture in place. I have the following code: DOMSource domSource = new DOMSource( indoc ); SOAPPart soa