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
Antmkjr
Helper V
Helper V

Performance of Cumulative Function

https://drive.google.com/file/d/1C4cKXalkDq95yFt5BWdVwwoxL0oAiJ8U/view?usp=sharing 

 

In the attached pbix, I am trying to calculate Cumulative Final To Collect.

AnuTomy_1-1603703118283.png

There are two issues

1) 

CALCULATE([Final To Collect]+[Total Project Collections],FILTER ( ALLSELECTED( 'Date' ), 'Date'[Date] <= MAX ( 'Date'[Date] ) ))
is giving incorrect results
2) The performance is bad if I use this for a large dataset
 
Expected result
 
Oct 2020   43.5 (=35+8.5)
Nov 2020  53.5  (= 43.5+10)
Dec 2020   63.5  (=53.5+10_
And so on...(Total project collections should be cumulated with Final To Collect)

 

 

 

2 REPLIES 2
amitchandak
Super User
Super User

@Antmkjr , Final To Collect is creating a problem. Try to avoid comparison or cumulative and normal measures. see if you can get that without cumulative 

 min(SUM('To Collect'[To Collect]), [Cumulative Net to Collect] )

 

There are quite a few cumulative  in report and then they used in another cumulative , causing the slowness

Antmkjr
Helper V
Helper V

@mahoneypat Similar issue to that of the yesterday's. But this time with another formula, could you please suggest how to improve performance

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