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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.