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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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
Microsoft Employee
Microsoft 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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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