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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
skills29
Frequent Visitor

filtered and not filtered values in the same table when filtered

Hello guys, could someone help me. I have a matrix which contains NameProject in rows, Month/Year in Columns and a column name Status from f_status_projects table as shown below:

skills29_1-1687455612273.png

 

When i use a slicer visual to filter this matrix by status, for example Suspended:

skills29_2-1687455636823.png

However, I want it to keep appearing the name of the other status that are not suspended when one of the columns has a suspended status, and when there is no suspended status, it doesn't appear as it already does. So, i want the matrix be like this when filter Suspended projects:

skills29_3-1687455853317.png

 

Could someone help please?

 

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

Hi  @skills29 ,

 

Here are the steps you can follow:

1. Create calculated table.

Table 2 =
DISTINCT('Table'[Status])

vyangliumsft_0-1687763478119.png

2. Create measure.

Measure =
var _select=SELECTCOLUMNS('Table 2',"1",[Status])
var _proj=
SELECTCOLUMNS(
    FILTER(ALL('Table'),'Table'[Status] in _select),"1",[ProjectName])
return
IF(
    MAX('Table'[ProjectName]) in _proj ,MAX('Table'[Status]),BLANK())

3. Result:

vyangliumsft_1-1687763478128.png

 

Best Regards,

Liu Yang

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-yangliu-msft
Community Support
Community Support

Hi  @skills29 ,

 

Here are the steps you can follow:

1. Create calculated table.

Table 2 =
DISTINCT('Table'[Status])

vyangliumsft_0-1687763478119.png

2. Create measure.

Measure =
var _select=SELECTCOLUMNS('Table 2',"1",[Status])
var _proj=
SELECTCOLUMNS(
    FILTER(ALL('Table'),'Table'[Status] in _select),"1",[ProjectName])
return
IF(
    MAX('Table'[ProjectName]) in _proj ,MAX('Table'[Status]),BLANK())

3. Result:

vyangliumsft_1-1687763478128.png

 

Best Regards,

Liu Yang

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

Thank you so much, it has worked!

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Feb2025 NL Carousel

Fabric Community Update - February 2025

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