Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
bouderbc
Creator
Creator

Comment cumuler des pourcentages dans un graphique ?

Bonjour les experts ,

Je voudrais savoir comment faire un cumul de pourcentage dans un graphique ?

Dans mon cas j'ai les éléments suivants :

Une dimension: jour

Expression: =num(Count(DISTINCT {<[Calcul_Success] = {'True'} , Mois_StatusTime_PDTCOR03_Dashboard ={"<= $(=max(Mois_StatusTime_PDTCOR03_Dashboard)) >= $(=max(Mois_StatusTime_PDTCOR03_Dashboard)) " }>} [IdComputer_PDTCOR03_Dashboard])
/(
Count({<Calcul_Success = {'True'}>} [IdComputer_PDTCOR03_Dashboard])+
Count({<Calcul_Error = {'True'}>} [IdComputer_PDTCOR03_Dashboard])+
Count({<Calcul_InProgress = {'True'}>} [IdComputer_PDTCOR03_Dashboard])+
Count({<Calcul_Unknown = {'True'}>} [IdComputer_PDTCOR03_Dashboard]))*100, '#.##', '.') & '%'

J'ai utilisé la methode "Accumulate" & "No accumulation"  mais le resultat n'est pas celui que je recherche , il faut que la courbe soit croissante

Merci de me fournir les méthodes relatives aux pourcentages cumulés avec un exemple si possible

Regards

Ali

1 Reply
YoussefBelloum
Champion
Champion

Bonjour,

tu va devoir utiliser les fonctions de Plages (Range)

https://help.qlik.com/fr-FR/qlikview/November2017/Subsystems/Client/Content/ChartFunctions/RangeFunc...

RangeSum(Above(

Count(DISTINCT {<[Calcul_Success] = {'True'} , Mois_StatusTime_PDTCOR03_Dashboard ={"<= $(=max(Mois_StatusTime_PDTCOR03_Dashboard)) >= $(=max(Mois_StatusTime_PDTCOR03_Dashboard)) " }>}[IdComputer_PDTCOR03_Dashboard])
/(
Count({<Calcul_Success = {'True'}>} [IdComputer_PDTCOR03_Dashboard])+
Count({<Calcul_Error = {'True'}>} [IdComputer_PDTCOR03_Dashboard])+
Count({<Calcul_InProgress = {'True'}>} [IdComputer_PDTCOR03_Dashboard])+
Count({<Calcul_Unknown = {'True'}>} [IdComputer_PDTCOR03_Dashboard]))*100


,0,RowNo()))


et formate ton indicateur sur l'onget nombres