I am designing a dashboard using Einstein Analytics. The dashboard has come very far with change in multiple dataset widget. So, before retrieving the dashboard using sfdx, I was cleaning up unused lenses from the Query panel. Once particular lens is listed as Queries with Errors.
I have tried to delete this from the dashboard but if I click on delete the whole page goes blank. I click on view Error and it shows the following
So, I tried to break into the JSON of the dashboard, searched for the
lens_1 section of the JSON, cleared it and and tried to re-depoy it to the org to which I am getting this error.
I have also tried deleting the dataset itself. But, the dataset cannot be deleted as long as it's lens is used in Dashboard. Is there any other way I can clear this lens from the query section??