Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Month as dimension

Hello Community

This question might be simple but I need some solution

I appreciate your time

In attached example I need Year and month as x-axis and sum(Val) is expression as Y-axis

Thanks

Labels (1)
1 Solution

Accepted Solutions
kolov007
Contributor III
Contributor III

Hello.

You can use:

Year(Date)&'-'&Month(Date) as YearMonth

Field YearMonth you can use in chart. On tab "Sort" in the  chart properties tick near State - Ascending.

View solution in original post

7 Replies
sunny_talwar
MVP
MVP

May be use


MonthName(Date)

or

MonthName(MakeDate(Year, Month, 1))

as your dimension and

sum(Val)

as Expression

kolov007
Contributor III
Contributor III

Hello.

You can use:

Year(Date)&'-'&Month(Date) as YearMonth

Field YearMonth you can use in chart. On tab "Sort" in the  chart properties tick near State - Ascending.

Anonymous
Not applicable
Author

See if the attached helps

maxgro
MVP
MVP

See attachment

1.png

MarcoWedel
MVP
MVP

Hi,

one solution could be also:

QlikCommunity_Thread_180307_Pic1.JPG

hope this helps

regards

Marco

Anonymous
Not applicable
Author

Hi Sunny

I appreciate your reply. Still I am getting one dimension only

Thanks


Anonymous
Not applicable
Author

Hi Marco  Thanks for your reply, In case of month 6 is not available than I think we need use mod/avg function right?  I appreciate your very helpful answer