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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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

Top Solution Authors