Forum Discussion

CmdrKeene's avatar
CmdrKeene
Icon for Helper IV rankHelper IV
8 years ago
Solved

What Join is More Performant?

I have what I imagine is probably a pretty basic need.  Two tables:   • Table with a list of customers and their ID numbers (about 50 rows) and • Table of orders (more than 8 million rows)   I ...
  • User_PBI's avatar
    8 years ago

    Hello,

     

    Keep Order as the main table and do left join with the customer table.

     

    Do not use filter date in the query, rather use slicer to filter date after importing the complete data, you can use DAX function for previous year comparison. While importing data  with 8 million rows it may take around 45 minutes.

    Later use gateway to auotmate the data refresh.

     

    Do not change the order date to start of the month, create new column based on the existing column-order date.

     

    Do not use grouping, from the visualziations you will be able to group the data by customer.

     

    Thanks.