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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.