Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
97 | |
79 | |
73 | |
56 |
User | Count |
---|---|
145 | |
105 | |
104 | |
90 | |
63 |