Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
I try to create this Date-Table...
it musst to able add every new month, the last month to date table.
firstOfPeriode
01.01.2020 |
01.02.2020 |
01.03.2020 |
01.04.2020 |
01.05.2020 |
01.06.2020 |
01.07.2020 |
01.08.2020 |
=List.Dates(#date(2020, 01, 01), (?????))
Thnx or any Idea!
Solved! Go to Solution.
works perfect!
Thanx!
= List.Dates(#date(2020, 01, 01), Duration.Days(Duration.From(DateTime.Date(Date.StartOfMonth(DateTime.LocalNow())) - #date(2020, 01, 01))), #duration(1, 0, 0, 0))
something like this
List.Dates(#date(2020, 01, 01), Duration.Days(Date.StartOfMonth(DateTime.LocalNow()) - #date(2020, 01, 01)), #duration(1, 0, 0, 0))
😞
works perfect!
Thanx!
= List.Dates(#date(2020, 01, 01), Duration.Days(Duration.From(DateTime.Date(Date.StartOfMonth(DateTime.LocalNow())) - #date(2020, 01, 01))), #duration(1, 0, 0, 0))
@lboldrino So you want to get the Date.Month of your max value, subtract that from the Date.Month of your min value and use that as your 2nd parameter, with a third parameter of 1?
Is that correct?
no. i want to create a simple datet table... start. 01.01.2020 to first day of ast month.
Hi @lboldrino ,
Refer following article on creating a Date table in Power BI Query Editor section:
https://radacad.com/all-in-one-script-to-create-date-dimension-in-power-bi-using-power-query
Thanks,
Pragati
User | Count |
---|---|
12 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
25 | |
19 | |
14 | |
8 | |
7 |