Forum Discussion
Date Domension with DirectQuery connection
- 10 years ago
I had to make minor changes with quotations to have it work:
Date =
ADDCOLUMNS (
CALENDAR ( "1-jan-2000", "31-dec-2025" ),
"DateAsInteger", FORMAT ( [Date], "YYYYMMDD" ),
"Year", YEAR ( [Date] ),
"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], "dddd" ),
"Quarter", "Q" & FORMAT ( [Date], "Q" ),
"YearQuarter", FORMAT ( [Date], "YYYY" ) & "/Q" & FORMAT ( [Date], "Q" )
)
Where should I enter Power Query ? I'm not finiding it !
1. Click Edit Queries window
2. Choose Blank Query in Get Query button and then click ok.
3. click "Advanced Editor" and totally replace the power which i given.
now youe date master ready to use...
- iLikeAzureSQL10 years agoHelper I
Getting this error:
Expression.Error: The column 'Column1' of the table wasn't found.
Details:
Column1- Baskar10 years agoResident Rockstar
No way to getting error, pls share your power query
- iLikeAzureSQL10 years agoHelper I