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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.