Choose a random data object from local list and display its value

Im trying to create a app where by the click of a button, a random object from a on device data list is displayed as Text:

Example: I press a refresh button → One random object from my (excel) “list” is chosen (offline) → its displayed as text

Is there a way to create it, without using a api, and how would you approach it?
Thank you and greetings in advance :slight_smile: