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: 
Paknanarn23
Creator II
Creator II

I want to find the average for the past 1 month.


I want to find the average in the graph for the past 1 month, my code looks like this which made my average incorrect. The average of the month Jan must be equal to 22876 is a valid value.

Paknanarn23_0-1676608163224.png

Paknanarn23_1-1676608247701.png


The graph shows incorrect values. please help me

4 Replies
edwin
Master II
Master II

it isnt clear what you want to achieve.  are you saying you want just a single number for AVG of JAN?  i suggest create a variable and add you expression for Jan (im sure you calculate the date) and make sure it ignores the selected date in your set analysis.  then add that into your chart.

sidhiq91
Specialist II
Specialist II

@Paknanarn23  Could you please provide some sample data and the expected output? That would help us to understand more and give us the output.

Paknanarn23
Creator II
Creator II
Author

Yes, I want the AVG value only for the month Jan and display the sum values ​​for the current date and month.

As for the date I calculate like this

1676857343053.jpg

Paknanarn23
Creator II
Creator II
Author

I want it to look like this But the value is not displayed correctly.

1676857477405.jpg