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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
jordanesqu
Frequent Visitor

Subtotal based on calculated rows

Hello,

I have the below data displayed for 3 consecutive months (NND, NND-1, NND-2).

NND for single period calculates as "Availability"/"Client" and results either 0 or 100.

Subtotal result is equal to positive evaluated clients / all evaluated clients. For instance "NND-2" = 7/8=88.

NND for three periods together calculate the same way with only difference "If at least once in last three periods Availability is positive then result is positive" 

I calculated the "Availabilty 3M" as follows

  • I sum up NND+NND-1+NND-2
  • If the above sum is >=1 than 1

The problem is I do not receive a subtotal for Availability 3M  (in this case 11) but 1 according to sum if function.

Could anyone help to solve that? my expected end result would be:

Availabilty 3M = 11

Client 3M = 12

NND 3M Total =11/12 = 92

 
 
 
 
 

NND_subtotal.JPG

Thanks

Jordan

 

 

3 REPLIES 3
mwegener
Most Valuable Professional
Most Valuable Professional

Hi @jordanesqu ,

 

was your problem solved?

 

 

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials


amitchandak
Super User
Super User

@jordanesqu , can you share formula

You have to try something like

sumx(summarize(Table,Table[Customer_Lv1,Table[Customer], "_1",[Availabilty 3M]),[_1])

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thanks for the tip. I have however more dimensions like region, sales manager, sales rep, material, customer and would like it work flexible depending on selection. in this case sumx did not work for me.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.