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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I have already created a following dax to get either "PM" or "Non PM" for all different values. However, there are blank values too, and the result is coming "PM","Non PM", and "Blank". i want to replace that "Blank" value to "Unknown". Can please somebody help me on that?
Solved! Go to Solution.
Hi @Anonymous ,
According to your description, here’s my solution.
If my understanding is not accurate,could you show me more details?
Best Regards,
Community Support Team _ kalyj
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @Anonymous
Have you followed the DAX formula posted by v-kalyj-msft to find the solution?
If so, would you like to mark his reply as a solution so that others can learn from it too?
Thanks in advance!
How to Get Your Question Answered Quickly
Best Regards,
Community Support Team _Robert Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
According to your description, here’s my solution.
If my understanding is not accurate,could you show me more details?
Best Regards,
Community Support Team _ kalyj
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Like this?
Role =
IF (
LEN ( role[Name] ) = 0, "Unknown",
IF ( CONTAINSSTRING ( role[Name], "PROJECT MANAGER" ), "PM", "Non-PM" )
)
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 20 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 34 | |
| 31 | |
| 20 | |
| 12 | |
| 11 |