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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
bhelou
Responsive Resident
Responsive Resident

selecting date between 2 different queries

Hi ,

 

I am new to Power BI , I Have  project Number and Revenue amount and Invoice amount , I need to link the date of the Invoice amount with the date of revenue aomunt taking into considiration the date of revenue amount could be greater of the invoice amount , i need to take the same month of both tables  and adding to it  ( - 10 days and + 10 days ) so it reads within the same range.

 

Meanning the last Invoice date i want it to read with the revenue date with the sum of both to see what i have invoiced vs what revenue i entered in the same period 

 

 

 

* dates table is applied in my file and working perfectly .

Thanks ,

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hey @bhelou 

 

I may be misunderstanding so feel free to correct me or clarify, but I believe all you need to do is create a calculated column with the DATEADD DAX function and then link those to your Master calender (date) table.

 

DATEADD: https://docs.microsoft.com/en-us/dax/dateadd-function-dax

 

If this helps please kudo.

If this solves your problem please accept it as a solution.

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hey @bhelou 

 

I may be misunderstanding so feel free to correct me or clarify, but I believe all you need to do is create a calculated column with the DATEADD DAX function and then link those to your Master calender (date) table.

 

DATEADD: https://docs.microsoft.com/en-us/dax/dateadd-function-dax

 

If this helps please kudo.

If this solves your problem please accept it as a solution.

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

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.