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

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.

Reply
Anonymous
Not applicable

Dynamic display text with fixed text

Hi there,

 

Just wanted to ask if there is a way to create card with dynamic selected text AND fixed text.

As following sample shows:

Fixed text: Order in:

Dynamic text: May 2023 (in Date Table created by DAX)

Dynamic count: 9211 (in Table 2)

h_l_0-1686708921770.png

 

Now I am trying an alternative way (but also failed), display the text and count in 2 different Card visual:

For Date card, a measure was created:

SelectedMonthYear = SELECTEDVALUE('Date'[Month]) + SELECTEDVALUE('Date'[Year])

h_l_1-1686709000019.png

But when I select May, 2023, it was displaying 2023 instead of May2023.

 

Any advice is appreciatd.

H

 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , not very clear. But it should be like

SelectedMonthYear = SELECTEDVALUE('Date'[Month]) & "/" & SELECTEDVALUE('Date'[Year])

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

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , not very clear. But it should be like

SelectedMonthYear = SELECTEDVALUE('Date'[Month]) & "/" & SELECTEDVALUE('Date'[Year])

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
Anonymous
Not applicable

Hi @amitchandak , nice to get your reply again, you've provided great helps in the past.

It was almost done by using your advised DAX, however, it displays 5 2023 instead of May 2023.

h_l_1-1686710744511.png

 

I tried to Format the text, but after DAX updated, it always display Jan 2023, not selected month.

DAX: 

SelectedMonthYear = FORMAT(SELECTEDVALUE('Date'[Month]),"MMM") & " " & SELECTEDVALUE('Date'[Year])

h_l_0-1686710706702.png

 

Could you help to give a little further advice?

Thanks.

H

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.