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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
JustinDoh1
Post Prodigy
Post Prodigy

Performance issue with "summarize" and suggestion for query optimization

I am having a performance issue (slow) with my report, and I think it is maily due to using a lot of Summarize (and Sumx).

 

I researched little bit, and I found a suggestion to use "selectedcolumns" instead of "summarize".

 

Bottom is original measure which does not show any error:

JustinDoh1_0-1630450573018.png

I am trying to change to "selectedcolumns" now.

JustinDoh1_1-1630450712128.png

How do I go about fixing this error?

 

Also, is there any other place like here I could modify to make the report go little faster?

JustinDoh1_2-1630450890346.png

 

Thanks.

 

1 ACCEPTED SOLUTION
wdx223_Daniel
Super User
Super User

can this feed back the same result as yours?

=calculate(distinctcount(table1[clientid]),table1[step]=1)

View solution in original post

2 REPLIES 2
JustinDoh1
Post Prodigy
Post Prodigy

@wdx223_Daniel Thank you for your help. I am getting same results now. I need to verify closer on each row of outcome.

wdx223_Daniel
Super User
Super User

can this feed back the same result as yours?

=calculate(distinctcount(table1[clientid]),table1[step]=1)

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.