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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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