Skip to content

Commit

Permalink
909
Browse files Browse the repository at this point in the history
  • Loading branch information
no-arbitrage committed Nov 19, 2024
1 parent e2bb96b commit 7fcb29a
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions _posts/2024-11-18-How-to-Diversify-your-investment.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,6 @@ PowerQuery code is here ( in case you are interested). I’ve wrote my own code

```jsx
{% raw %}
{{"Date.1", type date}}


let
Source = Excel.CurrentWorkbook(){[Name="Table2"]}[Content],
Splitbydelimiter = Table.SplitColumn(Source, "Date", Splitter.SplitTextByEachDelimiter({" "}, QuoteStyle.Csv, false), {"Date.1", "Date.2"}),
Expand All @@ -120,11 +117,10 @@ let
transform = List.Transform( columnheader, each {_, type number} ),

TypeChange = Table.TransformColumnTypes(withDates,transform),
TypeChange2 = Table.TransformColumnTypes(TypeChange, {% raw %} {{"Date.1",type date}}) {% endraw %}
TypeChange2 = Table.TransformColumnTypes(TypeChange, {{"Date.1",type date}})
in
TypeChange2


{% endraw %}
```

### Step #3 : Using Solver to get the allocation.
Expand Down

0 comments on commit 7fcb29a

Please sign in to comment.