Can we load certain field's values in a variables to use them in Tickscripts

Suppose i have a measurement which is only being used to refer a value which does not change (ie. total memory of the server).
If we can load its value once or twice a day into a variable for all the hosts, can we not use it in the tickscript to then use it with other measurement example “Memory” - Available_MBytes to calculate Available_Memory_Percentage?