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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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