cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
QS7
Frequent Visitor

Report out of memory

Hi everyone,
I have an issue with my report, when i'm trying to load my visual i got an 'Out of memory error'. The report is in Import Mode and the issue is happening both on the portal & power bi desktop.

 

 

 

The issue is only happening when i try to laod the visual with the following measure :

 

 

Number of subs N-1 = 

VAR dateFilter = IFERROR(DATE(YEAR([MAX_SUB_DATE])-1,MONTH([MAX_SUB_DATE]), DAY([MAX_SUB_DATE])),[MAX_SUB_DATE])
VAR PreviousYear = MAX('DMT SUB_PERIOD'[SUB_YEAR])-1
RETURN

CALCULATE(
    DISTINCTCOUNT('DMT FACT_SUB'[LIC_INO]),
    FILTER(
        ALL('DMT FACT_SUB'[SUB_YEAR]), 'DMT FACT_SUB'[SUB_YEAR] = PreviousYear ),
        
        ('DMT FACT_SUB'[SUB_ANNULATION_DATE] = BLANK()||'DMT FACT_SUB'[SUB_ANNULATION_DATE] > dateFilter ) 
        &&'DMT FACT_SUB'[SUBSCRIPTION_DATE] <= dateFilter,

    FILTER(ALL('DMT SUB_PERIOD'),'DMT SUB_PERIOD'[SUB_YEAR] = MAX('DMT SUB_PERIOD'[SUB_YEAR])-1))​

 

 


I wanted to know if there is a way to load this visual without reducing the volume of data ?

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

Add filters until the visual renders, and then look in Performance analyzer and DAX Studio for the culprit.  Double check your data model too to make sure you grab the right columns.

 

Once the visual has rendered, remove the filters again one by one until it breaks again. Keep checking in Performance analyzer and DAX Studio.

View solution in original post

1 REPLY 1
lbendlin
Super User
Super User

Add filters until the visual renders, and then look in Performance analyzer and DAX Studio for the culprit.  Double check your data model too to make sure you grab the right columns.

 

Once the visual has rendered, remove the filters again one by one until it breaks again. Keep checking in Performance analyzer and DAX Studio.

Helpful resources

Announcements
September Update

Check it Out!

Click here to learn more about the September 2022 updates!

Power BI Show episode 9

The Power BI Community Show

Watch the playback when Priya Sathy and Charles Webb discuss Datamarts! Kelly also shares Power BI Community updates.

Power BI Dev Camp Session 25

Ted's Dev Camp - August 25, 2022

Watch Session 25 of Ted's Dev Camp.

Top Solution Authors