KQL solution fails the goal because sort by defaults to descending order
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. You have a Fabric eventstream that loads data into a table named Bike_Location in a KQL database. The table contains the following columns: BikepointID - Street - Neighbourhood - No_Bikes - No_Empty_Docks - Timestamp - You need to apply transformation and filter logic to prepare the data for consumption. The solution must return data for a neighbourhood named Sands End when No_Bikes is at least 15. The results must be ordered by No_Bikes in ascending order. Solution: You use the following code segment: Does this meet the goal? - 
Community Votes
100% of anonymous learners picked answer B. Votes are pick records left by other test-takers — they are not the verified answer.
Community Insight
The KQL sort operator defaults to descending; meeting an ascending-order requirement requires an explicit asc modifier, and the proposed solution's 'sort by No_Bikes' omits it.
The proposed KQL code filters bike_location for Sands End with No_Bikes >= 15 and sorts by No_Bikes without the asc modifier; the KQL sort operator returns rows in descending order by default, so the required ascending order is not met.
Assuming KQL sort behaves like T-SQL's ascending ORDER BY; KQL defaults to descending, so the solution returns the highest No_Bikes values first.
Community Discussion (5 comments)
Comments & Corrections
No comments yet — spotted an error or have a note? Share it below.