Naveen Tibco Posted April 4, 2019 Share Posted April 4, 2019 can any one help me script for cross table rows Grand Total in a cross table. Thanks Naveen Link to comment Share on other sites More sharing options...
Khushboo Rabadia Posted April 8, 2019 Share Posted April 8, 2019 You can use below script to show/hide Grand Total for rows: from Spotfire.Dxp.Application.Visuals import * #add a script parameter vis referring to the cross table visualization crossTable=vis.As[CrossTablePlot]() result= crossTable.ShowRowGrandTotal if result== True: crossTable.ShowRowGrandTotal=False else: crossTable.ShowRowGrandTotal=TrueReference: https://docs.tibco.com/pub/doc_remote/sfire_dev/area/doc/api/TIB_sfire-a... Link to comment Share on other sites More sharing options...
Naveen Tibco Posted April 9, 2019 Author Share Posted April 9, 2019 Thanks for your inputs.....i tried with your code but i am getting below error [[{"fid":"165356","view_mode":"default","fields":{"format":"default","field_file_image_alt_text[und][0][value]":false,"field_file_image_title_text[und][0][value]":false,"height":"","width":""},"type":"media","field_deltas":{"1":{"format":"default","field_file_image_alt_text[und][0][value]":false,"field_file_image_title_text[und][0][value]":false,"height":"","width":""}},"attributes":{"class":"media-element file-default","data-delta":"1"}}]] Link to comment Share on other sites More sharing options...
Naveen Tibco Posted April 9, 2019 Author Share Posted April 9, 2019 colud you please suggest me where i did wrong.... and also i would like to get specific column grand total in cross table....do you have any idea Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now