Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Dynamic calculated table

Hi All Kindly help.We are struggling for some time. The connection used is direct query.we have build the report with a small amount of data in the backend.we have created lot of calculated tables...
  • MattAllington's avatar
    6 years ago

     What you describe in this post is not what I would recommend as an approach.   If you are building lots of calculated tables then this is unlikely to be the right approach 

     

    Direct query is designed to be used in one of two use cases. Either you have a data warehouse configured with a star schema and a very large data set (difficult for import mode), or alternatively you have something similar but with a very high velocity of data changing (frequency of refresh is an issue).  If these are not your motivations, then you may be better to use import mode. Import mode is designed to allow you to load the data from your source and make changes to the table structure at the same time. Ideally I would recommend you create a star schema by writing views/queries at your data source and then loading them into Power BI Desktop.  Alternatively you could use power query to create the star schema/table structure during data load. 

     

     That’s my five cents worth