The validation works unexpected with my below steps to reproduce
The error "Control labeled "Metrics" cannot be empty" should not appear when delete Metrics
The error "Control labeled "Metrics" cannot be empty" appears when delete Metrics, but it not happens after refresh page

Try to select Columns on NOT GROUP BY or anything
=> The error not disappear
Refresh page, and try to delete Metrics COUNT(*) again
=> The error does not appear
Issue-Label Bot is automatically applying the label #bug to this issue, with a confidence of 0.93. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
This looks like a duplicate of #7363 which has a hint of why this is happening, but was closed due to inactivity
+1 on this. I am able to skirt around the issue by first defining "Not Grouped By" columns, and then clearing the 'Metrics' field.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue .pinned to prevent stale bot from closing the issue.
+1 on this. I am able to skirt around the issue by first defining "Not Grouped By" columns, and then clearing the 'Metrics' field.
It did not work for me.
Any update on the issue?
+1 on this. I am able to skirt around the issue by first defining "Not Grouped By" columns, and then clearing the 'Metrics' field.
It did not work for me.
@tuhinsharma121 - Try saving first. I have to deal with this on a regular basis. I find saving the chart with the wrong 'metrics' set, then coming back and clearing it sometimes works. I just fiddle around until I get there...
the workaround I found is the following:
1) In the Section "Group By":
fill in the fields
1.a) "Group By" with any available value
1.b) "Metrics" with any available value
2) In the Section "NOT GROUPED BY":
fill in the fields that you target to use ( as "Columns")
3) Click on the button "Run Query" --> error message indicating that you can麓t combine both "Group by " and "NOT GROUPED BY" fields
4) Clear the fields of the section "Group by" --> keep only the target fields
5) Click on the button "Run Query" --> OK
I found out that changing Visualization Type forth and back to Table clear the error for me.
Most helpful comment
Issue-Label Bot is automatically applying the label
#bugto this issue, with a confidence of 0.93. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!Links: app homepage, dashboard and code for this bot.