HOTSPOT You have a Fabric tenant that contains a warehouse named WH1. You run the following T-SQL query against WH1. 
I don’t think Direct Lake is right here. Import mode is needed because only that supports calculated tables and complex calculated columns with aggregations-Direct Lake can’t do that yet, which is a common trap on these questions. Query caching should be ON to help with fast page loads. I’m pretty sure about this but open if someone’s seen a change in Direct Lake’s calc support.
