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
Syndicate_Admin
Administrator
Administrator

Display table with duplicates and Filters / Remove duplicates

good!!
My query is whether there is a way to remove the following duplicate from the visualization.

DUPLICADOS.PNG

DUPLICADOS 2.PNG


the empty row is not incorrect, however, when a change is made to the base, of COD2, the information in the previous row is irrelevant and only takes up space in the visualization. I can't take it out by filtering as it would delete the rest, both BRRDR and Fllpr Trl. For example, reloading BRRDR/Fllpr Trl information would empty BRRDR/QP TS.

The modeling is simple:

DUPLICADOR 3 MOD.PNG

Basically, the page filters are Advisor and Company. The table is done with Cod from the Data table.

PS: I can't upload the pbix for the data.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Syndicate_Admin 

Do you want to remove the empty row instead of takeing up space in the visualization?

In this sample, I think you may want to remove BRROR/Filpr Tril

1.png

Table visual will hide empty row by default, please check your COD and COD2 column in Table visual and turn off Show items with no data.

1.png

Or you can try to build a filter measure to show result as you want.

Filter Measure is as below. Let's get two list table _COD and _COD2 which are empty.

Then use if function to show 0 when the row is empty and show 1 when the row has value.

Measure = 
VAR _COD = CALCULATETABLE(VALUES('Table'[COD]),FILTER('Table','Table'[C]+'Table'[R]+'Table'[P]+'Table'[E] = BLANK()))
VAR _COD2 = CALCULATETABLE(VALUES('Table'[COD2]),FILTER('Table','Table'[C]+'Table'[R]+'Table'[P]+'Table'[E] = BLANK()))
Return
IF(MAX('Table'[COD]) IN _COD && MAX('Table'[COD2]) IN _COD2,0,1)

Add this measure into Filter Field in Table visual. And set it to show items when the value = 1.

3.png

 

Best Regards,

Rico Zhou

 

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

3 REPLIES 3
Anonymous
Not applicable

Hi @Syndicate_Admin 

Do you want to remove the empty row instead of takeing up space in the visualization?

In this sample, I think you may want to remove BRROR/Filpr Tril

1.png

Table visual will hide empty row by default, please check your COD and COD2 column in Table visual and turn off Show items with no data.

1.png

Or you can try to build a filter measure to show result as you want.

Filter Measure is as below. Let's get two list table _COD and _COD2 which are empty.

Then use if function to show 0 when the row is empty and show 1 when the row has value.

Measure = 
VAR _COD = CALCULATETABLE(VALUES('Table'[COD]),FILTER('Table','Table'[C]+'Table'[R]+'Table'[P]+'Table'[E] = BLANK()))
VAR _COD2 = CALCULATETABLE(VALUES('Table'[COD2]),FILTER('Table','Table'[C]+'Table'[R]+'Table'[P]+'Table'[E] = BLANK()))
Return
IF(MAX('Table'[COD]) IN _COD && MAX('Table'[COD2]) IN _COD2,0,1)

Add this measure into Filter Field in Table visual. And set it to show items when the value = 1.

3.png

 

Best Regards,

Rico Zhou

 

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

Thanks a lot!!

I was very helped by your contribution, I did not know that you could directly exclude a row in that way.

Another query, if I want to re-include it as I do without making the table again from scratch.

Best regards.

I saw it!! Excluded rows appear on the Filters tabfiltro.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