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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register 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
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

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! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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