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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
cdawidow
Helper III
Helper III

OPTIMIZE SUMX FORMULA

Hi guys,  I have the following formula :  

TOP SALES = VAR X = FILTER(VALUES(CUSTOMERS[CNAME]), SCORE TOTAL>=30) RETURN SUMX(X,[CUSTOMER AVERAGE SPEND])

 

Essentially I have calculated a score based on multiple factors ( SCORE TOTAL) and broken them down in desired groups.  

TOP : SCORE TOTAL >=30

STRONG: SCORE TOTAL >=20 <30

POOR : SCORE TOTAL <20

 

Is there any other methods out there apart from SUMX (which I am using) to ensure faster measure performance?  Currently, the formula I am using is taking a long time to run.  Any suggestions would be appreciated!

2 REPLIES 2
Anonymous
Not applicable

From your formula one does not know how things are calculated and what the model looks like. Without this information nobody can give you any better version of your measure.

amitchandak
Super User
Super User

@cdawidow , what you are doing is correct. Another way is bucketing/ binning. Little bit tricky. You need an independent table to

 

refer if a blog or video can help

Dynamic Segmentation Bucketing Binning
https://community.powerbi.com/t5/Quick-Measures-Gallery/Dynamic-Segmentation-Bucketing-Binning/m-p/1...


Dynamic Segmentation, Bucketing or Binning: https://youtu.be/CuczXPj0N-k

 

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

August Carousel

Fabric Community Update - August 2024

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