SSAS CUBE-How to maintain the deleted table records in SSAS CUBE

Who is online?  0 guests and 0 members
Home  »  Forums   »  microsoft business intelligence   »  analysis services   » SSAS CUBE-How to maintain the deleted table records in SSAS CUBE

SSAS CUBE-How to maintain the deleted table records in SSAS CUBE

Topic RSS Feed

Posts under the topic: SSAS CUBE-How to maintain the deleted table records in SSAS CUBE

Posted: 2/1/2012

Jedi Youngling 14  points  Jedi Youngling
  • Joined on: 1/10/2012
  • Posts: 7

We created sample testing cube in ssas,the scenario is maintain the deleted table records in cube.

 

example:

   Table A

id        Number  Name

1         1001      A

2         1002       B

 

i processed the cube,records are available in cube,if i deleted the above table records at the time i need to maintain that records into Cube?

 

please  revert ur reply!!

 


Posted: 2/1/2012

Jedi Youngling 2  points  Jedi Youngling
  • Joined on: 9/13/2010
  • Posts: 1

Clean way to implement would be to have a new column to indicated deleted row in your table .. So instead of hard deleting you do soft delete on the records.

   Table A

id        Number  Name Is_deleted

1         1001      A       1

2         1002       B      0

 

Then you can create a dimension table (delete status ) with two records

id   Name

1   Deleted

0  Not deleted

You can then slice and dice the records and use the  delete status dimension for your queries.

 

 

 


Page 1 of 1 (2 items)