how to include in the computation the average including zero/blank values in the table.
Below is the average computed but it didn't count the zero/blank values in the Table.
You will need to share sample data in a Tableau Packaged workbook. This is nowhere near enough detail to help you.
With that being said, you might want to try doing AVG(ZN([myfield])) as a quick solve.
Retrieving data ...