Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

Report Storage Mode when using ADDCOLUMNS Dax?

Hi Geeks,

 

I have a report which has developed using direct query. I am using ADDCOLUMS function to summarize some data in the report. Once i create the table with ADDCOLUMNS Storage mode of the report changed to "Mixed". And also i see schedule refresh has been enabled in the Power BI service. Do i need to enable the schedule refresh in-order to update the data of that table created usinng ADDCOLUMNS? 

 

Regards,
Maddy

  • Yes, If you've created a calculated table using DAX you've effectively created a composite model and this new table in using  in-memory storage and will need to be refreshed on a schedule in order to pick up any new data. 

4 Replies

  • Yes, If you've created a calculated table using DAX you've effectively created a composite model and this new table in using  in-memory storage and will need to be refreshed on a schedule in order to pick up any new data. 

    • Anonymous's avatar
      Anonymous
      Not applicable

      d_gosbell 

       

      Thanks for the reply. So if i use New Table option that will turn the direct query report to composite model?

      • d_gosbell's avatar
        d_gosbell
        Icon for Super User rankSuper User

        That is correct, because the calculated table feature creates an in-memory table. If you don't want a composite model you would have to either look at trying to add a calculated column to your direct query table, those are supported now provided you only do calculations on a row by row bases (so you can't calculated ratios or rankings that require comparing data in the current row to other rows in the table). Or you could look at pushing the logic down to a SQL view, maybe trying to use an indexed view if performance becomes an issue.