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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

values not showing properly after selecting a date

so i have a datetable with dates of everyday,

 

then i have 2 tables, revenue table with following:

 

Invoice DatePaid DateTotal
7/28/20228/3/20221000
7/31/20228/8/20221500
8/3/20228/8/20221000
8/4/20228/10/20221000
8/5/20228/12/20222000

 

and expense date with following:

 

DateAmount
8/1/2022200
8/2/2022100
8/3/20221500
8/4/2022700
8/5/2022200

 

i created a relationship between datetable and each table with the date one,

 

now the problem is i created a net profit measure of net profit = SUM(revenue[total]) - SUM(expenses[amount])

 

when i do a relationship beteen revenue invoice date and datetable, it gives me the correct calculation , but i need the relatiosnhip to be between paid date and datetable and when i do that the calculations are all wrong

 

so i want power bi to let me use paid date because if i dont, the total revenue of august will be 4000 instead of 6500

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

Read about inactive relationships and USERELATIONSHIP  modifiers.

View solution in original post

1 REPLY 1
lbendlin
Super User
Super User

Read about inactive relationships and USERELATIONSHIP  modifiers.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.