Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi, I need help to extract month (text field) and year (numerical field) in the Card?
Currently, I am able to display the last completed date in the card in full format
But I want only "Jun-19" to be displayed in the card.
My data field:
But when I tried to create a new measure:
MonthYear completed = concatenate (month (XX), year(XXX). The column that I wanted for Month does not appear for Month and Year as I do not have any calculated column for me to select for month and year.
I have tried to create a new column with "Related" DAX function but it does not work for me.
How do I do that to display month and year only in the card only?
Thanks
Solved! Go to Solution.
@Anonymous
Please try the following measure:
Completed Month and Year =
FORMAT( MAX(Table[Completed Date]) , "Mmm" ) && " - " &&
FORMAT( MAX(Table[Completed Date]) , "YYYY" )
________________________
If my answer was helpful, please click Accept it as the solution to help other members find it useful
Click on the Thumbs-Up icon if you like this reply 🙂
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Hi
I have changed it to other formula
@Anonymous
I think the closing brackets are not correctly placed, please recheck.
Add one ) after "Mmm" and remove the last )
________________________
If my answer was helpful, please click Accept it as the solution to help other members find it useful
Click on the Thumbs-Up icon if you like this reply 🙂
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Hi
I have changed it to other formula
@Anonymous
Please try the following measure:
Completed Month and Year =
FORMAT( MAX(Table[Completed Date]) , "Mmm" ) && " - " &&
FORMAT( MAX(Table[Completed Date]) , "YYYY" )
________________________
If my answer was helpful, please click Accept it as the solution to help other members find it useful
Click on the Thumbs-Up icon if you like this reply 🙂
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.