I have the following measure:
Which causes 'RefreshAll' to take over 15 minutes.
Change it to:
And it only takes 40 seconds or so.
The measure [PeriodEndDate] is defined as:
Any ideas gratefully received.
Regards
Peter
Rich (BB code):
=CALCULATE(DISTINCTCOUNT(qryVault[Doc No]), qryDDM,
qryVault[Issued Date]>0,
FILTER(qryVault,qryVault[Issued Date]<=[PeriodEndDate])
)
Which causes 'RefreshAll' to take over 15 minutes.
Change it to:
Rich (BB code):
=CALCULATE(DISTINCTCOUNT(qryVault[Doc No]), qryDDM,
qryVault[Issued Date]>0
)
And it only takes 40 seconds or so.
The measure [PeriodEndDate] is defined as:
Rich (BB code):
=CALCULATE(max(qryCalendar[Date]),ALLSELECTED(qryCalendar))
Any ideas gratefully received.
Regards
Peter