cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

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

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors