Tableau-Powershell-Scripts
Tableau-Powershell-Scripts copied to clipboard
Error code on blank view export
Hey Glen, this has been extremely helpful to us. One issue I'm currently facing is when exporting an excel crosstab when the view is blank. I know we can't download the excel file but I would like to be able to capture the error code. Do you know the syntax for capturing the 6 digit error code indicating the view is empty? I have tried using $.Exception.Message and $.ScriptStackTrace but it doesn't provide an accurate return value.
Thank you, Jon