This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hi Guys,
I have a measure and the problem is that the associated visuals render very slow. any help will be highly appreciated.
//
Measure:
VAR _TopSerials =
CALCULATETABLE (
TOPN (
10,
CALCULATETABLE (
ADDCOLUMNS (
VALUES ( 'dim_serial_number'[serial_number] ), "@Resets", [# Restarts] ),
FILTER ( 'fact_restarts', 'fact_restarts'[RecordDay] >= MAX ( 'fact_restarts'[RecordDay] )
- 6 && 'fact_restarts'[RecordDay] <= MAX ( 'fact_restarts'[RecordDay] ) ) ),
[@Resets] ),
ALL ( 'dim_signature_tag1'[Tag 1] ) )
VAR _Serials = SUMMARIZE ( _TopSerials, [serial_number] )
RETURN CALCULATE ( [# Restarts],
EXCEPT ( VALUES ( 'dim_serial_number'[serial_number] ), _Serials ) )
//
HI @Anonymous,
What type of error message the visual shows? Can you please share some more detail information about this issue? They should help us clarify your scenario and test to troubleshoot.
How to Get Your Question Answered Quickly
Regards,
Xiaoxin Sheng
@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 )
)
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....(:
@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 )
)
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
@Anonymous
Fine, Please try
=
VAR _RecordDay =
MAX ( 'fact_restarts'[RecordDay] )
VAR _TopSerials =
TOPN (
10,
CALCULATETABLE (
VALUES ( 'dim_serial_number'[serial_number] ),
ALL ( 'dim_signature_tag1'[Tag 1] ),
FILTER (
VALUES ( 'fact_restarts'[RecordDay] ),
'fact_restarts'[RecordDay] >= _RecordDay - 6
&& 'fact_restarts'[RecordDay] <= _RecordDay
)
),
[# Restarts]
)
RETURN
CALCULATE (
[# Restarts],
EXCEPT ( VALUES ( 'dim_serial_number'[serial_number] ), _TopSerials )
)
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 10 | |
| 7 | |
| 6 | |
| 6 | |
| 5 |