Deepak,
You can do this with conditional visibility of table rows. Put a table row inside of your dataview with the Location attribute in it. Make that row conditionally visible based on the value of Task Type. The one caveat to this is that conditional visibility only works for attributes of type enumeration and boolean. Not sure if TaskType is an enumeration. If not, you could create a boolean calculated attribute on entity Task, create a microflow that returns true if TaskType is XYZ and false if not.
Hope that helps,
Mike