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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
bilingual
Helper V
Helper V

Year/Month in bottom of visual

Hi, i have made a visual which only shows last month, i would like to either have the present Year/Month in Title or in bottom below X-axis, anybody got an idea?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

HI @bilingual,

You can refer to the following blog to create a custom sort table and link to raw table fields. Then you can use the new field to replace the raw field, it should show the custom sort index on your visuals:

Custom Sorting in Power BI  

Regards,

Xiaoxin Sheng

View solution in original post

5 REPLIES 5
bilingual
Helper V
Helper V

Hi Amit, what i need is more simple, just like this Powerpoint, i need the present Month and Year below the diagram

 

bilingual_0-1615293008857.png

 

 

 

@bilingual , One way it two use two columns x-axis month year and the other you have. Sort on these two columns. And concatenate label off and try

 

Concat Label Off.pngConcat2.png

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hi Amit, thanks i made it work, but when i remove the concatenate option, the sorting(high to low) is not correct.

Anonymous
Not applicable

HI @bilingual,

You can refer to the following blog to create a custom sort table and link to raw table fields. Then you can use the new field to replace the raw field, it should show the custom sort index on your visuals:

Custom Sorting in Power BI  

Regards,

Xiaoxin Sheng

amitchandak
Super User
Super User

@bilingual , You can create measure like

 

Max month =

var _1 = maxx(allselected(Date), Date[Date])
return
maxx(filter(Date, Date[Date] =_1), Date[Month])

 

 

Max month -1 =
var _1 = eomonth(maxx(allselected(Date), Date[Date]) ,-1)
return
maxx(filter(Date, Date[Date] =_1), Date[Month])

 

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.