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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! 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
Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.