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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
cson123
New Member

customized subtotal

Hello. I am fairly new to PowerBI. I am trying to build a matrix that has a subtotal where it only adds when "Weekday" is Monday through Friday. I already have subtotals which adds up all the days, but I just need to add Monday through Friday. Would I need a new measure and if so, how would I go about getting this customized subtotal? Any info would be greatly appreciated. Thank you!!

 

WHAT I HAVE NOW:

cson123_1-1741633333356.png

 

 

WANT:

cson123_0-1741633235100.png

 

3 REPLIES 3
cson123
New Member

@Greg_Deckler This is my data. I want to ultimately only add Monday through Friday and also have another total for Monday through Saturday. Is this possible?

 

MonthWeekday891011
OCT     
 Monday253281336366
 Tuesday227347452460
 Wednesday250328417500
 Thursday224313396403
 Friday199357373358
 Saturday244738100
Total Verified (M-F) 1153162619742087
Total Verified (M-S) 1177167320122187
NOV     
 Monday188217284305
 Tuesday206313446420
 Wednesday183256429402
 Thursday177218295258
 Friday209317414422
 Saturday4075118105
Total Verified (M-F) 963132118681807
Total Verified (M-S) 1003139619861912

 

ahmetyilmaz
Advocate I
Advocate I

Hello, it is not possible to make a 2nd total in powerbi tables , instead you can make this calculation with measure and show it in a different table.

Greg_Deckler
Super User
Super User

@cson123 First, please vote for this idea: https://community.fabric.microsoft.com/t5/Fabric-Ideas/Matrix-Table-grand-totals-with-Measures/idi-p...

This looks like a measure totals problem. Very common. See my post about it here: https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376

Also, this Quick Measure, Measure Totals, The Final Word should get you what you need:
https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907

Also: https://youtu.be/uXRriTN0cfY
And: https://youtu.be/n4TYhF2ARe8

 

If you need more specificity, Sorry, having trouble following, can you post sample data as text and expected output?
Not really enough information to go on, please first check if your issue is a common issue listed here: https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882

Also, please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

The most important parts are:
1. Sample data as text, use the table tool in the editing bar
2. Expected output from sample data
3. Explanation in words of how to get from 1. to 2.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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