title: Stucking on creating connection in model - Power BI
body: <p>I connect my sql database to Power BI. I got sth like 80.000 rows and I have two additional calculated columns that get previous vales. Here is a code  <code> Table.AddColumn(#&quot;Added Custom&quot;, &quot;prev_action3&quot;, each try #&quot;Added Custom&quot; { [Index] -1 } [Action Type] otherwise null) &quot;</code>  When I click close &amp; apply I got stuck in &quot;Creating connection in model&quot; with over an hour now with nooutput. Without 2 columns close &amp;apply cost like 1-2 minutes. I already tried this one <a href="https://community.powerbi.com/t5/Desktop/stucking-on-creating-connection-in-model/m-p/276796" rel="noreferrer">https://community.powerbi.com/t5/Desktop/stucking-on-creating-connection-in-model/m-p/276796</a> , but it does not change anything.</p>