Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 217197

product Life cycle in Power BI

$
0
0

Hi all,

 

I have sales data in of different agricultural products with sales in SALES AMOUNT, which is as following in the picture.

ZoneStateDepotDistrictCropProductSales Amount
NZHPShimlaShimlaWheatGol12
CZMPGwaliorGwaliorWheatGol12
SZAPNelloreNelloreChillyJwala55
SZAPNelloreNelloreRice556655
SZAPNelloreNelloreRice556655
SZAPWarangalWarangalRice556655
NZHPShimlaShimlaChillyJwala10
CZMPGwaliorGwaliorWheatGol10
SZAPNelloreNelloreRice556655
SZAPNelloreNelloreChillyJwala55

 

Now when I create Pivot table of the above considering the columns in EXCEL between PRODUCT and SALES AMOUNT, the result is as follows

 Year                
Product2016201520142013201220112010200920082007200620052004200320022001Grand Total
Jwala          101010   30
Gol17  1010           37
7029        10       10
556610102020 5522      1010 157
2288         10      10
1121       10       1020
Grand Total27102030105522101010101010101010264

 

I wish to know the Product Life cycle, The conditions for the PLC are as follows:

This report will show summation of above data intp three categories Launch, Peak and Post-peak.
Considering reference year as X, any product sold for the first time in X or X-1 or X-2 will be considered as "Launch product".
Similarly any product sold for the first time in X-6 or X-5 or X-4 or X-3 will be considered as "Peak Product"
And, Any product sold for the fist time in X-7 or earlier will be considered as "Post-peak Product"
The categorization of a product is dynamic in nature and will depend on the year when the report is run

 

Now considering the reference year is 2016,  I wish to know the sales revenue from each of the "LAUNCH, PEAK, POST Peak" periods in the year 2016,

hence it will be as follows

Products20162015201420132012201120102009200820072006
189101111109    
205101112121110   
305101213131312111010
4789101098    
58910111211109   
68910111212111010  
7131314141514131210  
814151616171716161515 
91617181817171616151510
Total749010711411911510785614020
Launch Product0     62    
Peak product15     45    
post Peak Product59          
 

FOr 2016, Post peak sum is the sum of the products launched in 2009, 08, 07 and 2006.

Hence =0+0+8+8+13+14+16= 59

Hence, 59 sales amount is the revenue derived in 2016, for products which are curently in their post peak period 

 

The above I have done manually in excel. I wish that these calculations to be done by the program in Power BI when I choose the date/ year slicer and consequently make graphs based on the values( 1. Pie chart on Launch, Peak, Post peak, 2. PLC curve to show the products on the curve.)

 

I dont know how it can be achieved. 


Viewing all articles
Browse latest Browse all 217197

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>