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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
MaleneL
Helper I
Helper I

Create Titel measure with selected Month minus 3 month

HI 

I want to create a titel for my presentation, weher the titel is QX-202X but the last Quarter.  So if I have in my filter chosen Sep and 2023 I want the titel to be Q2-2023.

I have tryed 

selectedvalue(Dim_Calender[QuarterYear], -1, Quarter) 

this do not work...

 

1 ACCEPTED SOLUTION
swikritee_p
Resolver II
Resolver II

@MaleneL , Create a measure like 

 

Measure = 

var MaxDate_  = Maxx(allselecetd(Date), Date[date]) 

var ValueDt_ =  eomonth(MaxDate_  ,-3) 

return 

format(ValueDt_ , "\QQ YYYY") 

 

You can use this in title

 

View solution in original post

2 REPLIES 2
MaleneL
Helper I
Helper I

Thank you it worked 😀

swikritee_p
Resolver II
Resolver II

@MaleneL , Create a measure like 

 

Measure = 

var MaxDate_  = Maxx(allselecetd(Date), Date[date]) 

var ValueDt_ =  eomonth(MaxDate_  ,-3) 

return 

format(ValueDt_ , "\QQ YYYY") 

 

You can use this in title

 

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.