276°
Posted 20 hours ago

SwiftGlimpse Large A0 Blank Reusable One Month Wall Calendar Wet Erase Laminated Monthly Wall Planner (122cm x 91cm)

£9.9£99Clearance
ZTS2023's avatar
Shared by
ZTS2023
Joined in 2023
82
63

About this deal

My approach to teaching people to use Power Query is to always use the UI where possible. I first use the UI to do the hard work, then jump in and make small changes to the code created by the UI to meet any specific variations required. Keep this concept in mind as you read this article. These eco-friendly advent calendars offer a sustainable way to countdown to Christmas while supporting ethical and environmentally conscious brands. By choosing reusable and refillable options, you can create a greener, more eco-conscious holiday season that brings joy to both you and the planet. I added a new custom step again and entered the M function DateTime.LocalNow without any parameters. (remember, if you just type the function name, the documentation will appear. I simply added a custom column with the following formula to create this column. =([Fin Year]-2000)*100 + [Fin Month] As the festive season approaches, it's time to start thinking about ways to celebrate and there’s one item that beats all others for the countdown: The advent calendar. Now there are so many more ways to be eco at Christmas including by opting for an eco-friendly advent calendar.

I think the secret to make a good reusable calendar is really knowing the person you are gifting it to so you can choose things that they will definitely like,' adds Alessia. What to look for in a reusable advent calendar? Inserted Day Name" = Table.AddColumn(#"Inserted Month Name", "Day Name", each Date.DayOfWeekName([Date]), type text), My new code (1 above) correctly calculates the financial year (shown in 2). Note I also changed the default column name to “Fin Year” to avoid confusion with calendar year. Add Other Columns Inserted First Characters1" = Table.AddColumn(#"Inserted First Characters", "DDD", each Text.Start([Day Name], 3), type text), Added Custom” = Table.AddColumn(#”Fiscal Source”, “Date ISO8601”, each Date.ToText([Date], “YYYY-MM-DD”))The next problem is that this is Date/Time format. I only want Date format, so I wrapped a DateTime.Date() function around the code to extract the date portion (shown below). I renamed this step Today. Each time the query is refreshed, this step will automatically update to reflect the current date. As well as being something you can treasure rather than throw away after using, a fabric advent calendar allows you to choose bespoke token gifts the recipient will love. Whether favourite chocolates, festive nik naks, mini toys, stationery or even little notes with Christmas activity ideas, there is so much scope for how you can make this a personalised advent calendar. Plus, filling your own advent calendar can often be cheaper than buying one from scratch.

After doing this, something strange happened. A new query was created (two below) and this new query passes the parameters to the first query (shown in 3 below). Let me explain this further. From the documentation above, I can see that there are no parameters required for this function. So I just added () to the end of the function to return the current date/time. You can see once again that this is a scalar value (not a table) because you can “see” the value below the formula bar. Power Query will only add the days after they are converted to a “duration”. When I made this change, it worked for me as you can see below. Alessoa goes on to note that choosing a reusable advent calendar over a disposable one also 'gives you an opportunity to really show the person you are gifting the calendar to that you know them well and you really care about them'.While we love a pre-made advent calendar – such as our favourite craft advent calendars or stationery advent calendar options – there's something extra lovely about a reusable advent calendar you can fill with treats of your choosing. Inserted Month" = Table.AddColumn(#"Inserted Day Name", "Month", each Date.Month([Date]), Int64.Type),

From beautiful hand-stitched designs to miniature wooden houses, reusable advent calendars will delight kids and grown-ups for years to come. Single-use advent calendars may look new and novel, but they are hard to recycle and promote unsustainable shopping habits we should be moving away from. Inserted Day of Week" = Table.AddColumn(#"Inserted Month", "Day of Week", each Date.DayOfWeek(([Date]), Day.Sunday)+1, Int64.Type), Let’s take a closer look at the best UK eco-friendly advent calendar options, perfect for your green Christmas. Inserted Month Name" = Table.AddColumn(#"Inserted Year", "Month Name", each Date.MonthName([Date]), type text), I added a new step using the “Add Step” button (1 below). This created a new step (2 below). Note how this new step automatically references the previous step (3). This is the default, but it doesn’t have to be this way.Eco-friendly advent calendars are perfect for those of us who want to enjoy the Christmas period while also reducing our environmental footprint. In this article we’ll showcase the 7 best eco-friendly advent calendars to make your December that little bit greener. I created columns for fiscal year, quarter, month, etc. so I assume calculating this once, as above, is more efficient than doing the calculation for every fiscal column. (I may be wrong – Microsoft could be optimising the additional recalculations away). Designed to be reused every year, wooden and fabric advent calendars make brilliant Christmas decorations. Some are shaped like Christmas trees, while others have been designed to hang along the fireplace (such as this beautiful design from Ginger Ray).

Great. Now the user can manually change the StartDate step to any date, and the calendar will auto grow in length. Actually this code will grow up to yesterday’s date. You can simply add 1 to the Length to make it grow up to and including the current date. Inserted Year" = Table.AddColumn(Custom1, "Fin Year", each Date.Year([Date]+#duration(184,0,0,0)), Int64.Type), Just to make things difficult, you can’t specify an end date for the calendar. Instead you have to specify how many periods (days in this case) the calendar should run for. I want my calendar to run up to and including the current date every time the calendar is refreshed. This implies I have to find out today’s date and then subtract the start date and hence calculate how many days are required in the calendar. The second Query (shown as 2 below) called Invoked Function has 1 line also: = Calendar(#date(2016, 1, 1), 100, #duration(1, 0, 0, 0))

Just by looking at the UI above (red box), you can see that there is some strange data format returned. You can probably work out this data is in the format DDD:HH:MM:SS. This “duration” format wont work in the next step I am about to show you, so first I needed to extract an integer portion of the duration so it contains just the days. I did this using a function called Duration.Days below. This way, the 29th, 30th, and 31st of August 2015, for example, all map to the 29th of February 2016, keeping the fiscal month correct (i.e. August is the 8th calendar month and all days in August should be in the 2nd fiscal month). Inserted First Characters" = Table.AddColumn(#"Inserted Day of Week", "MMM", each Text.Start([Month Name], 3), type text), Note: The benefit of invoking the function is that it manages all the syntax and parameters automatically for you using the UI wizard – much easier given there is currently no Intellisense capabilities in Power Query. It is important to add an ID column that supports the creation of custom time intelligence formulas. I cover time intelligence in detail here. The YYMM column is not useful for time intelligence because the gap between each number is not evenly spaced. eg 1711, 1712, 1801, 1802…

Asda Great Deal

Free UK shipping. 15 day free returns.
Community Updates
*So you can easily identify outgoing links on our site, we've marked them with an "*" symbol. Links on our site are monetised, but this never affects which deals get posted. Find more info in our FAQs and About Us page.
New Comment