In more recent version of Dataview you’re actually capable of produce the random items using the hash() function to convert text into random values.
So try adding the following to a note of yours and see if they could be useful to you:
## Adding a random value
```dataview
TABLE item, randValue
WHERE ♥
FLATTEN flat(list(♥)) as item
FLATTEN hash(dateformat(date(today), "YYYY-MM-DD"), file.name + item) as randValue
```
## Two random items each day
```dataview
LIST WITHOUT ID item
WHERE ♥
FLATTEN flat(list(♥)) as item
FLATTEN hash(dateformat(date(today), "YYYY-MM-DD"), file.name + item) as randValue
SORT randValue
LIMIT 2
```
The first query showcases the attached random value to each occurence of your heart field, and the second query uses LIMIT 2 to only display two of these items as it has now sorted according to that random value.
Since the hash() function as written here is using the ISO date of today, which two items will change for each day (no matter how many times you run the query). Also note that using just file.name would make every field from a given field have the same “random” value, so I added the text of the field into the mix to make it even more random.
Finally note that I’ve used the FLATTEN flat(list(...)) as item to force any single or list of fields value into becoming a row of its own, so that all fields are treated as separate entries.
This could also be done using dataviewjs, but since you say that you’re not too fluent in coding, I presented you with this solution hoping it’s easier to understand.