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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Quarter over quarter

Hi all, I believe this is something not very serious but I'm  strugling and  need bit of your help with DAX to compare quarter over quarther:

desiored.PNG

 So I am comparing row value with the value 3 months back. 

Currently I've tried: 

Desired result =
CALCULATE(SUM('Portfolio status'[Progress, %]),
PREVIOUSQUARTER('Portfolio status'[Period]))
 
I also tried PARALELPERIOD and DATEADD - none of them worked 😞

 

2 REPLIES 2
Anonymous
Not applicable

Funkcje, ktore operuja na datach, potrzebuja odpowiedniej tabeli. Nie mozesz sobie byle jakiej kolumny wcisnac jako argumentu. Zapoznaj sie z dokumentacja jednej z funkcji typu time-intelligence: https://dax.guide/previousquarter. Dobrze przeczytaj od poczatku do konca.

 

Functions that operate on dates require a proper date table. You can't just stick any column from any table as the argument into them. Please make yourself familiar with at least one of the time-intelligence functions at https://dax.guide/previousquarter and read through the docs from beginning to end.

Jihwan_Kim
Super User
Super User

Hi, @Anonymous 

I am not sure how your data model looks like, but I think it is better to use Dim-Calendar-Table when creating time intelligence measures.

Please check the below picture and the sample pbix file's link down below.

All measures are in the sample pbix file.

 

 

Picture6.png

 

Progress Previous Quarter =
CALCULATE( [Progress], DATEADD('Calendar'[Date], -1, QUARTER))
 
 

Hi, My name is Jihwan Kim.


If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.


Linkedin: https://www.linkedin.com/in/jihwankim1975/


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.