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
Anonymous
Not applicable

How to Filter by Risky Milestone in Matrix

Hi everyone, when I try to set up the filter by "Severity", the matrix visual only shows the risky milestone in the project and filter out the other healthy milestone (green colour). What I want to do is making a filter to show all the milestone in a project whose one of the milestone is risky (red colour). May I know how to solve this issue. 

 

 

KimKL_0-1657683979853.png

1 = red (risky) ; 2 = green (healthy)

P.S. other than 1 and 2, you may just ignore the other number

 

Grateful for solution from any Power BI talent.

 

1 ACCEPTED SOLUTION
v-eqin-msft
Community Support
Community Support

Hi @Anonymous ,

 

According to your description, it seems that you want to show all Project Names which has at least one risky.

 

I have built a data sample:

Eyelyn9_0-1658114904468.png

Then create a flag measure:

Flag = 
var _t= SUMMARIZE(FILTER(ALL('Table'),[Project Name]=MAX('Table'[Project Name])),[Severity Number])
return IF(1 in _t,1,0)

And apply it to visual-level filter pane, set as "is 1". Below is the final output:

Eyelyn9_1-1658114984328.png

 

Best Regards,
Eyelyn Qin
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
v-eqin-msft
Community Support
Community Support

Hi @Anonymous ,

 

According to your description, it seems that you want to show all Project Names which has at least one risky.

 

I have built a data sample:

Eyelyn9_0-1658114904468.png

Then create a flag measure:

Flag = 
var _t= SUMMARIZE(FILTER(ALL('Table'),[Project Name]=MAX('Table'[Project Name])),[Severity Number])
return IF(1 in _t,1,0)

And apply it to visual-level filter pane, set as "is 1". Below is the final output:

Eyelyn9_1-1658114984328.png

 

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

Dhacd
Resolver III
Resolver III

@Anonymous 
Can you share a sample data set here?

Regards,
Atma.

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.