Solved

multiple criteria in cubeset function in excel 2013

Posted on 2014-09-02
2
3,005 Views
Last Modified: 2014-09-03
Hi I am looking to return a CUBEVALUE which includes filters on the same dimenstion twice.

The code I am using is as follows but keeps returning #N/A.  Can anyone help with where I have gone wrong in the code??

=CUBEVALUE("athenatest_athena2012 Voids","[Measures].[Stock]","[Void Entity].[Entity Desc].[Stock]","[Wdh Prop Type].[Head Name].[Residential]",CUBESET("athenatest_athena2012 Voids","{[WDH New Areas].[NPT Code].[South East NPT]","[WDH New Areas].[NPT Code].[Wakefield Rural (C) NPT]}"))

Many thanks in advance.
0
Comment
Question by:deborahhowson00
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 52

Accepted Solution

by:
Rgonzo1971 earned 500 total points
ID: 40300362
HI,

On the array you have the " before the { an after the }

pls try

=CUBEVALUE("athenatest_athena2012 Voids","[Measures].[Stock]","[Void Entity].[Entity Desc].[Stock]","[Wdh Prop Type].[Head Name].[Residential]",CUBESET("athenatest_athena2012 Voids",{"[WDH New Areas].[NPT Code].[South East NPT]","[WDH New Areas].[NPT Code].[Wakefield Rural (C) NPT]"}))

Regards
0
 

Author Closing Comment

by:deborahhowson00
ID: 40300586
Super thanks, oh the little things... spent hours on that :(
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question