Resolving "Input String Was Not in a Correct Format" Error When Adding a Table to an Excel Report
Issue: When attempting to add a Qlik native straight table to an Excel report in Mail & Deploy, you may encounter the error:
Input string was not in a correct format.
This issue occurs even though the table can be successfully added as an image, but it fails when added as a table object.
Solution:
To resolve this issue, follow these steps:
1. Reset Styling for the Table:
2. Reattempt Adding the Table:
3. Verify Data Consistency:
Ensure that all values in the straight table can be parsed correctly (e.g., no invalid or mismatched data types).
Check for special characters or improperly formatted data in calculated columns or expressions.
4. Update to the Latest Version:
Additional Tips:
If the issue persists, try exporting the straight table to Excel directly from Qlik to verify if the error is related to the data itself.
As a temporary workaround, if resetting styling doesn't work, continue using the table as an image until a permanent fix is implemented.
By following these steps, you should be able to resolve the "Input string was not in a correct format" error and successfully add the straight table to your Excel report as a table object.