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
YunJ
Post Prodigy
Post Prodigy

Why sub-category show again when put something on rows?

Hi,

When I select slicer Category="Skincare", I don't want Sub-Category: Remover shown.

Capture.PNG

However, when I put "Store_eng" to rows, the Remover shows again...

Capture2.PNG

May I know where I wrote wrong?

Thanks for your solution.

1 ACCEPTED SOLUTION

Hi @YunJ 

Create a measure

Measure = IF(NOT(SELECTEDVALUE('Table 3'[category])="a"&&MAX('Table 3'[subcategory])="ab"),SUM('Table 3'[value]))

Capture16.JPG

Best Regards
Maggie
Community Support Team _ Maggie Li
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

6 REPLIES 6
amitchandak
Super User
Super User

@YunJ , why don't you put visual level filter to remove sub category remover ?

Hi @amitchandak 

Because I have Sub-Category:Remover also in other category, but I want it shown when choosing other category, only not shown when choosing category=Skincare.

 

Thanks

Hi @YunJ 

Create a measure

Measure = IF(NOT(SELECTEDVALUE('Table 3'[category])="a"&&MAX('Table 3'[subcategory])="ab"),SUM('Table 3'[value]))

Capture16.JPG

Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks a lot @v-juanli-msft 

May I know why it didn't work in my original post?

Hi @YunJ 

Are all columns in one table or in many different tables?

 

Best Regards

Maggie

hello @v-juanli-msft 

All the columns(sub-category) are in the same table. 

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.