Forum Discussion
DAX query optimisation
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?
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.
- Justas44782 years agoPost Prodigy
some_bih The one thing I noticed if I remove
This from the table rows:It loads data almoust instantly.
This is realationship between 'Product' table and 'Outbound Delivery' table that holds query.
Because it is using live data model I can't do any changes to set realationships.I dont know is this any helpfull.