Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago

Help with returns Dax scenario

Hi,

 

I have a

 

Date table - Full Date & Season Code

Sales Table - order number  & order date

Returns Table - order number & return date & return reason

 

I am wanting to count the number of orders that have a return with specific reason lost in transit with season code 'aw20'

 

So the date in the returns table isnt relevent the join is between

 

Sales.orderdate and Date.fulldate  

Sales.ordernumber and Returns.OrderNumber

 

I guess the question is in powerbi how do I only pull the back the orders placed in a specific timeperiod with returns?

 

Thanks in Advance.

 

 

 

 

 

 

2 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Anyone?

    • v-easonf-msft's avatar
      v-easonf-msft
      Icon for Community Support rankCommunity Support

      Hi, Anonymous 

      Sample data and expected result will better help us understand what you want.

      Please provide some simplified data so it will be easier to suggest possible approaches.

       

      Best Regards,
      Community Support Team _ Eason