Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Dear
i have build report and date start from start from 2020 in my caledar quesry, now i want to add 2019 dates, how i can add those dates to exiting caleddar query
BR
Solved! Go to Solution.
Create a blank query in the query editor and repace the code in the advance editor with this:
let
Source = List.Dates(#date(2019, 1, 1), 365, #duration(1, 0, 0, 0)),
#"Converted to Table" = Table.FromList(Source, Splitter.SplitByNothing(), null, null, ExtraValues.Error)
in
#"Converted to Table"
Append the new calendar to your current one.
/ J
@Anonymous , how you create the calendar.
you can create like
Date = calendar(date(2019,01,01), date(2020,12,31))
https://radacad.com/creating-calendar-table-in-power-bi-using-dax-functions
https://www.archerpoint.com/blog/Posts/creating-date-table-power-bi
https://www.sqlbi.com/articles/creating-a-simple-date-table-in-dax/
HI i have already my caleddar strting from 2020
bu i need to add 2019 on top of exiting one, i do not want to break current one
looking for your help
thanx
Create a blank query in the query editor and repace the code in the advance editor with this:
let
Source = List.Dates(#date(2019, 1, 1), 365, #duration(1, 0, 0, 0)),
#"Converted to Table" = Table.FromList(Source, Splitter.SplitByNothing(), null, null, ExtraValues.Error)
in
#"Converted to Table"
Append the new calendar to your current one.
/ J
User | Count |
---|---|
126 | |
108 | |
99 | |
65 | |
62 |
User | Count |
---|---|
137 | |
116 | |
102 | |
71 | |
61 |