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
camarillob
Frequent Visitor

Matrix View - Unpivot Table

camarillob_0-1721979942929.png

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 value in June 2024. Hoping someone could help me out with this. Thanks!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

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

I created some data:

vyangliumsft_0-1722244236718.png

 

Here are the steps you can follow:

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

vyangliumsft_1-1722244236721.png

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()
))

vyangliumsft_2-1722244258365.png

 

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

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

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

I created some data:

vyangliumsft_0-1722244236718.png

 

Here are the steps you can follow:

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

vyangliumsft_1-1722244236721.png

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()
))

vyangliumsft_2-1722244258365.png

 

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

dk_dk
Super User
Super User

Hi @camarillob ,

Usually you can control what shows on what level of a hierarchy (in a matrix or elsewhere) with ISINSCOPE. See this tutorial for how it works in a matrix: https://ethanguyant.com/2023/11/03/isinscope-the-key-to-dynamic-data-drilldowns/

I am not sure about what your data looks like, so I cannot advise further, but in theory it should be possible to achieve what you'd like. If you cannot get it to work please provide a sample dataset or pbix file and I can have a go at it.

Best regards,
Daniel

 




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

Proud to be a Super User!





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