Forum Discussion
Measure optimization for fast visual rendering
Anonymous
Please try
=
VAR _TopSerials =
TOPN (
10,
SUMMARIZE (
FILTER (
CALCULATETABLE ( 'fact_restarts', ALL ( 'dim_signature_tag1'[Tag 1] ) ),
'fact_restarts'[RecordDay]
>= MAX ( 'fact_restarts'[RecordDay] ) - 6
&& 'fact_restarts'[RecordDay] <= MAX ( 'fact_restarts'[RecordDay] )
),
'dim_serial_number'[serial_number]
),
[# Restarts]
)
RETURN
CALCULATE (
[# Restarts],
EXCEPT ( VALUES ( 'dim_serial_number'[serial_number] ), _TopSerials )
)
- Anonymous3 years agoNot applicable
Many thanks but Unfortunately not! (: as it is even more slower than old one. The old one took 62290 ms and this one did not stop rendering so that i could record performance....(:
- tamerj13 years agoCommunity Champion
Anonymous
Ok, please try
= VAR _TopSerials = TOPN ( 10, CALCULATETABLE ( VALUES ( 'dim_serial_number'[serial_number] ), ALL ( 'dim_signature_tag1'[Tag 1] ), 'fact_restarts'[RecordDay] >= MAX ( 'fact_restarts'[RecordDay] ) - 6 && 'fact_restarts'[RecordDay] <= MAX ( 'fact_restarts'[RecordDay] ) ), [# Restarts] ) RETURN CALCULATE ( [# Restarts], EXCEPT ( VALUES ( 'dim_serial_number'[serial_number] ), _TopSerials ) )- Anonymous3 years agoNot applicable
So when I tried this measure, the visual says" there is not enough memory to complete this operation". So thi is also taking more time than the current one