This will fix the KQL error, use had a error in the extend() lines and also hadn't mapped Current Score in the summarize commands, so the join wasn't possible.
SecureScores
| extend Percent=PercentageScore
| summarize avg(Percent) by bin(TimeGenerated,1d), SubscriptionId=_SubscriptionId, CurrentScore
| where avg_Percent < 80
| join kind=leftouter (
SecureScoreControls
| extend Percent=PercentageScore
| summarize avg(Percent) by bin(TimeGenerated,1d), SubscriptionId=_SubscriptionId, CurrentScore
)
on $left.CurrentScore == $right.CurrentScore
// Question, wouldn't you be better to join on something other than the Score % unless you are 100% sure they are // for the same resource? Maybe try this instead?
SecureScores
| extend Percent=PercentageScore
| summarize avg(Percent) by bin(TimeGenerated,1d), SubscriptionId=_SubscriptionId, AssessedResourceId
| join
(
SecureScoreControls
| where AssessedResourceId has "ascScore"
| parse AssessedResourceId with AssessedResourceId '/secureScoreControl' *
| extend Percent=PercentageScore
| summarize avg(Percent) by bin(TimeGenerated,1d), SubscriptionId=_SubscriptionId, CurrentScore, AssessedResourceId
) on AssessedResourceId