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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

DAX to Freeze the top level hierarchy values in matrix table

Hi Team,

I want to freeze the data for top level hierarchy based on slicer selection.
Please find the below screen shot for your reference.

Khajamohiddin_1-1694712921123.png

When I select Other Hrs > 0 in the slicer Subcategory values should get hide but for category values should not change it should remain same.
Expected Output

Khajamohiddin_2-1694712976747.png

Note: Above data is dummy data only for the example I have provided those screen shots
Thank in advance

 

9 REPLIES 9
Anonymous
Not applicable

Hi Team 

Any solution to above issue ? Please help me

parry2k
Super User
Super User

@Anonymous Thanks for replying back. Why it was so hard to reply to it before, I really don't understand that. You have to follow some forum etiquette. I hope others can help you with this and I'm sure you will get the solution soon. Good luck!



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.

Anonymous
Not applicable

Sorry about that. I am new here and I need solution very urgent. 

parry2k
Super User
Super User

Take a courage to answer my last reply. Seems like you are unable to provide details about your problem and expecting a solution. Good luck!



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.

Anonymous
Not applicable

when I select Other Hrs > 0 then subcategory lines should display only which are having Other Hrs>0 but that should not Impact to the Total values at category level it always display the same total even we are hiding Other Hrs > 0 lines. If you see the sample screen shot you will get what I am trying to Achieve. 
I am trying DAX like below but it's not working.
IF(ISINSCOPE(Table[Category]),CALCULATE(SUM(Total Hrs),REMOVEFILTERS(Table[Other Hrs])),SUM(Total Hrs)
Thanks in advance 

Anonymous
Not applicable

@ryan_mayu @DOLEARY85 any thougts on above issue

parry2k
Super User
Super User

@Anonymous Sorry I'm a little lost in what you are trying to achieve. Can you provide a bit more detail?



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.

parry2k
Super User
Super User

@Anonymous you have to change your measure, share what expression you have in the measures and will able to provide the solution.



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.

Anonymous
Not applicable

it's just simple measure Sum(Total Hrs), Sum(MTD Hrs) etc. I am seeking help how we can create the measure in this scenario.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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