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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

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

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.

Top Solution Authors