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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.