Forum Discussion

baronraghu's avatar
baronraghu
Helper III
8 years ago
Solved

bid score

Hi All,

 

Need you assistance.

 

I have to prepare a dashboard in which I am trying to calculate the score of the bidders in an auction. The details are given below.

 

I have a list of 10 bidders:

 

Bidders
Com-1
Com-2
Com-3
Com-4
Com-5
Com-6
Com-7
Com-8
Com-9
Com-10

 

These bidders are partcipating in an auction in which 5 products are displayed. Additionally each bidder has to pay a signing bonus. For each bidder there is three types of bidding strategy - Aggresive/ Mild and Low. Each startegy has further sub levels.

A bidder has to choose a strategy against the types mentioned. The detailed table is shown below

 

StrategyBonusProd-1Prod-2Prod-3Prod-4Prod-5
Aggressive-147191156371774322.01
Aggressive-248185193192195322.59
Aggressive-350199141962082302.89
Aggressive-450217135822196322.04
Aggressive-550168180331787322.69
Mild-146177142721890302.73
Mild-245161176031610322.76
Mild-343213156241830302.86
Mild-445154178022010302.97
Mild-546212135251674312.52
Low-140160214881774302.33
Low-240184219522013322.55
Low-342216157891699312.06
Low-440192206642109312.85
Low-540151147151962302.68

 

Based on whatever strategy they choose, a score is calculated.  This score is a relative score. Each bidding parameter has a weights as given below

 

Prod-120%
Prod-250%
Prod-310%
Prod-410%
Prod-510%

 

If suppose there are three bidders Comp-1, Comp-2 and Comp-3

Comp-1 choses Aggresive 1 strategy

Comp-2 chooses Agressive 4 Strategy

and Comp-3 choses Mild-1 Strategy

 

So the score of Comp-1 would be (191/max(191,217,177)*0.2)+(15637/max(15637,13582,14272)*0.5+(1774/max(1774,2196,1890)*0.1)+(32/max(32,32,30)*0.1)+(2.01/max(2.01,2.04,2.73)*0.1)

 

Same for Comp2 and 3.

 

If I use hierachy slicer with bidder name and strategy under them, so as an when i keep selecting bidders the score should keep changing and it could be displayed. 

 

I was able to do it on excel but got stuck on power BI and DAX.

 

Hope the information provided is sufficient,

 

Thanks All.

 

Regards

Raghu

  • Hi baronraghu,

    >>If suppose there are three bidders Comp-1, Comp-2 and Comp-3

    Comp-1 choses Aggresive 1 strategy

    Comp-2 chooses Agressive 4 Strategy

    and Comp-3 choses Mild-1 Strategy

     

    So the score of Comp-1 would be (191/max(191,217,177)*0.2)+(15637/max(15637,13582,14272)*0.5+(1774/max(1774,2196,1890)*0.1)+(32/max(32,32,30)*0.1)+(2.01/max(2.01,2.04,2.73)*0.1)

     

    In your scenario, you help a bidder choose a strategy and arrive at a relative score as the example you posted above. So you need to all the possible strategies. You need to select some row from your table, which is hard in Power BI, becasue the column is the basic calculation item in Power BI using DAX.

    Best Regards,
    Angelia

4 Replies

  • Additionally if on the slicer only Comp1 is selected he would get the maximum score say 100

     

    If Comp1 and Comp2 are selected then Comp 1 would get 100 and comp2 would get 98

     

    Similarly if 3 are there then, Comp 1 with 100, comp2 with 98 and comp 3 with 95

     

  • v-huizhn-msft's avatar
    v-huizhn-msft
    Microsoft Employee

    Hi baronraghu,

    >>Comp-1 choses Aggresive 1 strategy

     

    When do you show in Power BI, Comp-1 how to choose Aggresive 1 strategy? Is there any relationship? Please share more details.+

    Thanks
    Angelia

     

    • baronraghu's avatar
      baronraghu
      Helper III

      HI v-huizhn-msft

       

      The purpose of the model is to help a bidder choose a strategy and arrive at a relative score

       

      I have an additional table which gives each bidder three option, Aggressive, Mild and Low like the one below.

       

      BidderStrategy
      Com-1Aggressive
      Com-1Mild
      Com-1Low
      Com-2Aggressive
      Com-2Mild
      Com-2Low
      Com-3Aggressive
      Com-3Mild
      Com-3Low

       

      I have also updated a previous table, 

       

      TypeStrategyBonusProd-1Prod-2Prod-3Prod-4Prod-5
      AggressiveAggressive-147191156371774322.01
      AggressiveAggressive-248185193192195322.59
      AggressiveAggressive-350199141962082302.89
      AggressiveAggressive-450217135822196322.04
      AggressiveAggressive-550168180331787322.69
      MildMild-146177142721890302.73
      MildMild-245161176031610322.76
      MildMild-343213156241830302.86
      MildMild-445154178022010302.97
      MildMild-546212135251674312.52
      LowLow-140160214881774302.33
      LowLow-240184219522013322.55
      LowLow-342216157891699312.06
      LowLow-440192206642109312.85
      LowLow-540151147151962302.68

      Hope this helps

      • v-huizhn-msft's avatar
        v-huizhn-msft
        Microsoft Employee

        Hi baronraghu,

        >>If suppose there are three bidders Comp-1, Comp-2 and Comp-3

        Comp-1 choses Aggresive 1 strategy

        Comp-2 chooses Agressive 4 Strategy

        and Comp-3 choses Mild-1 Strategy

         

        So the score of Comp-1 would be (191/max(191,217,177)*0.2)+(15637/max(15637,13582,14272)*0.5+(1774/max(1774,2196,1890)*0.1)+(32/max(32,32,30)*0.1)+(2.01/max(2.01,2.04,2.73)*0.1)

         

        In your scenario, you help a bidder choose a strategy and arrive at a relative score as the example you posted above. So you need to all the possible strategies. You need to select some row from your table, which is hard in Power BI, becasue the column is the basic calculation item in Power BI using DAX.

        Best Regards,
        Angelia