Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hey there!
I have a bit of challenge here.
Working on price anaysis of a portfolio.
I need to define what is the price increase of my portfolio for all products appearing in both time periods AY and LY and what is the mix effect of old products appearing only in LY and new ones only in AY.
I have my calculation in Excel, but I have difficulties replicate in PowerBI..
Here is the excel file with data , my increase calculation and PowerBI connected to it.
https://drive.google.com/drive/folders/1nbJ52LUm4vegL5YmEG14NCcWozXRyqjO?usp=sharing
This should be the outcome of analysis per market or any selection that can be made (excel file, sheet1).
Could anybody help me? Appreciate any help!!
Thanks a lot
Jan
Solved! Go to Solution.
Hi,
I am not sure if I understood your question correctly, but please check the below picture and the attached pbix file.
All measures are in the attached pbix file.
Hi,
I am not sure if I understood your question correctly, but please check the below picture and the attached pbix file.
All measures are in the attached pbix file.
Hi @Jihwan_Kim,
It is exactly what I needed. Thanks a lot!
Basically I managed to get the same result, but in much complicated way, plus using bigger database I started having performance issues.
My solution looked like this:
Increase base old help =
IF ( [SalesAY] && [SalesLY] > 0, [QuantityLY], 0 )
Price delta old =
( [SalesAY] / [QuantityAY] - [SalesLY] / [QuantityLY] ) / ( [SalesLY] / [QuantityLY] )
I had to use 5 steps instead of your 3. I was fighting with summarizing my values in a proper, correct way. Additionally looks like formula Values makes the calculation much slower.
Nevertheless your solution really helped. (y)
Can you recommend a source for learning DAX? I have gone through all related to DAX on microsoft websites, but still couldn't built such an efficient calculation as you did. 🙂
Thanks
Jan
Hi,
Thank you for your feedback.
Many people say reading the book, "The Definitive Guide to DAX", may let you level up in developing Power BI reports. I also agree with them. It is not a beginner-level-book but it will surely bring your skills up to the next level.
Thanks.
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
22 | |
7 | |
6 | |
6 | |
6 |
User | Count |
---|---|
27 | |
10 | |
10 | |
9 | |
6 |