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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric 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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.