Forum Discussion
SSAS > Tabular Model > How to generate one table from another table?
- 10 years ago
Hello Daxesh,
To address your concern, basically what I can recommend is, just have 1 fact table with all the required columns & then keep adding expression columns with the required filter conditions. If the condition is true, return true/1 else false/0. Then on the visualisation front, just add page level filter using the expression column related to this view & set it to TRUE/1.
Doing this way, you have can use the same fact data filtered based on multiple conditions for the different views you want to generate. And the visualisation will consider only the rows having TURE/1 in their corresponding expression column.
Hope, this helps!
- 9 years ago
Thank you so much vinaypugalia.
It worked for me.
Actually, I need 7 to 10 filtered fact tables based on different criteria & this is very much possible that a row qualify the criteria in more than 1 table. Hence, data repeatition is what I am expecting.
My concern here is, if I go ahead & get this data from the source SQL tables into my model, everytime I process the model, it will take more time to refresh as the data being transfered from the source to the SSAS data model will increase.
Please guide if my concern is incorrect and if it's correct what could be done to handle this.
Thanks!
Hello Daxesh,
To address your concern, basically what I can recommend is, just have 1 fact table with all the required columns & then keep adding expression columns with the required filter conditions. If the condition is true, return true/1 else false/0. Then on the visualisation front, just add page level filter using the expression column related to this view & set it to TRUE/1.
Doing this way, you have can use the same fact data filtered based on multiple conditions for the different views you want to generate. And the visualisation will consider only the rows having TURE/1 in their corresponding expression column.
Hope, this helps!
- daxesh9 years agoFrequent Visitor
Thank you so much vinaypugalia.
It worked for me.