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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
enlamparter
Helper I
Helper I

Dynamic Text Won't Update

I'm trying to use a measure to create a title for my page that updates based on the date selected in my slicer. My original measure updated perfectly fine, but my results looked funny (i.e. January 2016 was 12016, February 2016 was 22016...) I then added in a "format" function, but that seems to have broken the updating. Now it stays static at "January, 2016". Any idea why that is or what I can do to fix/get around this? These are my original and current formulas:
Original:
(Title) Selected Period = concatenate(month(FIRSTDATE('DateKey'[Date])), year(firstdate('DateKey'[Date])))

Current:
(Title) Selected Period = concatenate(format(month(FIRSTDATE('DateKey'[Date])),"mmmm")&", ", year(firstdate('DateKey'[Date])))

 

 

(Note: This was previously posted and deleted because I thought it was the result of a silly mistake. After checking, I realized I was wrong and am still dumbfounded...help!)

1 ACCEPTED SOLUTION
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @enlamparter,

 

If you use the function "format", then the function "month" isn't needed. You could try this:

New Selected Period =
CONCATENATE (
    FORMAT ( FIRSTDATE ( 'Calendar'[Date] ), "mm" ) & ", ",
    YEAR ( FIRSTDATE ( 'Calendar'[Date] ) )
)

Or try this with @Anonymous' idea:

Selected Period =
FORMAT ( FIRSTDATE ( 'Calendar'[Date] ), "mm" ) & ", "
    & YEAR ( FIRSTDATE ( 'Calendar'[Date] ) )

Best Regards!

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

5 REPLIES 5
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @enlamparter,

 

If you use the function "format", then the function "month" isn't needed. You could try this:

New Selected Period =
CONCATENATE (
    FORMAT ( FIRSTDATE ( 'Calendar'[Date] ), "mm" ) & ", ",
    YEAR ( FIRSTDATE ( 'Calendar'[Date] ) )
)

Or try this with @Anonymous' idea:

Selected Period =
FORMAT ( FIRSTDATE ( 'Calendar'[Date] ), "mm" ) & ", "
    & YEAR ( FIRSTDATE ( 'Calendar'[Date] ) )

Best Regards!

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks Dale, taking out the "month" function worked!

Anonymous
Not applicable

Check the icon next to the measure/column.  Does it look like a calculator or a box with Fx in it?  I'm wondering if you have created a calculated column by mistake.

It's a calculator! 😕

Anonymous
Not applicable

Ok, try dropping the concatinate formula and instead simply make use of the & symbol.  Does this improve your outcome?

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!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.

Top Solution Authors
Top Kudoed Authors