Hi,
You can use BAS(%TIME_SET%) in your *XDIM_MEMBERSET statement.
This way, if a user then selects a node, for example 2015.TOTAL, this will run the calculation for all basmembers of the selected node. If an individual bas member is selected, the logic script will run for this specific month.
With kind regards,
Tim