cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
maddy Regular Visitor
Regular Visitor

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

1 ACCEPTED SOLUTION

Accepted Solutions
d_gosbell New Contributor
New Contributor

Re: Report Storage Mode when using ADDCOLUMNS Dax?

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 4
d_gosbell New Contributor
New Contributor

Re: Report Storage Mode when using ADDCOLUMNS Dax?

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. 

maddy Regular Visitor
Regular Visitor

Re: Report Storage Mode when using ADDCOLUMNS Dax?

@d_gosbell 

 

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

Highlighted
d_gosbell New Contributor
New Contributor

Re: Report Storage Mode when using ADDCOLUMNS Dax?

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.

maddy Regular Visitor
Regular Visitor

Re: Report Storage Mode when using ADDCOLUMNS Dax?

@d_gosbell 

 

Thanks for the explanation. Yes performance has become an issue in my report. I would consider doing the calculations in the SQL query itself. 

 

Regards,

Maddy