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
Anonymous
Not applicable

Select the best carrier with sum / rank / filter / count / count non blank

Hi

I'm doing a sourcing excercise to search the best 2 carriers per shipping point

The dataset is based on cost per shipment

-So first I need to sum all shipments per shipping point per carrier

-calculated which is the % of shipments they have quoted per shipping point

Then I need to create a scenario with the 2 best carriers per shipping point Taking into account only the carriers they have at least offered 70% of the shipments

 

Any ideas how I do that?

Below the data table

Shipment carrierShipping pointCostkg
1ANew york85
2ALA2110
3AMiami185
4ABoston1910
5ABoston1980
6ABoston5500
7ABoston2511
8ANew york715
9ALA227000
10AMiami8540
1BNew york145
2BLA2010
3BMiami95
4BBoston 10
5BBoston 80
6BBoston11500
7BBoston1111
8BNew york2215
9BLA167000
10BMiami7540
1CNew york105
2CLA510
3CMiami245
4CBoston2010
5CBoston 80
6CBoston10500
7CBoston2311
8CNew york1315
9CLA247000
10CMiami9540
1DNew york225
2DLA2310
3DMiami225
4DBoston 10
5DBoston980
6DBoston17500
7DBoston711
8DNew york1015
9DLA167000
10DMiami17540

 

The result I would like to see is 

Shipping pointcarrierRank% QuotedTotal
BostonB(blank)50%22
 D175%33
 C275%53
 A3100%68
Boston Total   176
LAC1100%29
 B2100%36
 D3100%39
 A4100%43
LA Total   147
MiamiB1100%16
 A2100%26
 C3100%33
 D4100%39
Miami Total   114
New yorkA1100%15
 C2100%23
 D3100%32
 B4100%36
New york Total   106
Grand Total   543

 

 

The step in bewteen I do in excel is following, but I would like to this now in BI 

Shipping pointShipmentsQuoted shipments% QuotedSum of CostcarrierRank
Boston44100%68A3
LA22100%43A4
Miami22100%26A2
New york22100%15A1
Boston4250%22B 
LA22100%36B2
Miami22100%16B1
New york22100%36B4
Boston4375%53C2
LA22100%29C1
Miami22100%33C3
New york22100%23C2
Boston4375%33D1
LA22100%39D3
Miami22100%39D4
New york22100%32D3

 

1 REPLY 1
v-yuta-msft
Community Support
Community Support

@Anonymous,

 


I'm doing a sourcing excercise to search the best 2 carriers per shipping point

The dataset is based on cost per shipment

-So first I need to sum all shipments per shipping point per carrier

-calculated which is the % of shipments they have quoted per shipping point

Then I need to create a scenario with the 2 best carriers per shipping point Taking into account only the carriers they have at least offered 70% of the shipments

 


 

Could you share some calculate logic of your requirement?

 

Community Support Team _ Jimmy Tao

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

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.