Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

column name as a month & Year

hello

i want month as well as year in column name. i tried many exp in label but its not working .

Thank You..

1 Solution

Accepted Solutions
Anil_Babu_Samineni

I know, that is from paint.

Usually, In label we call call it as =MonthName(Max(FieldName))

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful

View solution in original post

10 Replies
Anil_Babu_Samineni

Not sure, What does this showcase of Label? Is there any logic?

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Chanty4u
MVP
MVP

can yougive some sample data ?

whcih object you are trying?

Anonymous
Not applicable
Author

post the sample data with expected result sample

Anonymous
Not applicable
Author

straight table

Anonymous
Not applicable
Author

i did it in paint.

Anil_Babu_Samineni

I know, that is from paint.

Usually, In label we call call it as =MonthName(Max(FieldName))

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Chanty4u
MVP
MVP

you can give each expression with  your format label?

Anonymous
Not applicable
Author

Try this ....Month(Date)&'-'&Year(Date)

Assuming :

Take a pivot table with add ur dimensions which includes your date dimension(use the above logic) and add ur expressions. Now drag this date dimension to the top to see them as columns... jan-2016 feb-2016 and so on..

Colin-Albert

Use the monthname() function on your date as a dimension.

Either use a calculated dimension monthname(YourDateField) or create a monthname field in your load script.