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

Compare two time sales of two month with full amount of the last month. TITLE DOESNT SHOW PROBLEM

Hello,

 

I need your help again to solve an issue.

 

I want to compare the sales of the previous quarter with the sales of the acutal quarter. 

 

To make it more clear, I have to pictures:

 

Working ExampleWorking Example

Not working ExampleNot working Example

The first picture "Working Example" shows the right figures.

I choose the second quarter of 2018 and the sales are 1.250, column "Menge ausgew Quartal". In the first quarter of the 1.926 were sold, column "Menge_1Q_zuvor".

 

In the second picture "Not working Example" the third quarter of 2018 is choosen.

But the sale figures are wrong. Especially the figures of the column "Menge_1Q_zuvor", 844. The number should be 1250 and the column "Menge_2Q_zuvor" should be 1925, because it is the first quarter of 2018.

 

In my opion the problem is that sales for the third quarter are available until July 31. PowerBi just shows the sales firuges for the second quartel until June 30 or something like that. If I am wrong please correct me.

 

To calculate the columne "Menge_1Q_zuvor" I have choosen this formular:

 

Menge_1Q_zuvor = CALCULATE([Akt. Menge];DATEADD(Kalender[Datum];-1;QUARTER))

Akt. Menge is sum of sales.

 

I hope I explained my problem well enough so everybody understands it.

 

Does somebody has a solution or hint for my problem.

 

I am thankfull for every help I can get.

 

Christian

2 REPLIES 2
v-cherch-msft
Employee
Employee

Hi @Anonymous

 

You may try to use PARALLELPERIOD Function.

 

Regards,

Cherie

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hi Cherie,

 

thanks for your hint!!

 

Regards,

Christian

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.