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

Custom Ranking (preassigned Rank)

Hello Power BI Guru's,

I am not a programmer & also new to Power BI.

I seek a solution to my report with "Matrix" visualisation.

The table below with blue color text (2nd row) is my table header. Rest rows are fictitious values I built to seek help from you' ll.

 

Q - I am looking for a Customised Ranking Solution -

  a) First of all, I can assign a predefined rank to values like "Multiple Customers" and any other few more values (say Bankrupt companies) that I find in field "Customer".

That predefined values (Customer Rank) can be 51, 101, 301, etc., in short, I should be able to define that and it is applicable to entire table wherever such identified value appears.

   b) & the rest cases are Ranked based on field "Financial year" with highest value by sum of field "Values USD" in that financial year.

 

See the field "Expected Result" for what I expect as an answer.

 

The idea is that such names like "Multiple Customers" or any Bankrupt Companies dont appear in my Top 300 (or say Top 100 or 500) customers in "Matrix Visualisation".

 

I have no problem if that same "Custom Rank" number I defined, is also shared with any other customer assigned by the formula/(s).

 

Thank,

Chandan.

Text fieldText fieldText fieldText fieldnumeric field  
CustomerProductMonthFinancial YearValues USDExpected ResultCondition
MicrosoftMobileJuly' 20152015-16                4,0001<- as per formula based on field "Financial Year" & Sum of field "Values USD"
FaceBookMobileAug' 20152015-16                3,0002<- as per formula based on field "Financial Year" & Sum of field "Values USD"
AppleMobileJuly' 20152015-16                2,0003<- as per formula based on field "Financial Year" & Sum of field "Values USD"
General MotorsMobileJuly' 20152015-16                1,0004<- as per formula based on field "Financial Year" & Sum of field "Values USD"
Multiple CustomersMobileAug' 20152015-16                5,000301<- conditioned to assign Rank no 301 or any such custom Rank number defined by me
CargillMobileJuly' 20152015-16                   100 <- as per formula based on field "Financial Year" & Sum of field "Values USD"
WalmartMobileJuly' 20152015-16                      50 <- as per formula based on field "Financial Year" & Sum of field "Values USD"
MicrosoftMobileJune' 20162016-17                4,1302<- as per formula based on field "Financial Year" & Sum of field "Values USD"
FaceBookMobileMay' 20162016-17                6,0981<- as per formula based on field "Financial Year" & Sum of field "Values USD"
AppleMobileMar' 20172016-17                2,0653<- as per formula based on field "Financial Year" & Sum of field "Values USD"
General MotorsMobileApril' 20162016-17                1,0334<- as per formula based on field "Financial Year" & Sum of field "Values USD"
Multiple CustomersMobileSeptember' 20172016-17                5,163301<- conditioned to assign Rank no 301 or any such custom Rank number defined by me
CargillMobileOctober' 20162016-17                   103 <- as per formula based on field "Financial Year" & Sum of field "Values USD"
WalmartMobileSeptember' 20162016-17                      52 <- as per formula based on field "Financial Year" & Sum of field "Values USD"
10 REPLIES 10

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.