Group by with dataview

Things I have tried

I’ve tried to dataview a table with this code:

What I’m trying to do

But in the result it shows without title book

Where I’m wrong?

your picture of your code is not showing. maybe edit the post (or reply to include)