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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
bestevez
Helper I
Helper I

DAX 20/80

Hello,

I have a related problem when I perform a 20/80. Namely, the metrics I've created for it is as follows

 

test 2 =

var rankead = RANKX( ALLSELECTED( fac_purchases[description] ); CALCULATE( SUM( fac_purchases[total_cost] ) ) )

RETURN
CALCULATE( [total cost]; TOPN( rankead; ALLSELECTED( fac_compras[description] ); [total cost] ) )

 

test 3 = CALCULATE( [total cost]; ALLSELECTED( fac_purchases[description] ) )

 

test 4 = DIVIDE( [test 2]; [test 3] )

 

The problem lies in that if filter by product the metrica works perfectly, however, when I want to do it above all the list of articles tells me that there is not enough memory to perform the operation.

 

"The visual object exceeded the available resources. Try filtering to decrease the amount of data displayed. Try again later or contact technical support. Provide these details if you contact them."

 

Regards,

B. Estevez

1 REPLY 1
Creihar
Frequent Visitor

Someone can help me?

 

Regards

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.