Forum Discussion

bhelou's avatar
bhelou
Responsive Resident
6 years ago
Solved

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 ,

 

 

  • Anonymous's avatar
    Anonymous
    6 years ago

    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.

1 Reply

  • Anonymous's avatar
    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.