2.4.6: Return distinct query, chart for a given dashboard (#131)
* Return distinct query, chart for a given dashboard * make the query more performant * fix lint
* Return distinct query, chart for a given dashboard * make the query more performant * fix lint