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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

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
Tad17
Solution Sage
Solution Sage

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
Tad17
Solution Sage
Solution Sage

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
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.