Create a DateKey YYYYMMDD format using DAX Format Function Power BI

preview_player
Показать описание
Published on Sep 16,2021:

In this video, we will learn to get a datekey in YYYYMMDD format using DAX format function.
DAX for the function is :
DimDate = ADDCOLUMNS( CALENDARAUTO(),"DateKey",FORMAT([DATE],"YYYYMMDD"))

SUBSCRIBE to learn more about Power BI,Power Query, Power Pivot, Excel,SQL Server and Python!!

Our Playists:

ABOUT DAGDOO:
Website:

Questions? Comments and SUGESTIONS? You will find me here:

Twitter: @dagdooe

Category: Science & Technology
License: Standard YouTube License
Рекомендации по теме
Комментарии
Автор

well it still reads this new column as a text. It is not gonna help if we want use it as a slicer.

aleksanderukaszewski
Автор

Hi There,
Quick question! My model doesn't have date column but it's having month and year, how can I get actual and forecast values based on my filter selection on month.

mchandrasekhar