cube

transpose mdx results => values are lost

假如想象 提交于 2021-02-11 14:17:40
问题 I created an MDX query with some named calculus (using 'WITH' keyword). The last part is: SELECT {[Measures].[PCT0p02],[Measures].[PCT0p2],[Measures].[PCT0p5],[Measures].[PCT0p8],[Measures].[PCT0p98]} on 0 FROM [My cube] It gives me this: I would like to transpose these results in order to feed an SSRS report. But write SELECT { } on 0, { [Measures].[PCT0p02],[Measures].[PCT0p2],[Measures].[PCT0p5],[Measures].[PCT0p8],[Measures]. [PCT0p98] } on 1 FROM [My cube] returns Please tell me how not

Calculating multiple averages across different parts of the table?

安稳与你 提交于 2021-02-11 13:12:16
问题 I have the following transactions table: customer_id purchase_date product category department quantity store_id 1 2020-10-01 Kit Kat Candy Food 2 store_A 1 2020-10-01 Snickers Candy Food 1 store_A 1 2020-10-01 Snickers Candy Food 1 store_A 2 2020-10-01 Snickers Candy Food 2 store_A 2 2020-10-01 Baguette Bread Food 5 store_A 2 2020-10-01 iPhone Cell phones Electronics 2 store_A 3 2020-10-01 Sony PS5 Games Electronics 1 store_A I would like to calculate the average number of products purchased

How to plot a vertical section of the atmosphere along with the topography using the Iris module?

爱⌒轻易说出口 提交于 2021-01-29 12:55:29
问题 I have a netcdf with wind speed at model levels. On the same netcdf I have the altitude of each model level. I converted netcdf to a cube, so the altitude of each level became an auxiliary coordinate. I would like to plot a cross section (longitude x longitude) and would like the model levels to follow the topography. I tried using the Iris module documentation example (https://scitools.org.uk/iris/docs/latest/examples/General/cross_section.html), but it's not working. As I already have the

How to Overcome MDX Query Error When It Can't Find Specific Entity

≯℡__Kan透↙ 提交于 2021-01-27 18:52:54
问题 When i run MDX query like: select {[Measures].[all_accounts]} ON COLUMNS, {{[Country].[Country].[Country].&[italy]}* {[TD].[TD].[date].&[2016-09-02T03:00:00.000]:[TD].[TD].[date].&[2016-09-02T03:08:00.000]}, {[Country].[Country].[Country].&[Germany]}* {[TD].[TD].[date].&[2016-08-16T04:00:00.000]:[TD].[TD].[date].&[2016-08-16T04:03:00.000]}} ON ROWS FROM [cube] i get an error because 'italy' is not an entity found in Country dimension. and no result is coming back. i want to be able to run the