|
发表于 2014-3-15 18:18:31
|
显示全部楼层
No. Add another dimension to your cube with 2 elements; "Amount" (classfied as simple) and "Text" (classified as string data). Of course, you don't have to call your elements that but you get the idea. This gives you the ability to store numeric and/or string data for each intersection of all your other dimensions.
Technically, you could also leave the original element typed as string and store either text or numbers in it (because numbers are also characters) but your hierarchy points won't work as expected. String data can't be the summed like numeric data so in essence, your cube will become a flat hierarchy with all levels in each dimension becoming a leaf as far as data storage is concerned. Not to mention whatever issues you'll run into with reports, having to convert numeric data that was stored as a string back to a number. I do this on occasion, storing numeric data in a string element, but mostly for element attributes, not entire cubes. |
|