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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
tomprice
New Member

Sort By Column Issue

Hi,

 

Goal: I'm tryign to sort the column 'generation' by the column 'TotalSalesImpact' and I'm seeing the below error message suggesting that there's some sort of duplicate values. However, as you can see from the 'TotalSalesImpact' column there are no duplicate values.

 

I've been getting this error quite a lot in this dashboard and I'm really confused as to why I'm seeing this. Any help would be massively appreciated.

 

tomprice_0-1718177976227.png

 

1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @tomprice 
This is because of the blank value. 
Update your formula for the template : (with your parameters)

table  test = SUMMARIZE(orders,'Customers'[Country],"Total",[total_sales]+0)
it should work :
Ritaf1983_0-1718178950515.png

The pbix with the example is attached 

 

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.

 

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

3 REPLIES 3
tomprice
New Member

Thanks a lot @Ritaf1983 that did the trick!

Happy to help ☺️

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile
Ritaf1983
Super User
Super User

Hi @tomprice 
This is because of the blank value. 
Update your formula for the template : (with your parameters)

table  test = SUMMARIZE(orders,'Customers'[Country],"Total",[total_sales]+0)
it should work :
Ritaf1983_0-1718178950515.png

The pbix with the example is attached 

 

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.

 

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors