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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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.


Go to My LinkedIn Page


Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors