Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2807

Re: Webi formatting a cross tab and repeating values

$
0
0

Hi Gaurav,

 

The only way to do it would be 2 convert the GrossSales and Quantity from Column to Rows.

 

The way I did was to create two queries with UNION like below:-

 

YearMonth, GrossSales, 'GrossSales' Flag1

 

UNION

 

YearMonth, Quantity, 'Quantity' Flag2

 

 

Please note you might have to create 2 Flag objects in Universe or do custom SQL.

 

Then create a crosstab with below details:-

 

Horizontal Axis : YearMonth

                         Flag

 

Body Axis: GrossSales

 

Then do a sort on the Flag column. Pls refer to the screenshot on a sample I created from eFashion.

 

SCN Forum Help1.PNG

 

Regards,

Kashif


Viewing all articles
Browse latest Browse all 2807

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>