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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss 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.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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