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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
laouttee
New Member

calculate column year quarter issue

I have created a Column Year Quarter (e.g. 202201 202104) I want to calculate A column which is going to look to the same aspects but last period (here last quarter) I haven't found a solution yet. Can anyone help me please ?

20220122_211831.jpg

1 ACCEPTED SOLUTION
ray_ux
Memorable Member
Memorable Member

@laouttee 
Try something like this

CALCULATE(
    SUM( 'fDataDump'[Data Point Value Numeric] ),
    DATEADD( dCalendar[Date],-3,MONTH )
)

 

View solution in original post

2 REPLIES 2
ray_ux
Memorable Member
Memorable Member

@laouttee 
Try something like this

CALCULATE(
    SUM( 'fDataDump'[Data Point Value Numeric] ),
    DATEADD( dCalendar[Date],-3,MONTH )
)

 

Awesome thanks!

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Feb2025 NL Carousel

Fabric Community Update - February 2025

Find out what's new and trending in the Fabric community.