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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Text value is repeating

I have a table with repeating values that has worked fine so far as a slicer but has just started to show every value individually even though they are the same. 

The field that is no longer working is "Group Question Label". I am comparing it to the field "Question label (user friendly). As you can see they both repeat in the data source. 

naledi_h_0-1668631851390.png

But when shown in a table (no other fields used), Group Question Label repeats for each value when it shouldn't (and didn't previously)  

naledi_h_1-1668631934090.png


I checked to see if there were slight differences between the values, perhaps some spaces, but the filter only lists the values once, so they should be the same.

naledi_h_2-1668631997821.png


What might be happening here?

1 ACCEPTED SOLUTION
AllisonKennedy
Community Champion
Community Champion

@Anonymous  If you use 'Sort by Column' or if you mark the column as a Key in the Model view properties then it will show each duplicate value multiple times. Is there a chance that you did either of those things recently?


Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Thanks for the quick response, it was the sorting. I had created a sort field that had been affected by a recent change in Power Query so it wasn't unique anymore. The duplication resolved when I removed the sort and I got the warning about non-unique numbers when I tested adding it again. Fixing the calculation to create the sort allowed me to resolve the problem.  

AllisonKennedy
Community Champion
Community Champion

@Anonymous  If you use 'Sort by Column' or if you mark the column as a Key in the Model view properties then it will show each duplicate value multiple times. Is there a chance that you did either of those things recently?


Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.