Forum Discussion

gamvazdelima's avatar
gamvazdelima
Frequent Visitor
2 years ago
Solved

Customer's purchase frequency based on transactions table. Autonomous Store Frauds

Hi All. I have a table of customers transactions with ~550k rows. Contaning 20 columns such as Customer ID, date of purchase, types, $ Total, $ Subtotal, $ Discount, payment method, number of itens....
  • ToddChitt's avatar
    ToddChitt
    2 years ago

    As stated before: Check out Fabric. You can use a Power BI Gateway to connect to on-premise sources like your folder. Then use Power Query to extract data using the script(s) you have now. (You may even be able to copy and paste the M code with minimal manual editing!) And finally, you can push the Power Query Dataflow output to a table in a Lakehouse or Warehouse.

    Honestly, though, I would also incorporate a Pipeline or two to process one file at a time, then move that file out of the way. (you really don't want to be processing hundreds of files via Power Query every night if all you are doing is adding a few more to the folder each day.)

    Best of luck.