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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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