Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
kavita25
Partner - Specialist
Partner - Specialist

Pivot with two same dimension

Hello,

I have a table Year Month, Bucket and proposal_id .

I am trying to build a pivot table with 2 dimensions in it. One with Bucket for current year and second dimension with last year .

I am not able to get the desired output as seen in the attached excel sheet.

Need your help to define the dimensions/ expression to get this output.

 @Mkelemen ,@  

 
Count of proposal_idBucket Current year              
bucket Previous year 01 TO 30121 TO 150151 TO 180181 TO 36531 TO 60366 TO 450451 TO 540541 TO 73061 TO 90730 +91 TO 120#N/AGrand Total
088884267574297247   18211107516515472
1 TO 3034201010741545  1619188422
121 TO 150      350    2578
151 TO 1801     31827   2170
181 TO 365    2   306   84392
31 TO 606106555457  16 3120282
366 TO 4501       1 83 57142
451 TO 540          7 142149
541 TO 730          10 222232
61 TO 90214530282  5 3113247
730 +          42 505547
91 TO 120  111 1146    3191
Grand Total89324579695459268201114334219154122667318124
               

This output is for prev(Feb 19 )and current (feb20 )

basically i want show count of proposal_id in pivot table  One with Bucket for  current year  and second dimension with last year.  

All previous year proposal_id count with  current year  all possible count of  proposal_id .

Regards,

kavita 

Labels (1)
0 Replies