Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
95 | |
80 | |
68 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |