March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hello I want to create a Date Table with the following format :
MONTH : format whole number (1-12)
YEAR: start year: from two tables f_final & f_mvt, source column YEAR whole number
FullDate : 1st day of each month ex 01/01/2014 , 01/02/2014 ...
ID_DATE: YEAR*100+MONTH
Thank you,
Solved! Go to Solution.
@Anonymous
maybe you can try this
Table =
VAR TBL=ADDCOLUMNS(CALENDARAUTO(),"month",month(''[Date]),"year",year(''[Date]),"ID_Date",year(''[Date])*100+month(''[Date]),"fulldate",date(year(''[Date]),month(''[Date]),1))
RETURN SUMMARIZE(TBL,[month],[year],[ID_Date],[fulldate])
Proud to be a Super User!
@Anonymous
maybe you can try this
Table =
VAR TBL=ADDCOLUMNS(CALENDARAUTO(),"month",month(''[Date]),"year",year(''[Date]),"ID_Date",year(''[Date])*100+month(''[Date]),"fulldate",date(year(''[Date]),month(''[Date]),1))
RETURN SUMMARIZE(TBL,[month],[year],[ID_Date],[fulldate])
Proud to be a Super User!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
124 | |
87 | |
85 | |
70 | |
51 |
User | Count |
---|---|
205 | |
153 | |
97 | |
79 | |
69 |