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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Koritala
Helper IV
Helper IV

Conditional Column Creation

Hi,

I just want to find the best approach to the creation of a conditional column.

 

What is the best place to create a conditional column? Is it best place to create uisng conditinal column option in Query Editor (or)

using DAX expresssion creating at the front end (using New Column)? Which one is the best approach with respect to performance when we are working with large datasets.

Thanks,

Sri

1 ACCEPTED SOLUTION
wardy912
Solution Sage
Solution Sage

Hi @Koritala 

 

 With report performance in mind, the best place to add your calculated columns is at the data source before ingestion. In Fabric, this can be done in a notebook or dataflow gen 2.

 Within BI, power query is better for static calculations (eg column 1 + column 2). Power query also calculates once at load, reducing your model size. DAX is better for dynamic calculation that require relationships but increases the size of the model.

 

I hope this helps, please give a thumbs up and mark as solved if it does, thanks!

View solution in original post

5 REPLIES 5
v-sdhruv
Community Support
Community Support

Hi @Koritala ,

Since we didnt hear back, we would be closing this thread.
If you need any assistance, feel free to reach out by creating a new post.

Thank you for using Microsoft Community Forum

v-sdhruv
Community Support
Community Support

Hi @Koritala ,

Just wanted to check if you got a chance to review the  explaination provided and whether that helped you gain an understanding?

Thank You

v-sdhruv
Community Support
Community Support

Hi @Koritala ,

Just wanted to check if you got a chance to review the  explaination provided and whether that helped you gain an understanding?

Thank You

Greg_Deckler
Community Champion
Community Champion

@Koritala This is going to depend potentially. I say that because if you break query folding for your query then the query could perform much worse. So it really depends on your specific query and whether or not the addition of your column in Power Query breaks query folding.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
wardy912
Solution Sage
Solution Sage

Hi @Koritala 

 

 With report performance in mind, the best place to add your calculated columns is at the data source before ingestion. In Fabric, this can be done in a notebook or dataflow gen 2.

 Within BI, power query is better for static calculations (eg column 1 + column 2). Power query also calculates once at load, reducing your model size. DAX is better for dynamic calculation that require relationships but increases the size of the model.

 

I hope this helps, please give a thumbs up and mark as solved if it does, thanks!

Helpful resources

Announcements
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