Forum Discussion

Neka's avatar
Neka
Icon for Helper III rankHelper III
1 year ago
Solved

Fabric Notebook not performing calculations on some data in a semantic model

I have a notebook that is performing gross and net sales calculations on a semantic model grouped by Source, Date, and Customer. Here is the python code that is calculating the gross sales by date an...
  • Neka's avatar
    1 year ago

    In case anyone comes across the same issue, I had a call with a Microsoft agent and he suggested using the following code in my notebook before performing any functions:

    fabric.refresh_dataset(dataset="your_dataset", workspace="workspace_name")
    It has been working so far. Hope this helps!