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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric 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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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