Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

total group basis problem

soru.png

hi,

I need me I'll write a formula in a pivot table in expression .

thanks.

please help me

1 Solution

Accepted Solutions
sunny_talwar

May be like this:

Sum(Aggr(Sum(quantity) *(Sum(time)/Sum(TOTAL <grp> quantity)), grp, Customer))

View solution in original post

6 Replies
sunny_talwar

May be like this:

Sum(Aggr(Sum(quantity) *(Sum(time)/Sum(TOTAL <grp> quantity)), grp, Customer))

Not applicable
Author

Thank you very much

sunny_talwar

Did it work? If it did, please close this thread by marking correct answer.

Qlik Community Tip: Marking Replies as Correct or Helpful

Best,

Sunny

Not applicable
Author

My friend hello,I needed help again. I had a date information in a column in this example.Can I also add the month value of the date information that pivot condition.

You have to reach a conclusion as in the following example.

required results :

Total
month
GrpJanuaryFebruary
A1820
B3022
C2025
D1528

I thank you in advance for your help.

Not applicable
Author

soru2.png

my real code :

if(Dimensionality()=0,null(),

  Sum(

      if(lotmaster.MIKTAR>1 and not WildMatch(lotmaster.TED_LOTU,'*(*'),

  

       if(not WildMatch(lotmaster.TED_LOTU,'   *'),

           Aggr(sum(lotmaster.MIKTAR) *(sum(TARIH-lotmaster.TED_LOT_URETIM_TARIH)/Sum(TOTAL <lotmaster.ISEMRI_UG> lotmaster.MIKTAR)), lotmaster.ISEMRI_UG, lotmaster.LOT_NO)

        )

      )

     )

   )

sunny_talwar

Are you sharing it with us or are you still having issues Kadir?