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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Model Performance

I am working with Microsoft Dynamics 365 CE data so I will use CE as my example, but the question is general enough that it can apply broadly.  I was rebuilding an old model the other day and am more focused on performance than I was when I built that original model.  My present model will be DirectQuery.

 

I wish to present to the user the sum of the estimatedvalue field from the Opportunity entity.  I need to be able to show open, won and lost slices of that sum.  In my old model, I created three separate measures (actually many more than that because we have several custom estimatedvalue fields for types of service/product and other characteristics like MTD, YTD, etc.):

     CALCULATE ( SUM ( estimatedvalue ), Status = open ) )

     CALCULATE ( SUM ( estimatedvalue ), Status = closed, State = Won ) )

     CALCULATE ( SUM ( estimatedvalue ), Status = closed, State = Lost ) )

 

It occured to me that I could have a single measure and add the filters to the visual objects themselves - or to a whole page if it made sense.  

 

My question:  Which scenario would provide the least drag on the performance - 3 measures, or 1 measure with filters on the visuals?  Or does it make no difference?

 

1 REPLY 1
v-frfei-msft
Community Support
Community Support

Hi @Anonymous ,

 

Slicer is visualisation of a filter. So that makes no difference. In your scenario, one measure wilt filter will be better. As measure is a kind of calculation based on your selection in your filer / slicer. Measures are calculated at the time of your query, So The performance of one meaure with filter will be better here.

 

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors