๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ

Power BI/DAX

[Power BI] DAX - GENERATE

๋ฐ˜์‘ํ˜•

 

Dates = 
VAR BaseCalendar =
    CALENDARAUTO(6)
RETURN
    GENERATE (
        BaseCalendar,
        VAR BaseDate = [Date]
        VAR YearDate = YEAR(BaseDate)
        VAR MonthNumber = MONTH(BaseDate)
        RETURN ROW("Day", BaseDate,
                    "Year", YearDate,
                    "Month Number", MonthNumber,
                    "Month", FORMAT(BaseDate, "mmmm"),
                    "Year Month", FORMAT(BaseDate, "mmm yy" )))

 

๋ฐ˜์‘ํ˜•

'Power BI > DAX' ์นดํ…Œ๊ณ ๋ฆฌ์˜ ๋‹ค๋ฅธ ๊ธ€

[Power BI] DAX - SUMMARIZE  (0) 2021.02.23
[Power BI] DAX - SUMMARIZECOLUMNS  (0) 2021.02.23
[Power BI] DAX - CALCULATE  (0) 2021.02.23
[Power BI] DAX - Dynamic Index  (0) 2020.09.01
[Power BI] DAX - The GENERATESERIES function  (0) 2019.08.07