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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply

Issue with Matrix displaying first/last item in the value field when matrix is collapsed.

Hello,

I've created a matrix. In the rows I have a course name and skill code - expand the course name to see the skills. In the values I want the skill name. However with all rows collapsed, the default value is either the first or last skill name .

I would like to make that either nothing, or a message "Expand to see skills". 

I feel I should be able to use an IF statement

IF(

ISINSCOPE(Course name), "Expand to see Skills", Column[SkillName]

)

but I cannot add in a column into the IF statement. 

Is there any way to get round this. I feel there should be. 

 

I could concatenate the code and name and that would work, but it doesn't look great. 

Thanks alot for any help.

1 ACCEPTED SOLUTION
SamWiseOwl
Super User
Super User

Hi @justlearning50 
What you need is to specific one value for the column:
SelectedValue(table[Column])

Should do the trick 🙂

 

In my example when I expand the Towns I want to see the CentreNames:

SamWiseOwl_0-1743754841913.png

 

Column Measure =
If(ISINSCOPE(Centre[CentreName])
, SELECTEDVALUE(Centre[CentreName]), "Click for more info")
 
I think showing nothing would look neater.
So use "" and maybe change the column header:
SamWiseOwl_1-1743754972026.png

 


If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

View solution in original post

2 REPLIES 2
SamWiseOwl
Super User
Super User

Hi @justlearning50 
What you need is to specific one value for the column:
SelectedValue(table[Column])

Should do the trick 🙂

 

In my example when I expand the Towns I want to see the CentreNames:

SamWiseOwl_0-1743754841913.png

 

Column Measure =
If(ISINSCOPE(Centre[CentreName])
, SELECTEDVALUE(Centre[CentreName]), "Click for more info")
 
I think showing nothing would look neater.
So use "" and maybe change the column header:
SamWiseOwl_1-1743754972026.png

 


If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

Thank you very much. That is great to know. 

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.

Top Solution Authors