hide chart if error


Author
Message
Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K
Hi,

Currently you cannot handle the case when an expression in the pivot throws an error. You can however try to first remove the error by writing an expression that handles it, and then hide the chart area based on the input values. The same goes for an error title - you can make it conditionally visible, if the data that needs to be displayed is not expected. 


Best Regards,
Nevron Support Team


Philip Saxegaard
Philip Saxegaard
Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)
Group: Forum Members
Posts: 0, Visits: 2
Hi
I have a chart that will show this message: An error occured during the web part rendering. The error was: Object cannot be cast from DBNull to other types.
I recieve this error message bacause there are no data in my list, and that is by design. Is it possible to make an IF statement in the value field in the pivot that chacks if the calculation returns an error or not?

I want to display a title that says exactly what went wrong for my users. The reason I want to avoid the default error message, is because the chart stops automatically refreshing in the interval.

Greetings
Philip
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search