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.
I'm having blank values caused by relationship and with no matched record. But I want to replace it with "Not assigned" text
Solved! Go to Solution.
Hi @marbi ,
Thanks for using Microsoft Fabric Community Forum.
Try using the below DAX to create a new column.
Related two tables
Used the newly created column in the visual
Here you can see the blanks are being replaced by Not assigned.
Hope this works for you.
If this helps , please accept as solution to help others find easily and a kudos would be appreciated.
Thank you.
Hi @marbi ,
Thanks for using Microsoft Fabric Community Forum.
Try using the below DAX to create a new column.
Related two tables
Used the newly created column in the visual
Here you can see the blanks are being replaced by Not assigned.
Hope this works for you.
If this helps , please accept as solution to help others find easily and a kudos would be appreciated.
Thank you.
GREAT! It worked. But the DAX only worked for Import mode. Any idea how the DAX be working with Direct Query?
Glad that the DAX worked in Import mode.
The reason it didnt work in DirectQuery is because DirectQuery limits complex DAX functions, leading to performance issues and potential query failures.LOOKUPVALUE
can struggle in DirectQuery mode because it generates complex queries that the backend may not efficiently support.
Use this DAX to create a new column for DirectQuery :
Create a new column:
Acct Assignment Order - Text (Updated) =
IF(
ISBLANK('YourTable'[Acct Assignment Order - Text]),
"Not assigned",
'YourTable'[Acct Assignment Order - Text]
)
💌 If this helped, a Kudos 👍 or Solution mark ✅ would be great! 🎉
Cheers,
Kedar
Connect on LinkedIn
not working. Acct Assignment Order - Text field & Purchasing Document Key is coming from different table. They are related using Order Key field. When I created the relationship, it shows blank values due to unmatched record.
Hi @marbi
check this video for better understanding.
https://www.youtube.com/watch?v=dp0W8B6FAmc
https://www.youtube.com/watch?v=tl92KE_3DMw
https://www.youtube.com/watch?v=rqO0kx1P1VU
I hope above videos would help you!
Hi @marbi
Can you share the PBIX file and remove critical data from it??
Hi @marbi ,
What column do you want to replace with "Not assigned"? are you using dax? show us the DAX used, give more context, just to understand your problem.
I'll be replacing Acct Assignment Order - Text field to "Not assigned". When I created the relationship, it shows blank values due to unmatched record. I tried using below DAX, but it's not working
Its possible to share no sensitive file to see the problem closer?
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 |
---|---|
93 | |
75 | |
65 | |
51 | |
36 |
User | Count |
---|---|
113 | |
90 | |
80 | |
62 | |
40 |