Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
mdalton
Helper I
Helper I

New Column-Output Default Branch by Max(CountofPatient) by Zip

I have a table with :

1.PNG

 

I want a new column for a Default Branch that will recognize that those top three zipcodes are the same, and will output the branch with the highest patient count per zipcode like such:

2.PNG

 

 

 

 

1 ACCEPTED SOLUTION

I figured it out. I was pulling more values than I thought

View solution in original post

2 REPLIES 2
mdalton
Helper I
Helper I

I tried:

Column=CALCULATE(MAX(Table[CountofPatient]), ALLEXCEPT(Table, Table[Zip]))
But it gave me:

3.PNG

Which does not make sense. I figured I could go from here and add another column where if the count of patients is the same as column, give me branch.

I figured it out. I was pulling more values than I thought

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.