Hi, can i sort the legendt? values are not sorted
ps can i change colors with vba?
---------------------------
in the following bar chart, values are not sorted as in the query
Code:
SELECT count(Cliente) AS [N° clienti], Sum(totale) AS [Totale portafoglio], trasferibile, switch([trasferibile]="negativo",1,[trasferibile]="improbabile",2,[trasferibile]="possibile",3,[trasferibile]="probabile",4,[trasferibile]="sicuro",5) AS TrasferibileNumFROM qryportafoglio
GROUP BY trasferibile
ORDER BY switch([trasferibile]="negativo",0,[trasferibile]="improbabile",2,[trasferibile]="possibile",3,[trasferibile]="probabile",4,[trasferibile]="sicuro",5) DESC;
i made a numeric custom field cause i want to give a specific order and not an alphabetical one. "Negativo" should be the last
thanks