Forum Discussion
Replace blank with Not assigned
- 1 year ago
Hi Anonymous ,
Thanks for using Microsoft Fabric Community Forum.
Try using the below DAX to create a new column.Acct Assignment Order - Text (Updated) =VAR AcctAssignment =LOOKUPVALUE('Table2'[Acct Assignment Order - Text],'Table2'[Order Key], 'Table1'[Order Key])RETURNIF(ISBLANK(AcctAssignment) || AcctAssignment = "","Not assigned",AcctAssignment)
Here replace Table 2 with the table name in which there are blanks.
I have replicated the scenario with sample data
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 Anonymous ,
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
- Bibiano_Geraldo1 year ago
Super User
Its possible to share no sensitive file to see the problem closer?