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

Price Change Impact

Hi Team,

This is a an very urgent request, I am trying to analyze price change impact of my brand (Product 1) with competition brand (Product 2). I am attaching an excel data as I am working on PowerPivot data model. File has 2 sheets one is “Raw Data” and sheet 2 “Expected Result”. I tried a lot but I am not able to get desired results as I am getting sum of MRP while using pivot table. I have run out of options hence seeking your expertise. There are changes in MRP (basically pricing) in between months as well hence want to have view for both OLD price and new price as well. I am using power pivot data model hence requesting solution for the same. Need help with dax measure to solve this.

 

Sample data as follows;

 

Company YearYearMonthBrandPack SizeMRPVolume

2021-222021JulProduct 112x751000531
2021-222021JulProduct 124x37.5700958
2021-222021JulProduct 148x18.03501200
2021-222021AugProduct 112x751000700
2021-222021AugProduct 124x37.57001123
2021-222021AugProduct 148x18.03501569
2021-222021AugProduct 112x751100200
2021-222021AugProduct 124x37.5800500
2021-222021AugProduct 148x18.0450700
2021-222021SepProduct 112x751100450
2021-222021SepProduct 124x37.5800655
2021-222021SepProduct 148x18.0450854
2021-222021JulProduct 212x751000423
2021-222021JulProduct 224x37.5700759
2021-222021JulProduct 248x18.0350925
2021-222021AugProduct 212x751000600
2021-222021AugProduct 224x37.5700900
2021-222021AugProduct 248x18.03501325

 

Expected Results;

 

   Product 1     Product 2     
   MRPVOLUMEMRPVOLUME
Company YearYearMonth12x7524x37.548x18.012x7524x37.548x18.012x7524x37.548x18.012x7524x37.548x18.0
2021-222021Jul100070035053195812001000700350423759925
2021-222021Aug100070035070011231569100070035070011231569
2021-222021Aug1100800450200500700100070035070011231569
2021-222021Sep1100800450450655854000000

 

Please help me in this regards.

Thanks
Harish Rathore

1 ACCEPTED SOLUTION
v-robertq-msft
Community Support
Community Support

Hi, 

According to your description, I can roughly understand your requirement, I think you can try to achieve the expected output using the matrix visual in the Power BI:

This is the test data I created based on your description:

vrobertqmsft_0-1642390600897.png

 

And you can create a matrix chart and place the columns like this to get what you want, like this:

vrobertqmsft_1-1642390600906.png

 

You can download my test pbix file below

 

If this result is not what you want, you can post some sample data(without sensitive data) and your expected result.

How to Get Your Question Answered Quickly 

Thank you very much!

 

Best Regards,

Community Support Team _Robert Qin

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
v-robertq-msft
Community Support
Community Support

Hi, 

According to your description, I can roughly understand your requirement, I think you can try to achieve the expected output using the matrix visual in the Power BI:

This is the test data I created based on your description:

vrobertqmsft_0-1642390600897.png

 

And you can create a matrix chart and place the columns like this to get what you want, like this:

vrobertqmsft_1-1642390600906.png

 

You can download my test pbix file below

 

If this result is not what you want, you can post some sample data(without sensitive data) and your expected result.

How to Get Your Question Answered Quickly 

Thank you very much!

 

Best Regards,

Community Support Team _Robert Qin

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

lbendlin
Super User
Super User

You need to add a column to your data that indicates which price version it is. Without that you will not be able to tell which price is "old"  and which is "new".

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