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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
markmess77
Resolver I
Resolver I

Disable drop duplicates from table visual

I have a table visual in my report, but am experiencing an issue with "duplicate" rows. An example of my desired output of the visual would be

Company NameCountryCategory
123 CompanyUSA1
123 CompanyUSA1
123 CompanyUSA2
123 CompanyUSA3

However, the table visual automatically drops the duplicate rows so my actual output is

Company NameCountryCategory
123 CompanyUSA1
123 CompanyUSA2
123 CompanyUSA3

However, these rows are not true duplicates and should not be dropped. There is another column that differentiates the two, but cannot be displayed on the report. For example, behind the scenes the table looks like

Company NameCountryCategoryConfidential column (cannot be displayed)
123 CompanyUSA11
123 CompanyUSA12
123 CompanyUSA23
123 CompanyUSA34

This issue would easily be resolved if I could simply disable the visual from automatically dropping duplicates. However, I cannot seem to find the ability to do so. Am I missing something simple?

1 ACCEPTED SOLUTION
v-yiruan-msft
Community Support
Community Support

Hi @markmess77 ,

Base on my research, Power BI will remove the duplicate rows automatically when put fields in visual. Sorry that I didn't find other good solution to prevent dropping duplicate rows except adding another column with unique values(just like @amitchandak suggested). You can also refer the solution in the following threads and check whether they can help you achieve your requirement.

Displaying rows with a duplicate same-column value

Duplicate data in Table visualization - Displaying as is Data

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-yiruan-msft
Community Support
Community Support

Hi @markmess77 ,

Base on my research, Power BI will remove the duplicate rows automatically when put fields in visual. Sorry that I didn't find other good solution to prevent dropping duplicate rows except adding another column with unique values(just like @amitchandak suggested). You can also refer the solution in the following threads and check whether they can help you achieve your requirement.

Displaying rows with a duplicate same-column value

Duplicate data in Table visualization - Displaying as is Data

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
amitchandak
Super User
Super User

@markmess77 , power bi display distinct set when all columns are un summarized.

 

Add an index column in power query and add that to the table - https://stackoverflow.com/questions/45715963/creating-an-index-column-for-power-bi

 

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.