Can you Help me Pls
I want to this report
[User Sales:6, 6,6,6,6,6]
PersonelAdı|Toplam Satış|Kişi Sayısı|Sipariş Sayısı|Kişi Ortalaması|Sipariş Ortalaması
{REPORT TICKET DETAILS:T.User,T.TotalAmount.Sum,TTN.Kişi Sayısı.Sum,T.ItemCount.Sum,}
Can you Help me Pls
I want to this report
[User Sales:6, 6,6,6,6,6]
PersonelAdı|Toplam Satış|Kişi Sayısı|Sipariş Sayısı|Kişi Ortalaması|Sipariş Ortalaması
{REPORT TICKET DETAILS:T.User,T.TotalAmount.Sum,TTN.Kişi Sayısı.Sum,T.ItemCount.Sum,}
Try
5: [=TN(‘T.TotalAmount.Sum’)/TN(‘TTN.Kişi Sayısı.Sum’)]
6: [=TN(‘T.TotalAmount.Sum’)/TN(‘T.ItemCount.Sum’)]
[=xxx] square brackets = is for calculation
TN(‘xxx’) forces value to number to make sure its not treated as a string in calculation
not work
[User Sales:6, 6,6,6,6,6]
PersonelAdı|Toplam Satış|Kişi Sayısı|Sipariş Sayısı|Kişi Ortalaması|Sipariş Ortalaması
{REPORT TICKET DETAILS:T.User,T.TotalAmount.Sum,TTN.Kişi Sayısı.Sum,T.ItemCount.Sum,[=TN(‘T.TotalAmount.Sum’)/TN(‘TTN.Kişi Sayısı.Sum’)]}
OK, just looked at another post and its different in reports to automation, try this;
[T.TotalAmount.Sum]/[TTN.Kişi Sayısı.Sum]
[T.TotalAmount.Sum]/[T.ItemCount.Sum]
Yes Yes Yes… Working…
Thank you so much
Teşekkür Ederim (turkish)
Thankl you…
Can you help me
{REPORT TICKET COUNT: for user total
Try something like this;
[User Tickets:1,1]
>User|Ticket Count
@{REPORT TICKET DETAILS:T.User.asc}
$1|{REPORT TICKET COUNT:(TU=$1)}
@ delairs a list using the report following it
$1 then loops the list values giving you a line per value of the @ list
Try this;
I only have one user for current period tickets so maybe it needed the comma seperator. But then again the $1’s render ok…
[User Tickets:1,1]
>User|Ticket Count
@{REPORT TICKET DETAILS:T.User.asc::{0}:,}
$1|{REPORT TICKET COUNT:(TU=$1)}
Works for me, must have been that;
Where do you want that?
FYI, stop @ tagging, it doesnt get you answer any quicker, already get notification when you reply…
Try this;
[User Tickets:1,1,1]
>User|Ticket Count
@{REPORT TICKET DETAILS:T.User.asc::{0}:,}
$1|{REPORT TICKET COUNT:(TU=$1)}|[=TN('{REPORT TICKET DETAILS:T.TotalAmount.Sum:(TU=$1)}')/TN('{REPORT TICKET COUNT:(TU=$1)}')]
I am so so sorry
Thank you… working…
I happy man … Thank you
Wrap the value in a F expression a bit like this;
[=F(TN('{REPORT EXPRESSION}')/TN('{REPORT EXPRESSION}'),'0.000')]
sorry im a little bit rusty with that expression, can u give some tip please.
[Ventas Usuarios:1,1,1]
>User|Numero de Tickets|Valor
@{REPORT TICKET DETAILS:T.User.asc::{0}:,}
$1|{REPORT TICKET COUNT:(TU=$1)}|[=TN('{REPORT TICKET DETAILS:T.TotalAmount.Sum:(TU=$1)}')/TN('{REPORT TICKET COUNT:(TU=$1)}')]
[=TN('{REPORT TICKET DETAILS:T.TotalAmount.Sum:(TU=$1)}')/TN('{REPORT TICKET COUNT:(TU=$1)}')]
becomes
[=F(TN('{REPORT TICKET DETAILS:T.TotalAmount.Sum:(TU=$1)}')/TN('{REPORT TICKET COUNT:(TU=$1)}'),'0.000')]
almost! it should be 18.000 and 133.000 no 18000.000 and 133000.000
Points vs commas are defined by regional settings.
That formatting wouldn’t change the actual number so you have other issue.