Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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!
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
112 | |
107 | |
97 | |
39 | |
31 |
User | Count |
---|---|
153 | |
122 | |
77 | |
74 | |
44 |