This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
can we get ready table for last 5 years Time/Fiscal Calendar/Normal Calendar table to import in Power BI
also can we calculate Month and year column like Jan-19/18/17
Shree
Solved! Go to Solution.
Try
Table2 = CALENDAR(DATE(2016,1,1),DATE(2019,12,31))
You can change the start and end year as per your need
like 2015 -2025
Table2 = CALENDAR(DATE(2015,1,1),DATE(2025,12,31))
You can create a date table using the calendar function. Refer
https://radacad.com/creating-calendar-table-in-power-bi-using-dax-functions
User format function get data in any format
Format(date,"MMM-YY")
Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information and mark me with @
Thanks.
i have created a new column and added this formula getting error..failed to resolve name date.. Format(date,"MMM-YY")
Error Failed to resolve name 'Date'. It is not a valid table, variable, or function name.
I have used below menitoned formula and created calendar table for 2018 and 2019 but wants to add 2016 and 2017 also
Table2 = CALENDAR(DATE(2018,1,1),DATE(2019,12,31))
Try
Table2 = CALENDAR(DATE(2016,1,1),DATE(2019,12,31))
You can change the start and end year as per your need
like 2015 -2025
Table2 = CALENDAR(DATE(2015,1,1),DATE(2025,12,31))
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 34 | |
| 31 | |
| 30 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 60 | |
| 48 | |
| 29 | |
| 23 | |
| 23 |