Forum Discussion
Directquery is slow with measure
Hi there
I have a p&l report that uses the DirectQuery functionality. The source-table has around 20k rows with 10 columns.
The P&L table I've created has the following measure: =
4 Replies
- amitchandak
Super User
Anonymous , is it a measure or column ReportingYear[ReportingYear Value] ?
I doubt it will work directly
- AnonymousNot applicable
Measure
- v-chenwuz-msft
Community Support
Hi Anonymous ,
It's hard to see why it's slow with one formula alone. One possibility is that your server is running slowly.
You can try to copy this pbix file and change the Direct query mode to import mode in copy file. test the performance of this measure again.How to change storge mode? In Model screen, select this table and change DirectQuery to import under the advanced setting, at the bottom right corner of model screen.
Or
Use extranl tool DAX studio to test it.
Here is the guide for you to optimize your dax.
https://maqsoftware.com/insights/dax-best-practices
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- AnonymousNot applicable
Someone?