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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
mansch
New Member

Filter similarities

Hi all

 

There is a list of 4000 dublicated ABC entries assigned to multiple owners. some have given feedback, others not. These ABC entries should get a status by the owner "open", "reviewed" or "not possible". I would like to map all "open" with "reviewed" items and would like to filter for all ABC entries which occur in both lists. Any idea how to do in DAX to display this in a table ? 

 

thanks all

1 ACCEPTED SOLUTION
Anonymous
Not applicable

HI @mansch,

You can try to use the following calculated column formula to check the different row count based on the current 'field 1'', 'field 2' group to setting record flags:

Flag =
VAR check =
    CALCULATETABLE (
        COUNTROWS ( VALUES ( T[3] ) ),
        FILTER (
            T,
            T[1] = EARLIER ( T[1] )
                && OR ( T[2] = EARLIER ( T[2] ), T[2] = "reviewed" )
        )
    )
RETURN
    IF ( check > 1, "Y", "N" )

Regards,

Xiaoxin Sheng

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

HI @mansch,

You can try to use the following calculated column formula to check the different row count based on the current 'field 1'', 'field 2' group to setting record flags:

Flag =
VAR check =
    CALCULATETABLE (
        COUNTROWS ( VALUES ( T[3] ) ),
        FILTER (
            T,
            T[1] = EARLIER ( T[1] )
                && OR ( T[2] = EARLIER ( T[2] ), T[2] = "reviewed" )
        )
    )
RETURN
    IF ( check > 1, "Y", "N" )

Regards,

Xiaoxin Sheng

mansch
New Member

1    |    2    |    3

AA | open | 

BB | open | 

CC | reviewed | 

DD | reviewed | XX

 

AA | reviewed | ZZ

BB | open

CC | open

DD | reviewed | YY

 

Each row is assigned to a different owner. [the empty row is only there for better visibility]

 

I am aiming to see 

1. "reviewed"  with a different value in "3"

  - DD has a different value

2. all "1" with different value in "3" 

  - CC and DD have different values

@mansch 

not sure why the second result is CC and DD. I think should be AA and CC

pls try this

@mansch 

not sure why the second result is CC and DD. I think should be AA and CC

Column 2 = 
VAR check=maxx(FILTER('Table','Table'[Column1]=EARLIER('Table'[Column1])&&'Table'[Column2]<>EARLIER('Table'[Column2])),'Table'[Column2])
return if(check<>"","Yes")

1.PNG





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




ryan_mayu
Super User
Super User

@mansch 

could you pls provide the sample data and expected output?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.