Describe the bug
When changing visualizations, the new visualization model is created. If there are no metrics in the request, the visualization creation will throw an uncaught error.
Expected behavior
Error should be handled in some way such as rendering a table with only dimension columns or giving a warning message and aborting the visualization change.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Describe the bug When changing visualizations, the new visualization model is created. If there are no metrics in the request, the visualization creation will throw an uncaught error.
To Reproduce Steps to reproduce the behavior:
Bar Chart
visualizationExpected behavior Error should be handled in some way such as rendering a table with only dimension columns or giving a warning message and aborting the visualization change.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):