Hi, all experts here,
I encountered a problem with cube writing back which contains measures with count aggregation rather than sum which said write back can not be allowed on measure groups with other aggregations rather than sum? Is it saying we can only enable write back on cubes with measure groups all based on sum aggregations?
But in my case, the measures needed to be counted rather than sum. What can I try to enable write back on this cube?
I am looking forward to hearing from you for your advices and thank you very much in advance.
With best regards,
Yours sincerely,
I'm having trouble thinking of a situation where you would need to writeback to a count measure, but that is beside the point.
One work around might be to create a new column in your fact table for this measure and pre-populate it with a value of 1 during ETL. Then you would be able to use a sum aggregation and get the same value as you would with a count measure. It would then also be possible to write back to this measure.
|||Hi,
In my data, the facts are bit data, which only with values of 1 and 0 meaning different things respectively. Therefore I need to count these different situations happened in the fact table across different levels. There are no numeric data types at the moment which are for sum.
Thanks for your advices and I am looking forward to hearing from any of you here more ideas in this situation. Maybe you would give me some better ideas on how to deal with it.
With best regards,
Yours sincerely,
|||Helen,
Explain me better what is the goal, I didnt understood... Explain me as I a dummy!
:-)
Regards!
|||HI, PedroCGD,
The facts in the facts tables are with 0 or 1 values only. (0 and 1 therefore represent different meanings), therefore I dont see any point to sum these facts in any cube. Instead, count aggregation makes more sense which can count the numbers for the fact being 0 or 1.
Hope my explanation is clear for your help.
With best regards,
Yours sincerely,
|||It sounds like you have some flags which should modelled as separate attributes, not as measures. You would have one count measure and set either a single dimension or a combined dimension (also known as a 'junk' dimension). In this way you should be able to get the count by any combination of attributes.|||Hi, Darren,
Thanks for your kind advices.
As you kindly advised, I will then need to update the underlying relational database (as the underlying data warehouse is designed by others)?Since at the moment, the data residing in the data warehouse does not have any junk dimensions at all. All those flags attributes are residing in the fact tables.
I would need to create single dimension for each flag attribute or combine some of the flag attributes together into one single dimension? But only one count measure for all these dimension attributes?
Will it be any good to complete these in data source view of the cube? Thanks again. And hope you can give me more further advices on it.
With best regards,
Yours sincerely,
No comments:
Post a Comment