Forum Discussion
SSAS Date type live connection
- 7 years ago
The "automatic" date hierarchy in Power BI Desktop is made up of 2 main parts.
1. Power BI builds a hidden date table with Year, Quarter, Month, Day columns and creates a hierarchy over these columns. SSAS will not automatically build this like Power BI does, but it's not hard to build this sort of table manually.
2. The second thing that Power BI does with the auto-date tables is to link them to the original date column with an internal object called a Variation (this is what lets you switch between using the Date and the Hierarchy). Unforunately there is currently no way to create Variations in SSAS. This just means that you have to manually chose to use either the Hierarchy or the Date column
So you loose a tiny bit of flexibility while building your report, but you should be able to build identical reports over SSAS or a Power BI model.
Unless your SSAS cube is very small I don't think I would recommend switching to import mode just to get access to the Variations functionality.
You need to use import mode.Reference:https://community.powerbi.com/t5/Desktop/Create-hierarchy-in-a-report-connected-to-a-SSAS-model/td-p/341958
Regards,
The "automatic" date hierarchy in Power BI Desktop is made up of 2 main parts.
1. Power BI builds a hidden date table with Year, Quarter, Month, Day columns and creates a hierarchy over these columns. SSAS will not automatically build this like Power BI does, but it's not hard to build this sort of table manually.
2. The second thing that Power BI does with the auto-date tables is to link them to the original date column with an internal object called a Variation (this is what lets you switch between using the Date and the Hierarchy). Unforunately there is currently no way to create Variations in SSAS. This just means that you have to manually chose to use either the Hierarchy or the Date column
So you loose a tiny bit of flexibility while building your report, but you should be able to build identical reports over SSAS or a Power BI model.
Unless your SSAS cube is very small I don't think I would recommend switching to import mode just to get access to the Variations functionality.