SSAS - just the last few years

  • hi

    i have cube, very nice

    just wondering how to restrict it to the last few years...i don't need to create a partition do i?

  • What do you mean restrict it? You could use security to prevent users from accessing the dimension members for older years. You could filter data out of the cube entirely by limiting the query in your dsv. What are you trying to accomplish?

  • hi

    i'm trying to filter the data source, to get rid of old years from the data source completely...

    regards

    dv

  • Just add a WHERE to your dsv and full-process the cube.

  • i think i'm missing something obvious here...how do i change the SQL of the DSV?

    ?

  • In BIDS, when you created the cube you had to create at least one dsv (data source view) that is basically a collection of queries against your data source(s) and the relationships between those queries. It will be near the top in the project explorer when you have your SSAS project open.

    In this dsv, you will find either the fact table, or a query representing your fact data. If the table itself is referenced, you can right-click on it and convert it to a query. You then just have to add a WHERE clause to limit the data returned.

  • aaaah

    i actually have three tables and i replaced one with a named query and stuck a filter onit

    thanks muchly :D:D:D

Viewing 7 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic. Login to reply