Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hello
I have a measure which I use in a State map as follows, Acccount_State = Account[Ship Country]&", "&Account[Ship State]&", "&Account[Ship_City]
Expected result is United States, Texas, El Paso
Sometimes the Ship state field contains "N/A". In such rows, I would like to replace "N/A" with just blank as such
United States,,El Paso. How should I write the Account_State measure to return this result.
Will a blank state showup correctly or else what should I do?
Solved! Go to Solution.
@mbalraj , Try like, In DAX
Acccount_State = Account[Ship Country]&", "& if(Account[Ship State]= "N/A",blank() , Account[Ship State] ) &", "&Account[Ship_City]
@mbalraj , Try like, In DAX
Acccount_State = Account[Ship Country]&", "& if(Account[Ship State]= "N/A",blank() , Account[Ship State] ) &", "&Account[Ship_City]
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 57 | |
| 52 | |
| 40 | |
| 17 | |
| 16 |
| User | Count |
|---|---|
| 116 | |
| 105 | |
| 41 | |
| 34 | |
| 25 |