Create a variance measure
This example demonstrates a method for creating a variance (Budget - Actual) between existing data points.
Create field to display last refresh date and time
This is a code block, entered through the query editor, that will give you a timestamp for the last time a Power BI data set was refreshed.
Power BI Calendar Script
This example is a block of code to create a calculated table in Power BI to generate a calendar based on a date field