Hi Thomas,
You can use the Record Sampling transformation at the cube level with the cube being warehoused and then create a button that the user would click to have the warehouse build and generate another random number/id etc.
https://www.dundas.com/support/learning/documentation/cleanse-consolidate-modify-data/transforms/other/record-sampling
Script would be something like this:
// Get the data cube service
var dataCubeService = this.getService(“DataCubeService”);
// Build the data cube with the specified ID
dataCubeService.buildStorage(“ID of Data Cube”);
setInterval(function(){setTimeout(function(){window.location = window.location; }, 5000);}, 10000);