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
gauravnarchal
Post Prodigy
Post Prodigy

Switch True

Hello - I want to create a measure to use it in the matrix as

 

If column b = blank return unassigned else return the value.

 

gauravnarchal_0-1666900912145.png

 

 

1 ACCEPTED SOLUTION

You need to add a calculated column instead.

Use this and add a new column with DAX:

New Column= 
IF('Table'[B]=blank(),"unassigned",'Table'[B])

 

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

Appreciate your Kudos!! 

Badges.jpg

LinkedIn | Twitter | Blog | YouTube 

View solution in original post

3 REPLIES 3
VahidDM
Super User
Super User

Hi @gauravnarchal 

 

Try this measure:

Measure = 
IF(MAX('Table'[B])=blank(),"unassigned",MAX('Table'[B]))

VahidDM_0-1666915195810.png

 

 

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

Appreciate your Kudos!! 

Badges.jpg

LinkedIn | Twitter | Blog | YouTube 

 

Hi @VahidDM  When i use this measure, I am not able to add this to the rows instead it only taking it values.

 

gauravnarchal_0-1666951945673.png

 

You need to add a calculated column instead.

Use this and add a new column with DAX:

New Column= 
IF('Table'[B]=blank(),"unassigned",'Table'[B])

 

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

Appreciate your Kudos!! 

Badges.jpg

LinkedIn | Twitter | Blog | YouTube 

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

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.