Hello @jane,
welcome to this moderated Azure community forum.
When ingesting data from an IoT Hub, you need to create a mapping for the data connection. Check out this blog post for an example.
Is this message mapped to a dynamic column names like 'data'?
In that case, you can access the weight:
tableName
| project weight = data.apple.weight
If you want to map it directly to a typed column, you need to check the mapping like:
'{"Column": "weight", "Properties": {"Path": "$.apple. Weight"}},'
Please check out that article for a full story.
If the response helped, do "Accept Answer". If it doesn't work, please let us know the progress. All community members with similar issues will benefit by doing so. Your contribution is highly appreciated.