Forum Discussion
DAX query optimisation
Hi Justas4478 try to remove "+0" and compare your performance, eventually update your "solution"
some_bih that reduced load time massively.
However it brings back probem that I had before.
Since I have this measure:
If I remove '+0' then values returned for 0 are blank and 'Days Shorted group' measure fails to capture them.
These are results that I get.
Is there any way to implement '+0' without creating massive time increase or to make 0 show up as 0 and not blank?
- some_bih2 years agoCommunity Champion
Hi Justas4478
without model and relationships, it is hard to spot issue. Still try to replace VAR _Table with below code
VAR _Table =
ADDCOLUMNS(
SUMMARIZE(
'Outbound Delivery',
'Product Category'[Level 2],
'Date'[Date])
,
"@Shorted", 'Outbound Delivery'[Shorted Qty])- Justas44782 years agoPost Prodigy
some_bih It definitelly made query much faster, but it still fails to load larger amount amount of data faster or because of this:
- some_bih2 years agoCommunity Champion
Hi Justas4478 without model and relationships, it is hard to spot issue.