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

View all the Fabric Data Days sessions on demand. View schedule

Reply
Brad_Roberts
Frequent Visitor

Row Total Incorrect with USERELATIONSHIP

I'm working with a simple data set but i'm having issues calculating Owed (Sales due date - Sales by pay date).  Sales by pay date is a measure (CALCULATE([Sales due date],USERELATIONSHIP('Date'[Date],'Sales Order'[Pay Date])).

 

Few options i've tried:

 

Brad_Roberts_0-1671910093582.png Brad_Roberts_1-1671910272580.pngBrad_Roberts_2-1671910304779.png

Brad_Roberts_4-1671910403877.png

 

 

 

1 ACCEPTED SOLUTION
tamerj1
Super User
Super User

Hi @Brad_Roberts 

[Owed] need to be created as a measure not a calculated column 

View solution in original post

2 REPLIES 2
tamerj1
Super User
Super User

Hi @Brad_Roberts 

[Owed] need to be created as a measure not a calculated column 

Thanks tamerj1, I thought I created it as a measure....but guess not.

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.