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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
cathoms
Responsive Resident
Responsive Resident

Matrix Rows with duplicate values

I have data on provider office visit codes and need to show utilization rates of those codes. The dataset includes a column for provider names and a unique identifier for providers called NPI. However, there are multiple providers with the same name that are being grouped and summed together in the matrix. For example, below "Olson" is actually two providers:

cathoms_1-1621453162893.png

Now there are a couple of problems here.

  1. the two different providers with the same name are displayed in a single row by full name.
  2. these two providers' separate values are being summed together:

cathoms_2-1621453421168.png

Their actual numbers are as follows:

cathoms_3-1621454148929.png

 

So I would like to figure out

  1. how to show providers with the same name on different rows
  2. how to stop their numbvers being summed together

I assume the second problem with the summing has something to do with my data model and fields in queries:

cathoms_4-1621454373393.png

 

I would much appreciate any help and/or suggestions.

1 ACCEPTED SOLUTION
jdbuchanan71
Super User
Super User

@cathoms 

It's odd to me that the setting is not available in the default UI that I could find.  If you download Tabular Editor

https://www.sqlbi.com/tools/tabular-editor/

You can open it from your .pbix file under external tools.

jdbuchanan71_0-1621455273699.png

Once you have it open you can select your column and set the property of 'Keep Unique Rows' to true.

jdbuchanan71_1-1621455377759.png

 

You will also have to identify the column that is the unique identifier for the table.  In my example it is Product_Key:

jdbuchanan71_2-1621455821757.png

 

This will stop the visual from grouping them together.

jdbuchanan71_3-1621455934660.png

 

View solution in original post

7 REPLIES 7
jdbuchanan71
Super User
Super User

Yeah, those will almost certainly cause you problems down the road.

cathoms
Responsive Resident
Responsive Resident

This doesn't work right yet because my key column has duplicates. Turns out as an artifact of some merged or appended queries I have duplicate provider ids, but they are not duplicate rows (see image below) so I need to start another thread (see link below) to get help with that issue then circle back here.

 

Remove specific, partially duplicate rows 

cathoms_0-1621622819567.png

 

In PowerQuery you can add an index column and assign that as the key on the table.

Sure, but I still need to get rid of those duplicates I think.

jdbuchanan71
Super User
Super User

You might have to turn on the "unsupported" features.  File > Preferences:

jdbuchanan71_0-1621543250320.png

 

jdbuchanan71
Super User
Super User

@cathoms 

It's odd to me that the setting is not available in the default UI that I could find.  If you download Tabular Editor

https://www.sqlbi.com/tools/tabular-editor/

You can open it from your .pbix file under external tools.

jdbuchanan71_0-1621455273699.png

Once you have it open you can select your column and set the property of 'Keep Unique Rows' to true.

jdbuchanan71_1-1621455377759.png

 

You will also have to identify the column that is the unique identifier for the table.  In my example it is Product_Key:

jdbuchanan71_2-1621455821757.png

 

This will stop the visual from grouping them together.

jdbuchanan71_3-1621455934660.png

 

I had high hopes but I the options you mention don't appear for me...

cathoms_1-1621542465872.png

 

 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.

Top Solution Authors
Top Kudoed Authors