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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
jagostinhoCT
Post Partisan
Post Partisan

Best practices: when to use a measure or a calculated column

Hello,

 

Could anyone clarify on the pros and cons on using measures and calculated columns?

 

I was having some problems on some visuals not updating accordingly and people told me that I needed to use calculated columns. But then there are things that I am having a hard time to get into calculated columns that I was getting in a simpler way using the measures.

 

(yes. I am taking the first steps with the tool)

 

Thank you very much for your help.

1 ACCEPTED SOLUTION
Seth_C_Bauer
Community Champion
Community Champion

@jagostinhoCT This blog will provide you with everything you want to know. In general, you want to use measures wherever possible as they are more performant.


Looking for more Power BI tips, tricks & tools? Check out PowerBI.tips the site I co-own with Mike Carlo. Also, if you are near SE WI? Join our PUG Milwaukee Brew City PUG

View solution in original post

2 REPLIES 2
Seth_C_Bauer
Community Champion
Community Champion

@jagostinhoCT This blog will provide you with everything you want to know. In general, you want to use measures wherever possible as they are more performant.


Looking for more Power BI tips, tricks & tools? Check out PowerBI.tips the site I co-own with Mike Carlo. Also, if you are near SE WI? Join our PUG Milwaukee Brew City PUG

@jagostinhoCT I absolutely agree with @Seth_C_Bauer

 

However in some cases you just have to create Columns

 

As you'll see in the blog referenced by Eno1978 columns are sometimes necesssary

 

Check out this post...

http://community.powerbi.com/t5/Desktop/Problem-with-DAX-formula/m-p/31261#M10738

 

Both me and the moderator @v-sihou-msft offered solutions that needed columns to work

 

However my guess is having heard Measures is better the guy didn't want to accept the solution because we had to create columns first

 

Bottomline don't get stuck only thinking Measures good - Columns bad

 

Columns are necessary in some cases as you'll see in the blog

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

November Carousel

Fabric Community Update - November 2024

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

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.