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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
MAwbre
Advocate I
Advocate I

When is it a good idea to use a custom column over a measure?

Question:

Is it better to use a custom column than a constantly performed row-wise measure?  For instance, in a particular table, I have a date column and a time column.  Throughout multiple dozens of measures, I have the date and time being added together row-wise in the measure.  In this case is it better practice to use a custom column to simplify the measure?  Is this a performance concern?  Has anyone measured the performance difference with this particular case?

 

Background:

I was reading best practices from a number of various sources (which I have unfortunately lost the references to due to receiving a new work computer).  I remember that a common theme was that using measures was a better practice than using custom columns in almost all situations.  I have adopted this methodology and I have to say that I agree to a large extent that it is generally a good practice.

 

That said, I know of 1 situation already where custom columns are better.  In terms of performance, it is occasionally better to use a custom column for extraordinarily large data sets.  Even then, custom columns are deep down in my steps of optimization, none-the-less they are there.

1 ACCEPTED SOLUTION
v-chuncz-msft
Community Support
Community Support

@MAwbre,

 

Here is a good article for your reference. By the way, calculated tables sometimes make things easy.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-chuncz-msft
Community Support
Community Support

@MAwbre,

 

Here is a good article for your reference. By the way, calculated tables sometimes make things easy.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@v-chuncz-msft

 

Thank you for the article, this is a better description of not simply which is preferred in which situation, but also why.  Applying that knowledge to my situation, I should stick with a measure performing identical calculations within the measure to save on RAM.  That said, since it is performed so frequently, I will simply need to look at the environment it is running in, and determine if the longer CPU time to perform the measure calculation repeatedly is a higher "cost" than the extra RAM by adding a column.

 

It is unfortunate that I have to sacrifice readability in favor of practicality here.  But at least now I havea  strong udnerstanding as to why.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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