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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Brutus97
Frequent Visitor

Power BI Matrix with one measure only showing on the first field in rows and the 2nd on 2nd field

Hello,

 

I want to make a matrix that gives the availability of an item per day. Today is 12-01. It looks like this:

                                                12-01                          13-01                          14-01

Item A(1st level)                            10                               7                                  12         

(exp)

     inventory   (2nd level)               7                               0                                     0

     purch order (2nd level)              4                               3                                     8

     sales orders (2nd level)            -1                              -6                                    -3

 

I have a measure in the matrix that calculates the value for the first level.  That goes well, but I don't want it to be visible on the expand to the second level (inventory, purchase orders and sales orders). On the second level I only want to show the measure that gives the changes on that day. I have made the measures, with running total and filters, they are correct. But when I put them in the matrix, it  always shows all measures on all levels...

Does anyone have a smart solution for this?

 

Thank you in advance!

 

                               

1 ACCEPTED SOLUTION
parry2k
Super User
Super User

@Brutus97 you can take advantage of ISINSCOPE function and drive the logic for each level of the hierarchy, check few videos on my YT channel on this function

 

Let's explore the underrated ISINSCOPE DAX function - What is it? How we can use it? - YouTube

 

ISINSCOPE & ISFILTERED DAX functions give the same result-learn why use one over another- Power BI -...

 

 

Follow us on LinkedIn and YouTube.gif to our YouTube channel

I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make effort to give Kudos to whoever helped to solve your problem. It is a token of appreciation!

 

Visit us at https://perytus.com, your one-stop shop for Power BI-related projects/training/consultancy.

 

 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

View solution in original post

1 REPLY 1
parry2k
Super User
Super User

@Brutus97 you can take advantage of ISINSCOPE function and drive the logic for each level of the hierarchy, check few videos on my YT channel on this function

 

Let's explore the underrated ISINSCOPE DAX function - What is it? How we can use it? - YouTube

 

ISINSCOPE & ISFILTERED DAX functions give the same result-learn why use one over another- Power BI -...

 

 

Follow us on LinkedIn and YouTube.gif to our YouTube channel

I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make effort to give Kudos to whoever helped to solve your problem. It is a token of appreciation!

 

Visit us at https://perytus.com, your one-stop shop for Power BI-related projects/training/consultancy.

 

 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.