Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
ApurvaKhatri
Helper III
Helper III

Display different values

Hello,

 

I have a column 

 

Month

Jan

Feb

March

April

...

Dec

 

I need to display as

Month   Next Month

Jan         Feb

Feb       March

March  April

......

 

 

Like if the Month is Jan, Next Month should display Feb

 

How do I acheive this?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@ApurvaKhatri,

You can create the following calculated columns in your table.

NextMonth Number = SWITCH(Table[Month],"Jan",1, "Feb",2,"March",3,"April", 4,"May",5,"June",6,"July",7,"August",8,"September",9,"October",10,"November",11,"December",12)+1

 

NextMonth = If (Table[NextMonth Number]=13, "Jan", SWITCH(Table[NextMonth Number], 2,"Feb",3,"March",4,"April", 5,"May",6,"Jun",7,"Jul",8,"August",9,"September",10,"October",11,"November",12,"December"))

1.JPG


Regards,
Lydia

View solution in original post

1 REPLY 1
Anonymous
Not applicable

@ApurvaKhatri,

You can create the following calculated columns in your table.

NextMonth Number = SWITCH(Table[Month],"Jan",1, "Feb",2,"March",3,"April", 4,"May",5,"June",6,"July",7,"August",8,"September",9,"October",10,"November",11,"December",12)+1

 

NextMonth = If (Table[NextMonth Number]=13, "Jan", SWITCH(Table[NextMonth Number], 2,"Feb",3,"March",4,"April", 5,"May",6,"Jun",7,"Jul",8,"August",9,"September",10,"October",11,"November",12,"December"))

1.JPG


Regards,
Lydia

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.