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
avi081265
Helper III
Helper III

Drill Down - Hide rows

Hello

I have following Drill Down , in this drill drown, I want to show only row where is zero (0) count is there. I dont want do to display any row where count is > 0.. IN followin mateix table, Manual, Drawing, Electrical, Risk, Certification, Declaration and Schema are different measures.  As I mention above, I just want to display RED color cell or 0 count value rows

avi081265_0-1679418741073.png

 

Is this possible, if yes how can do it. I try to use filter on matrix table, but once I set filter as > 0 for any maeasure, it will hide everything.

 

How can I 

1 ACCEPTED SOLUTION

Hi @avi081265 

If you want to keep the rows with 0 in each measure, you can use the following method

Sample data

vxinruzhumsft_0-1679903681550.png

Measure = IF(COUNTROWS(test)>=2,1)

Measure 2 = IF(SUM(test[Column1])>50,1)

Then create a measure to judge them

Measure 4 = IF(OR([Measure],[Measure 2]),1)

Then put it to the visual filter

vxinruzhumsft_1-1679903796334.png

 

Output

vxinruzhumsft_2-1679903807125.png

 

Best Regards!

Yolo Zhu

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

4 REPLIES 4
v-xinruzhu-msft
Community Support
Community Support

Hi @avi081265 

You can create a measure and determine whether the measures in the matrix are equal to 0, if not equal to 0, return 0, otherwise return 1, and then put the measure into the visual filter, set the measure value to 1 to display.

 

Best Regards!

Yolo Zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hello Yolo, above measure already created with same formulas, like below

Manual = IF(calculate (count(Merge1[Id]),Merge1[Items.Level-2]="Manual")=0,1,0)

 

Same measure I added in Matrix like below, that is why it is showing 0 or 1  with the conditional formatting for red  color for 0 and green for 1. My ask only to show green color measures. If you pur filter for those measure wher count is 1, it will filter each measure and no measure will be display in Matrix

avi081265_0-1679672297452.png

 

Hi @avi081265 

If you want to keep the rows with 0 in each measure, you can use the following method

Sample data

vxinruzhumsft_0-1679903681550.png

Measure = IF(COUNTROWS(test)>=2,1)

Measure 2 = IF(SUM(test[Column1])>50,1)

Then create a measure to judge them

Measure 4 = IF(OR([Measure],[Measure 2]),1)

Then put it to the visual filter

vxinruzhumsft_1-1679903796334.png

 

Output

vxinruzhumsft_2-1679903807125.png

 

Best Regards!

Yolo Zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

avi081265
Helper III
Helper III

Can someone please guide on above isue or suggest any other alternate way to display same  as mentioned above.

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.