Drawing Constant line showing "Average of one Column of a Table"

I have Table tbl_sales. It contains column “Sales”. I want to draw a line chart which should show “Average value of Sales Column”. So this line is a constant line.

Lets say, value_avg_sales = average(Sales column of table tbl_sales)

Dont want any measurement on X-axis. Only Y-axis showing showing constat line with Y=value_avg_sales.

Hey @shalakam, Could you clarify your question? Thanks!

I’m not certain exactly what you are describing. QS has a concept of reference lines, which can be dashed line running across a bar chart (in our case). It’s available from the “format visual” command.


In the visual above the 321 is the value of the reference line. This value varies depending on the how the filters are set (such as the property control).

Here’s the documentation on reference lines:
Displaying, customizing, and removing reference lines - Amazon QuickSight

Does this help?

1 Like