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
AndreasSchippan
Regular Visitor

Comparison of Purchase Price with % Difference

Hi all,

 

I am stuck in a loop and do not know how to get our of it. I have a set of our purchase line items. they are from various years and products. we want to identify on a ArtGroup level the price difference in % per supplier. here is the table i already have: 

 

AndreasSchippan_2-1690363123172.png

 

here is the raw data (date, text, number, number, number)

 

Dateproductpriceqtyline amount
01.05.2022012850V131131
01.05.2022012862V228,07384,21
01.05.2022012864V21,81018
01.05.2022012873V111,510115
01.05.2022012877V121,5243
01.05.2022012878V156156
01.05.2022012879V116232
01.05.2022012885V1197,45987
01.06.2021012850V131131
01.06.2021012862V225,6258205
01.06.2021012864V22,2521533,78
01.06.2021012873V115,31810153,18
01.06.2021012877V121,5243
01.06.2021012878V156156
01.06.2021012879V116232
01.06.2021012885V1196,45982

 

we would like to see the price increase per line (that is already working) but we would also see the total price increase per supplier. this would mean for this expamle: the price from 21 would have to be multiplied with the qty for 22 and then the difference in % displayed. overall this would be here -4% on average.

 

Dateproductpriceqtyline amountprice 21 x qty 22diff
01.05.2022012850V131131310%
01.05.2022012862V228,07384,2176,87510%
01.05.2022012864V21,8101822,52-20%
01.05.2022012873V111,510115153,18-25%
01.05.2022012877V121,5243430%
01.05.2022012878V156156560%
01.05.2022012879V116232320%
01.05.2022012885V1197,459879821%
     Average-4%

 

my results always show something of -26% price increase as it does not respect the 0 values. 

 

thank for your help,

Andreas

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @AndreasSchippan ,

 

Here I create a sample based on your requirement, I get result -2.17%.

vrzhoumsft_0-1690766386500.png

You can download my sample file to get more details. If this reply still couldn't help you solve your issue, please share a sample file with me.

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @AndreasSchippan ,

 

Here I create a sample based on your requirement, I get result -2.17%.

vrzhoumsft_0-1690766386500.png

You can download my sample file to get more details. If this reply still couldn't help you solve your issue, please share a sample file with me.

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Thanks Rico, that works perfect.

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.