Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

Gains/Pareto chart

Hi, 

 

I'm trying to make a graph, where I can express what percentage of items sold equals to what cumulative sales amount. E.g., 50% of the total sales are represented by x% of items. Below is an example chart:

Image result for cumulative gains chart

A small example of my dataset can be seen below: 

Sales AmountItemDate
412400001372019-06-18 00:00:00.000
850400001372019-06-19 00:00:00.000
883400001372019-06-20 00:00:00.000
650400001372019-06-21 00:00:00.000
13400001532019-06-18 00:00:00.000
44400001532019-06-19 00:00:00.000
122400001532019-06-20 00:00:00.000
88400001532019-06-21 00:00:00.000
1.182400001672019-06-18 00:00:00.000
5.065400001672019-06-19 00:00:00.000
4.665400001672019-06-20 00:00:00.000
4.743400001672019-06-21 00:00:00.000

I have around 4000 items for the past 2 months, så I'd like to be able to filter on dates as well. How can this be achieved? 

 

Thanks in advance

  • Anonymous  i am afraid the visual you are asking for does not exist in power bi.  Maybe you can find one in the custom visuals but i couldn't see anything

     

    i have made a few adjustments which maybe you can see a bit better what you were asking for.    Because there are the same amount of items for everyday you wont see any adjustment between the 33% split between all of them per day but the sales adjust tallying up to 100% depending on what day/s you have selected

7 Replies

    • Anonymous's avatar
      Anonymous
      Not applicable

      vanessafvg  Thank you, but I actually managed to get that far by myself. 

       

      I'm struggling with finding out, how to have both axis be percentages. Essentially, I'm trying to get a coordinate set of percentages: 
      %cumulative_sales, %cumulative_items and be able to modify/filter the date range for this calculation. Using measures only gets mere halfway there. 

      • vanessafvg's avatar
        vanessafvg
        Icon for Community Champion rankCommunity Champion

        Anonymous  i am not sure i actually understand what you are asking.  please show me exactly what you are looking for if you convert the graph to a scatter plot you will have both cordinates plotted.  If you put the date in a slider it will shift according to the date?

         

        can you please identify what exactly your issue is, is it a visual that you are looking for, you say i you have the %'s arleady, it would have been better for you to give me everything you have done so far so that i didn't duplicate what had been done already.

         

  • vanessafvg's avatar
    vanessafvg
    Icon for Community Champion rankCommunity Champion

    Anonymous  please provide your data in text format