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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
naledi_h
Helper I
Helper I

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
Super User
Super User

@naledi_h  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
naledi_h
Helper I
Helper I

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
Super User
Super User

@naledi_h  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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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