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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors