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
YaroslavSheles
New Member

how to filter array column from another array column

Hi!
How to filter column 2 from column 1? the result should be in column 3.
In each row, the length of arrays is different.

YaroslavSheles_0-1707405670542.png

 

3 REPLIES 3
Anonymous
Not applicable

Hi @YaroslavSheles

 

For your question, I modified your dax.

 

"reviews_reviews"

vnuocmsft_0-1707463665044.png

 

Create a measure.

 

Measure = 
    CALCULATE(
        MAX('reviews_reviews'[Next_Action]), 
        FILTER(
            RELATEDTABLE('reviews_reviews'), 
            'reviews_reviews'[Assigned] <> ""
        )
    )

 

 

Here is the result.

 

vnuocmsft_0-1707463829256.png

If you're still having problems, provide some dummy data and the desired outcome. It is best presented in the form of a table.

 

 

Regards,

Nono Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Hi. Good try.
Your solution work when you need exclude column with one variable.
In my case it's array column = multiple variable in one cell

YaroslavSheles_1-1707467579008.png

 

 it is not works

YaroslavSheles
New Member

I tried this

DistinctValuesArrayColumn1 =
DISTINCT(FILTER(RELATEDTABLE(reviews_reviews),
NOT(ISBLANK(reviews_reviews[Assigned]))),
reviews_reviews[Next_Action])

the issue is:


Too many arguments were passed to the DISTINCT function. The maximum argument count for the function is 1.

 

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.