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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
Community Champion
Community Champion

Hi @Brad_Roberts 

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

View solution in original post

2 REPLIES 2
tamerj1
Community Champion
Community Champion

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.