Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello
I'm trying to have calendar with "YYYY,MM,DD" and "HH:MM:SS"
First part is done with
Date = ADDCOLUMNS ( CALENDAR (DATE(2016,1,1), DATE(2018,12,31)), "DateDate" , FORMAT ( [Date], "MM/DD/YYYY" ), "Year" , FORMAT( [Date], "YYYY" ), "Monthnumber" , FORMAT ( [Date], "MM" ), "YearMonthnumber" , FORMAT ( [Date], "YYYY/MM" ), "YearMonthShort" , FORMAT ( [Date], "YYYY/mmm" ), "MonthNameShort" , FORMAT ( [Date], "mmm" ), "MonthNameLong" , FORMAT ( [Date], "mmmm" ), "DayOfWeekNumber" , WEEKDAY ( [Date] ), "DayOfWeek" , FORMAT ( [Date], "dddd" ), "DayOfWeekShort" , FORMAT ( [Date], "ddd" ), "Quarter" , "Q" & FORMAT ( [Date], "Q" ), "YearQuarter" , FORMAT ( [Date], "YYYY" ) & "/Q" & FORMAT ( [Date], "Q" ) )
Second part I'm stugling with
Who can help to make calendar including hours, minutes and seconds?
BR
Pavel
Solved! Go to Solution.
I highly recommend you make Date calendar table and Time part table separated. You can imagine that if you want to get "hh:mm:ss" for every single date, you will get a 24*60*60 times huge table than your existing Date table. So just Create a Time table with Hour, Minute, Seconds, etc columns in your data model.
Please also see this article:
Data Import Best Practices in Power BI
Regards,
I highly recommend you make Date calendar table and Time part table separated. You can imagine that if you want to get "hh:mm:ss" for every single date, you will get a 24*60*60 times huge table than your existing Date table. So just Create a Time table with Hour, Minute, Seconds, etc columns in your data model.
Please also see this article:
Data Import Best Practices in Power BI
Regards,
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 43 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |