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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.