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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

DAX Optimization - Summarize

Hi,

 

2 REPLIES 2
Daniel29195
Super User
Super User

@Anonymous 

 

iterating over the fact table is an expensive . 

 

im not sure about your model and what you want to get, 

but try to iterate over dimensions, 

im not sure why you need to group by the fact_sales[id] in summarize . 

 

 

hope this helps .

 

 

 

If my answer helped sort things out for you, i would appreciate a thumbs up 👍 and mark it as the solution
It makes a difference and might help someone else too. Thanks for spreading the good vibes! 🤠:

Anonymous
Not applicable

Hi Daniel,

 

thanks for reply, can you suggest an code, for instance I have tried addcolumns but it returns different values, if you can provide a code it can be great. regarding model you can think of it as 1 fact table, so logic is basic in the model.

 

Thanks in advance. 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Top Solution Authors