@amita thanks for the details.
One way you likely already figured out is putting two separate queries next to each on a dashboard, for example, via a single-value tile.
If you need to merge the result, you could leverage the lookup command as a workaround.
Example query:
fetch bizevents, from:now()-7d
| summarize this_week = avg(toDouble(amount))
| fieldsAdd helper="test"
| lookup [ fetch bizevents, from:now()-14d, to:-7d
| summarize previous_week = avg(toDouble(amount))
| fieldsAdd helper="test"]
, sourceField:helper, lookupField:helper
| fieldsRemove helper, lookup.helper
| fieldsRename lookup.previous_week, alias:previous_week
Kind regards, Philipp

