Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
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]
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
126 | |
113 | |
69 | |
59 | |
46 |