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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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