Showing posts with label engine. Show all posts
Showing posts with label engine. Show all posts

Monday, March 12, 2012

Question on Null values displayed for measure members

Hi, all,

Why I got Null values displayed for my measure members which are originally not null in its underlying relational database engine. Their original values are 0 or 1, but then when I query the OLAP cube data, the values for these measure members are all changed to Null. That's really strange.

Could any of you here have any ideas on what is the cause of this problem?

I am looking forward to hearing from you shortly and thanks a lot in advance.

With best regards,

Yours sincerely,

Hello Helen. Open management studio and run a query like " select topcount 1000 * from MyFactTable"

You can also browse the fact table in the data source view by right clicking it.

I have never seen values of 0 or 1 being interpreted as null in AS2005 unless you have a data source that is not in SQL Server.

Are you using SQL Server as a source or another database vendor?

HTH

Thomas Ivarsson

|||

Hi, Thomas,

Thank you for your kind attention.

Yes, the data source is on SQL Server database as well. I set this aggregation function of this measure as Count which will count the numbers of being 0 or being 1. Does it have something to do with its aggregation function?

Thanks.

With best regards,

Yours sincerely,

Monday, February 20, 2012

Question on calculated members

Hi, all experts,

As we know the calculated members are only calculated at query time which means the analysis services engine wont preaggregate any thing for calculated members across different levels of dimensions? I am a bit confused then what is the point to have a calculated member in a cube especially if the cube is a large cube with over millions records of data? In this case, the query including any calculated members against the cube with millions of records will be extremly slow?

I am looking forward to hearing from you shortly for your kind advices and thanks a lot in advance.

With best regards,

Yours sincerely,

You are right that calculated members are evaluated at query time. While a cube may contain millions of records of data, a given query may be answered by using a small portion of the data. Therefore, a calculated member may be calculated pretty fast if the query space is much smaller than the entire cube.|||

Dear Helen,

You are right, but you could use named calculations in the datasourceview at the each row nivel... you dont agregations and is better for performnace.

Calculated members is important to use in the cube, aggregations nivel...

Regards!

|||

Hi, PedroCGD,

Thank you for your advices. So as you are saying, the analysis services engine will be able to locate the proportion of the cube easily whenever the MDX query is launched against the cube?

Thank you.

Best regards,

|||Avoid calculated members if you could create named calculations in datasource view. The named calculation will be a measure like other measure you select from your factTable. But of course, that if you need calculation inside aggregation, I must use calculated members...|||

Hi, PedroCGD,

Thanks a lot for your kind advices. It's been very helpfu.

With best regards,

Yours sincerely,

|||

It's a pleasure Helen.

If your answer is responded check the post as resolved, or if not tell me how can I help!

Thanks and regards!

Question on calculated members

Hi, all experts,

As we know the calculated members are only calculated at query time which means the analysis services engine wont preaggregate any thing for calculated members across different levels of dimensions? I am a bit confused then what is the point to have a calculated member in a cube especially if the cube is a large cube with over millions records of data? In this case, the query including any calculated members against the cube with millions of records will be extremly slow?

I am looking forward to hearing from you shortly for your kind advices and thanks a lot in advance.

With best regards,

Yours sincerely,

You are right that calculated members are evaluated at query time. While a cube may contain millions of records of data, a given query may be answered by using a small portion of the data. Therefore, a calculated member may be calculated pretty fast if the query space is much smaller than the entire cube.|||

Dear Helen,

You are right, but you could use named calculations in the datasourceview at the each row nivel... you dont agregations and is better for performnace.

Calculated members is important to use in the cube, aggregations nivel...

Regards!

|||

Hi, PedroCGD,

Thank you for your advices. So as you are saying, the analysis services engine will be able to locate the proportion of the cube easily whenever the MDX query is launched against the cube?

Thank you.

Best regards,

|||Avoid calculated members if you could create named calculations in datasource view. The named calculation will be a measure like other measure you select from your factTable. But of course, that if you need calculation inside aggregation, I must use calculated members...|||

Hi, PedroCGD,

Thanks a lot for your kind advices. It's been very helpfu.

With best regards,

Yours sincerely,

|||

It's a pleasure Helen.

If your answer is responded check the post as resolved, or if not tell me how can I help!

Thanks and regards!