Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote 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
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 56 | |
| 52 | |
| 45 | |
| 16 | |
| 16 |
| User | Count |
|---|---|
| 107 | |
| 105 | |
| 40 | |
| 33 | |
| 25 |