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
NISHA_S
Resolver I
Resolver I

Avoiding duplicate values from table visual

I have a data like below.

h1.png

I have to create a report using table visual with avoiding duplicate row(Each state should only have unique address) .

In these i need to avoid 

1)Hp add1 tx

2)Hp add2 fl values from the data ....

County value is not considering for duplicate checking.But i will include that column values also in table...For each state wise  address should be unique.

 

Is it possible?

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

Hi @NISHA_S ,

Please try below steps

1. my test table

Table:

vbinbinyumsft_0-1661763210609.png

2. add a column

Column = [Address]&"-"&[State]

vbinbinyumsft_1-1661763377439.png

3.add a table visual and for "column" select "first"

vbinbinyumsft_3-1661763465230.png

vbinbinyumsft_2-1661763446454.png

Please refer the attached .pbix file.

Best regards,
Community Support Team_ Binbin Yu
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-binbinyu-msft
Community Support
Community Support

Hi @NISHA_S ,

Please try below steps

1. my test table

Table:

vbinbinyumsft_0-1661763210609.png

2. add a column

Column = [Address]&"-"&[State]

vbinbinyumsft_1-1661763377439.png

3.add a table visual and for "column" select "first"

vbinbinyumsft_3-1661763465230.png

vbinbinyumsft_2-1661763446454.png

Please refer the attached .pbix file.

Best regards,
Community Support Team_ Binbin Yu
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

@NISHA_S , Power bi by default group the data, if you do not use country or use min/max on the country or create a measure concatenated(table,[Country], " ,")  and use that in place of the country. Rest of thing should group by automatically

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.