How to get name of the data source current in use

I tried to get name of the data source current in use, but faild
is it possible to use A datasource’s name as a key to select another datasouce in one panel ?
as a built-in variable ?


how to do with it?

thanks.