Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Issue with Direct Discovery contains multiple tables and group by clause

Hi All,

Trying to implement Direct Discovery on top of the below query.
But no luck.

My Query is like this..

select
a.Dim1,
a.Dim2,
a.Dim3,
b.Dim1,
b.Dim2,
c.Dim1,
c.Dim2,
Count(a.measure1) as total,Count(distinct(a.measure2) as distincttotal
from a,b,c
where a.column1=b.column1
and a.column1=c.column1
group by a.Dim1
a.Dim2,
a.Dim3,
b.Dim1,
b.Dim2,
c.Dim1,
c.Dim2;

How to implement Direct discovery on top of multiple tables which is having group by clause.

Appreciate your help!!

Thanks,

shekar

2 Replies
rrsrini2907
Creator
Creator

Hi Shekar,

Have you tried creating this SQL as view and in direct discovery, you can query the SQL statement of the view table.

Regards,

Srini.

Not applicable
Author

Thanks Srinivasan for your reply,

Creating a View on this query is my last option, which requires many  approvals from other teams.

Looking for solution on top of query instead of creating view.

Thanks,

Shekar.