Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Spotto
Helper IV
Helper IV

Visual With resources exceeded (measures)

hello everyone, I have a panel that I made that has performance problems because it is taking too long to process the information and it is giving an error.

 

I have 3 tables where I made a primary key (CHAVE(CAK+NrJDE) in each and with summarize I created a table (CHAVE(CAK+NrJDE) with all the keys of each table because each table has different keys between them.

 

The gdp_vw_Contratos table has 250 thousand records

 

Spotto_1-1674131283465.png

 
CHAVE(CAK+NrJDE) = DISTINCT(
FILTER(
    UNION(
SUMMARIZECOLUMNS(
    'gdp vw_Contratos'[CHAVE(CAK+NrJDE)],
    'gdp vw_Contratos'[PDDMCT],    
    'gdp vw_Contratos'[NDoc_JDE]
),
SUMMARIZECOLUMNS(
    'CDP - Salesforce'[CHAVE(CAK+NrJDE)],
    'CDP - Salesforce'[CONTRATO],    
    'CDP - Salesforce'[NR DOCUMENTO JDE]    
),
SUMMARIZECOLUMNS(
   'gdp vw_Interface_Month'[CHAVE(CAK+NrJDE)],
    'gdp vw_Interface_Month'[PDDMCT],    
    'gdp vw_Interface_Month'[VOUCHER]
)
    ),
    NOT ISBLANK('gdp vw_Contratos'[CHAVE(CAK+NrJDE)])
)
)
 
---> the panel I made was this:
Spotto_3-1674131489311.png

CONTRATO = PDDMCT (table CHAVE(CAK+VOUCHER)

VOUCHER = table gdp vw_Interface_Month
TIPO = table gdp vw_Interface_Month
REGIONAL = table gdp vw_Interface_Month
GDP = measure
SALESF = measure
VALOR = table gdp vw_Interface_Month
RESPONSAVEIS = table gdp vw_Interface_Month
DT PGTO = table gdp vw_Interface_Month

 

Measure

GDP = IF(
    SELECTEDVALUE('gdp vw_Interface_Month'[CHAVE(CAK+NrJDE)]) = SELECTEDVALUE('gdp vw_Contratos'[CHAVE(CAK+NrJDE)]),
    1,0
)
 
SALESF = IF(
    SELECTEDVALUE('gdp vw_Interface_Month'[CHAVE(CAK+NrJDE)]) = SELECTEDVALUE('CDP - Salesforce'[CHAVE(CAK+NrJDE)]),1,0
)
 
Would you like some help, please, to analyze what you could do differently to improve performance?

If I take the two measures of the panel does it work so would it be possible to improve the measure?

 

 

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Spotto ,

 

1. Use filtered data, if possible.

vcgaomsft_0-1674439072449.png

Solved: Resources exceeded

Troubleshooting tile errors

 

2.  Try is not equal to the condition, and is generally faster than equal.

GDP = IF(
    SELECTEDVALUE('gdp vw_Interface_Month'[CHAVE(CAK+NrJDE)]) <> SELECTEDVALUE('gdp vw_Contratos'[CHAVE(CAK+NrJDE)]),
    0,1
)

You can use the performance analyzer to check this.

 Use Performance Analyzer to examine report element performance in Power BI Desktop

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @Spotto ,

 

1. Use filtered data, if possible.

vcgaomsft_0-1674439072449.png

Solved: Resources exceeded

Troubleshooting tile errors

 

2.  Try is not equal to the condition, and is generally faster than equal.

GDP = IF(
    SELECTEDVALUE('gdp vw_Interface_Month'[CHAVE(CAK+NrJDE)]) <> SELECTEDVALUE('gdp vw_Contratos'[CHAVE(CAK+NrJDE)]),
    0,1
)

You can use the performance analyzer to check this.

 Use Performance Analyzer to examine report element performance in Power BI Desktop

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors