Hi Ambika,
you just create a template with 2 data providers - one for each query.
and then in the template you show 2 analysis = table items - one for each data provider.
in the portal instead of adding a query you must add the template.
regards
Cornelia