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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
joshua1990
Post Prodigy
Post Prodigy

Iterative function or calculated columns

Hi all!

I have a table that contains multiple million rows.

Until now I had a simple calculation of sales value * sales price as a calculated column.

Now, what is your oppinion? Makes it more sense to have it as a calulcated column or is it better for a iterator like SUMX?

 

1 REPLY 1
AnthonyGenovese
Resolver III
Resolver III

I feel like in most of the cases, I would use a measure and not a calculated column. I would only say use it as a calculated column if you are having performance issues and it is used in lots of different measures or visualiztions. Or if you needed to output 100k row paginated reports.

 

But even then, for something simple like that, I would just move the calculated column to power query or within even further upstream in the source. We love using views in our sql over our fact tables exactly for this sort of thing. 

 

If this post was helpful, please kudos or accept the answer as a solution.
~ Anthony Genovese
Need more PBI help? PM me for affordable, dedicated training or consultant recomendations!

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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

Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Top Kudoed Authors