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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
disipebr
Frequent Visitor

Definitive Compare Two or More Rows

Sorry for my basic question.

 

I need to identify a data in the IC column that repeated in the same column but considering another Type (Column Type).

 

Once identified this IC twice or more, I need filter only those repeated.

 

I tried many different ways to do this but unsuccess.

 

In my last try, I created 2 linked tables on Editor Query, each one with a filter By Type. I need compare my master table with each one linked table.

 

If any way to do that easier without linked tables using filters in calculated field, please tell me.

 

Can you hlep me in this issue ?

 

Image

1 ACCEPTED SOLUTION
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @disipebr,

 

You could create the measures with the formula below and use measure2 as the visual level filter.

 

Measure = CALCULATE(COUNT('table'[IC]),ALLEXCEPT('table','table'[IC]))

Measure 2 = IF([Measure]>=2,0,1)

Then you could create the table like below.

 

Capture.PNG

If you still need help, please share your desired output so that we could help further on it.

 

Best  Regards,

Cherry

Community Support Team _ Cherry Gao
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

1 REPLY 1
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @disipebr,

 

You could create the measures with the formula below and use measure2 as the visual level filter.

 

Measure = CALCULATE(COUNT('table'[IC]),ALLEXCEPT('table','table'[IC]))

Measure 2 = IF([Measure]>=2,0,1)

Then you could create the table like below.

 

Capture.PNG

If you still need help, please share your desired output so that we could help further on it.

 

Best  Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors
Top Kudoed Authors