Quantcast
Channel: SQL Server Analysis Services forum
Viewing all articles
Browse latest Browse all 14337

How to use a bit data type field in a Dimension

$
0
0

Dear Friends,

I am having an issue during the processing of the cube.

I have a field in the dimension table, let's say 'IsReviewed' of bit type. In the tables its having values as 1,0,NULL

When I add this field in the Dimension and process the cube I am getting error-

Errors in the OLAP storage engine: A duplicate attribute key has been found when processing: Table: 'dbo_DimCustomer', Column: 'IsReviewed', Value: '0'. The attribute is 'Customer Detail-Is Reviewed'.

Also, I found that when I write select query like  Select * from DimCustomer where isReviewed = ''

It returns all the rows where isReviewed value = 0.

Can anyone explain/ solution this please.

Regards,

Avhilash


Viewing all articles
Browse latest Browse all 14337

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>