Skip to main content

Integration, Extension & APIs

Discussion board where members can learn more about Integration, Extensions and API’s for Qlik Sense.

Announcements
Welcome to Qlik Community! Check out our new navigation! FIND OUT MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
nferna001
Partner - Contributor II
Partner - Contributor II

visualization.create error handling

Hello everyone

I'm having trouble accessing any common errors upon creating a pivot table using the visualization API.

When creating a new pivot table in the hub dashboard and, for instance, using the same dimension twice, will result in an error warning. Here's a sample:

duplicate_dimension.jpg

If i try to dynamically create a pivot table with duplicated dimensions, the table simply does not render and does not throw any errors.

Is there a way to access these errors from the frontend?

thank you!

2 Replies
krishna_2644
Specialist III
Specialist III

Try this -

just ass one dimension and measure in the visualization and add the next dimension as 'Row'

1.PNG

1.PNG

nferna001
Partner - Contributor II
Partner - Contributor II
Author

Thanks for the reply

The problem is that i'm adding dimensions from a dynamic pivot table, using the visualization API (javascript). This means that the user is going to add the dimensions from a list of available dimensions.