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
Muhammad123
Frequent Visitor

PREVIOUS QUARTER without year

I want add column PREVIOUS QUARTER without year ,but it showing null
 
pre.png

i tried writing the following code 

PREVIOUSQTR1 = CALCULATE (
   [Total Amount], PREVIOUSQUARTER(DimDate[Date]))


5 REPLIES 5
lbendlin
Super User
Super User

Try with DATEADD(...,-3, MONTH)

I Tried  with DATEADD(...,-3, MONTH) but not working

Can you show some sample data?

QTR     Total Amount
1              4500
2              5000
3              6000
4              5500

see attached

lbendlin_0-1686936673167.png

 

Helpful resources

Announcements
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!

Jan NL Carousel

Fabric Community Update - January 2025

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