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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
CFink15
Regular Visitor

Calculating Student Tuition Balance

Hello,

 

I am working on a dashboard linked to our student billing system that administrators can use to track outstanding student tuition balances. The dashboard updates with live information from the billing system. What I'd like to be able to do is have several pages based on different criteria (international students, dorm residents, and others), and only show students who have outstanding balances (i.e. balances greater than $0).

 

I've tried the following:

1) Merge billing data query with itself to aggregate Billing Amount by Student ID

  • This is not feasible because once the queries are merged, the new column is static and does not update when new billings are entered into the system

2) "Totals" quick measures - Billing Amount as Base value, Student ID as Category/Field

  • Accumulates total of entire student population rather than accumulating by individual student

3) Added a Matrix visualization with Student ID as rows and Billing Amount as values

  • When I apply a filter Billing Amount > 0, it shows me all individual Billing Code lines that are greater than 0, rather than showing the grouped student balances that are greater than 0.

Here's an example of the student billing format. The Target - Student Balance is the column/measure I want to create that will allow me to filter by student balances that are greater than $0.

 

Student IDBilling CodeBilling AmountTarget - Student Balance
P000040342COCONTFEE850638
P000040342CR NELNET-212638
P000061610COCONTNON250250
P000079211COCONTFEE850987
P000079211COHLINSGR2,787987
P000079211COHLCTR650987
P000079211CRNLNTACH-3,300987

 

Any suggestions on how to add a Measure that shows balances grouped by Student ID? Thanks in advance.

1 ACCEPTED SOLUTION
DataInsights
Super User
Super User

@CFink15,

 

Try this measure:

 

Target - Student Balance = 
CALCULATE ( SUM ( Table1[Billing Amount] ), ALLEXCEPT ( Table1, Table1[Student ID] ) )

 

DataInsights_1-1628885790568.png

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

2 REPLIES 2
DataInsights
Super User
Super User

@CFink15,

 

Try this measure:

 

Target - Student Balance = 
CALCULATE ( SUM ( Table1[Billing Amount] ), ALLEXCEPT ( Table1, Table1[Student ID] ) )

 

DataInsights_1-1628885790568.png

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Thanks a ton, @DataInsights! Such a simple solution. I appreciate it.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors