Display Nullvalue in Dropdown by Adding NULL Name

I am getting values from database and I am displaying it and the filter is working fine. Now the Requirement is i need to add NULL Name in dropdown and display those names that are NULL.

I am using append(local!dropdown,"NULL Name"). 

local!dropdown-- It has a rule that is used to display Dropdown value.

My doubt is I need to Display NULL Name dynamically, i.e: if any value is Null then only i can see this option in dropdown.

I am using below code but its wrong(as am comparing directly with NULL and value can be like: {
Name1,
Name2,
Name3,
Null
}) can someone help me on this

local!dropdownList: if(local!dropdown="NULL", append("NULL Name"),local!dropdown)

  Discussion posts and replies are publicly visible