|
Any suggestions to the below?
I'm currently calling a TI from excel to change the elements contained in some subsets based on some search fields users are inputting to. These effectively generate a pretty decent search function in TM1 to generate a view. After this, the view utilising these subsets is then exported using VUSLICE back into Excel.
Requirement for the user to select more than one search field means that they can make a selection that results in an empty view. Once this is VUSLICE'd, I can obviously identify that there's not data and return a message to this effect but the act of VUSLICE on an empty view is the unfortunate circular reference that you get whenever you try to slice out an empty view.
So basically, although it doesn't affect the functionality of the file, it's annoying and I would like to check if the view is empty prior to exporting. My immediate thoughts are to run a second TI to count the number of processed records (simple counter on data tab) and pass back to excel if this is zero to identify the situation but wondering if I'm missing something simple which is a bit more elegant.
Any thoughts?
TIA |
|