Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Teklers
Contributor
Contributor

Line Chart Monthly - From YTD Dataset

Hello everyone,

I have a data set YTD,  i  am trying to make line chart on monthly values/ calculations ,
Whenever i put my formula to chart it only shows YTD values at each month. (I Added picture)

Can you help me , please

Data set example

Sales means Brüt Satış in our language
Period means Dönem in our language Dönem 1 =January sales 5
                                                                               Dönem 2=January to February sales 12 

                                                                               Dönem 3= January to March sales 19 etc.. it goes like this

 Formula New.png

(Sum({<[Dönem]={">=$(=date(date#(yearstart([Dönem]), 'MM/DD/YYYY') ,'MM-YYYY'))<=$(=[Dönem])"}>}([Brüt Satış])))

 

Graphic 1.PNG

  

 

Labels (3)
7 Replies
Teklers
Contributor
Contributor
Author

up:(

Rams-
Creator
Creator

Hi,

I would like to suggest you just to use:

Sum({<[Dönem]={">=$(=Yearstart([Dönem]))<=$(=Date([Dönem]))"}>}[Brüt Satış])

If possible can you share your data

 

Hope this helps,

help user find answers ! don't forget to mark  a solution that work for you and click the like button!

Teklers
Contributor
Contributor
Author

here is dataset, ı tried formula which you mentioned , did not work for me

any other idea 😞 ?

Rams-
Creator
Creator

Hi,

This is another way you can create the your line chart:

I have taken Dimension = [Dönem]

Measure = Sum([Brüt Ciro])

Rams_0-1682428504238.png

 

Teklers
Contributor
Contributor
Author

Hi
This chart show us Year to Date , Results on each Dönem,

I want to see monthly result on each Dönem in that line chart

for example

01-2022  2.159 
02-2022   4.717-2.159 = 2.558
.
.
.

Teklers
Contributor
Contributor
Author

Up 😞

Rams-
Creator
Creator

Hi,

try to use this expression:

Sum([Brüt Ciro]) - rangesum(above([Brüt Ciro]))

Output:

Rams_0-1682495860649.png