Friday, September 23, 2016

Tech Support: cubemember/cubevalue parameter values (e.g. wildcard) that will be ignored or have no effect on calculation?

cubemember/cubevalue parameter values (e.g. wildcard) that will be ignored or have no effect on calculation?

My final cell to pull a cube value is:
=CUBEVALUE("ICCC",$B$2,$D8,$C8,E$2)
There may be situations in which one of these parameters would be left blank by a user, and the intent would be to return the slice of the cube without that extra 'filter'.
D8 = CUBEMEMBER("ICCC","[SPF].[SPF].&[" & B8&"]")
but when B8 is left blank, the cubevalue returns NA/# values
So I tried:
D8 = IF(B8="","",CUBEMEMBER("ICCC","[SPF].[SPF].&[" & B8&"]"))
but it is still trying to pull in the blank value and the final cubevalue returns an error.
Is there a way to pass a blank or wildcard value to the cubevalue and allow calculation, or do I need to come up with some embedded 'IF' statements on the Cubevalue to check whether every source cell has a value before calculating the Cubevalue itself?
Thanks!
Keith

Anwsers to the Problem cubemember/cubevalue parameter values (e.g. wildcard) that will be ignored or have no effect on calculation?

Download SmartPCFixer for Free Now

That got me thinking about how to deal with the error, and was helpful in guiding my thinking.
 
I finally figured out a solution (which might be transparent to someone who uses this stuff all the time, but this is my first project using the CUBE functions).
Posting here to help others who search for answers in the future.
 
I used data validation against a named range to allow the user to select an item (list was originally pulled from the source database, and at the moment will have to be refreshed manually).
For example, the data validation might be in cell A4
I then used CUBEMEMBER formulas to pull the exact same value, but in a format the CUBEVALUE formula will find acceptable- this was in cell B4:
=CUBEMEMBER("ICER","[CurrentInvr].[PackageType].&["&A4&"]")
As per my original post, I then used CUBEVALUE against multiple criteria cells like B4.
To resolve my "wildcard" issue, I added the value ALL to the top of my named range for data validation.
Instead of leaving those cells blank, if ALL is selected, then CUBEMEMBER returns the value of ALL and that particular selection has no impact on the
overall results pulled from the other selected values.

Thanks to Pollardie and ediardp for taking the time to suggest solutions.
Keith

Boot in Safe Mode:

  • Open Run command as previously described
  • Type MSConfig
  • Click on Boot tab
  • Tick Safe boot in Boot option
  • Select Network
  • Click Apply and OK
  • Reboot your system

Your system will boot in Safe mode with Networking. You may now try and open Windows Store and should not see any errors.

Another Safe way to Repair the Problem: cubemember/cubevalue parameter values (e.g. wildcard) that will be ignored or have no effect on calculation?:

How to Fix cubemember/cubevalue parameter values (e.g. wildcard) that will be ignored or have no effect on calculation? with SmartPCFixer?

1. Download Error Fixer . Install it on your computer.  Click Scan, and it will perform a scan for your computer. The junk files will be shown in the list.

2. After the scan is finished, you can see the errors and problems need to be repaired. Click Fix All.

3. The Fixing part is finished, the speed of your computer will be much higher than before and the errors have been removed.


Related: How Can You Update & Download NVidia 6100, 6800 GS/XT Display Driver v.260.89 WHQL,Where to Download NVidia GeForce 8800 GT WHQL-certified driver v.196.21,How to Update & Download NVidia GeForce Go 7400 Display Driver v.260.19.12,[Solved] Download NVidia GeForce GTX 460M Driver v.331.82,Download NVidia Quadro Plex Model IV VGA Driver v.304.43 Certified,Way to Download RealTek RTL8100C(L) Driver v.5.01,Way to Download RealTek RTL8100E Drivers v.694,Way to Update & Download RealTek RTL8101L Auto Installation Program v.6.110 driver,Method to Update & Download RealTek RTL8111G PXE and RPL ROM code v.2.58 driver,How to Update & Download RealTek RTL8411B(N) Driver v.10.003,Best Way to Update & Download ASUS A53SV nVidia Graphics Driver v.8.17.12.6686,Method to Herunterladen ASUS K75VJ Intel Rapid Storage Technology Treiber v.11.6.0.1030,How Can You Update & Download ASUS CG8580 Intel Chipset Driver v.9.3.0.1019,Method to Update & Download ASUS K41VD Intel INF Update Driver v.9.1.1.1015,Way to Update & Download ASUS Pro70T NB Probe v.3.0.0026 driver
Read More: Creating labels in Microsoft Word Starter [Solved],How to Resolve - Copy and paste not working suddenly.?,How Can You Fix - Could not enable integration features?,Troubleshoot:cross site script error when playing facebook game,[Solution] CPU usage problems related to audiodg.exe in Win7,Closing Internet Explorer causes error,Compare 2 Tables and Calculate the PROFIT Faster,Computer goes to Windows Boot Manager after Start,Connect to one of my network computer remotely when don't allow exception box Marked,computer locking up randomly

No comments:

Post a Comment