Forum Discussion
Star or Snowflake for datamodel?
Power BI utilizes the SSAS Tabular storage and formula engines. This includes very powerful compression based on the columnstore technology utilized by the storage engine.
Snowflake vs star isn't too important in terms of storage. You won't see any storage space benefits of snowflake over star like you might in a SQL database, because the column-based compression makes duplicate values in a field nearly costless in terms of storage.
Snowflake sees a slight performance hit compared to star for query run-time speed. This is because joins are expensive. Certainly, they're optimized and quite fast in the Tabular storage engine, but doing N joins will always be faster than >N joins.
Snowflake vs star can be important for user-friendliness, depending on how extreme your snowflaking is. In my experience, non-technical users find a star more approachable and easier to use.
My rule of thumb is to stick to a star schema unless I've got a good reason not to (and there are plenty of good reasons).
Direct Query against SQL sources is possible, but you cannot define measures against these sources, which limits a lot of the functionality. The DAX -> SQL translation layer is also not the most efficient, though it is currently undergoing performance enhancements, so this should improve. Using Power BI against a normalized OLTP schema seems a recipe for frustration to me, though it should still be doable.
The use case is more for going against a SQL data warehouse in a dimensional schema, to be able to meet simple reporting needs quickly.
**Edit for typoes and clarity.
- fbrossard10 years agoKudo Commander
Totally agree with greggyb
But with tabular model you can not create a relationship on a "non key" dimension attribute and using a another granularity.
And for this reason, sometimes you have to use snowflake modelisation.
Nowadays, I prefer to use snowflake in my sql dwh and flattenize dimensions by using views.
On the other hand, Direct Query would be not so bad in term of performance when combining Clustered Column Store Indexes on your SQL Datawarehouse combining "super dax" querying available in SQL Server 2016:
Just waiting for the SQL Server 2016 RTM and the capability in PBI to create calculated measures when using Direct Query mode (please vote :smileyvery-happy:) https://ideas.powerbi.com/forums/265200-power-bi/suggestions/10435572-create-dax-measures-fields-and-tables-in-direct-q
- Anonymous10 years agoNot applicable
fbrossard They released the capability to create measures on direct query in the Desktop update today. Blog
- fbrossard10 years agoKudo Commander
Anonymous I know and i've already tweet about that.
From my point of view, it's a major step forward, and we can consider Power BI as an SSAS SaaS solution :)
Just need some another features like :
- Role for security implementation or the avaibility to use windows authent and propagate the credential till our database and then using the Row Level Security
- Translation
- KPIs