cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
corpsikumar
Helper I
Helper I

Max Value of each quarter and then sum for each category

Hello Community,

 

I'm trying to create measures for MAX QTD & Sum of MaxQTD. First For each Name i have to find max value of Enrollment for 

each quarter and then i have to do sum of that new measure.

corpsikumar_1-1664553564045.png

 

You can see in the above data For Name "ABC" i need get max value for each quarter and if multiple Names appears in same quarter then i have to sum the max QTD. 

 

Desired Output would be MAX QTD and then SUM of MAX QTD is like for 

Q1 - 440

Q2 - 400

Q3 - 300

 

For Q-1 i have only one name i.e "ABC" so the output of MAX QTD & SUM of MAX QTD would be same.

For Q-2 also i have only one name i.e "DEF" so the output of MAX QTD & SUM of MAX QTD would be same.

But For Q-3 i have 2 Names ABC & BCD i have calculate max value of quarter for each Names and then Sum.

Max of each names for Q-3 is 150 each and Sum of max value is 300

 

Please help.

 

 

 

 

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

ahahaha - 2/30/2022  -  nice try.

 

Based on your sample data the maximum for ABC in Q3 is 200, not 150. So the total is 1190

 

lbendlin_1-1664660562248.png

 

see attached

View solution in original post

1 REPLY 1
lbendlin
Super User
Super User

ahahaha - 2/30/2022  -  nice try.

 

Based on your sample data the maximum for ABC in Q3 is 200, not 150. So the total is 1190

 

lbendlin_1-1664660562248.png

 

see attached

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors