I need to add data view in a common layout which i want to display in all pages . i am trying to add the data view in atlas layout but it is not allowing. Can some one please suggest me if there any alternative for that
The alternative is creating a snippet. That is meant for your need: multiple uses of the same page-bit.
So: right-click in the project view: Add -> Page resources -> Snippet