Forum Discussion

camarillob's avatar
camarillob
Frequent Visitor
2 years ago
Solved

Matrix View - Unpivot Table

Hi all, I have a table as shown above and I want it so that when I minimize the '+' button, it would default into showing "Score". Problem is, it's not consistent as you can see in that one val...
  • Anonymous's avatar
    Anonymous
    2 years ago

    Thanks for the reply from dk_dk , I have something to add here:
    Hi  camarillob ,

    I created some data:

     

    Here are the steps you can follow:

    Way1: In the Filters window, set Filter type - Basic filtering - check only “Score”.

    Way2: Use the measure+isinscope() function as described by superuser above:
    Create measure.

    Measure =
    IF(
        ISINSCOPE('Table'[Group1])&&MAX('Table'[Group1])="Score",MIN('Table'[Value]),
        IF(
            ISINSCOPE('Table'[Month Year])&&NOT(ISINSCOPE('Table'[Group1])),MIN('Table'[Value]),
            BLANK()
    ))

     

    If the results above don't meet your expectations, Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data. We can better understand the problem and help you.

     

    Best Regards,

    Liu Yang

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