Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Dynamic date table and language

Hi,

I have few questions regarding date tables: 

  1. To be able to use all dates functions in DAX, do I need the date table to cover a full year even though I do not have data for the full year? Ie. if my data start at Feb 1st, do I still need the date table to cover Jan as well to be able to use all date functions in Power BI? Does this also apply to Fiscal years? I.e. do I need full fiscal years as well? 
    1. If yes; how can I adjust below M code to dynamically create dates for full year, based on dates in my raw data? Current code for start date is: = List.Min(Table.Column("Table 1","Order date")) - so if the first Order date is e.g. Feb 1st 2018, how can I get a date table starting Jan 1st 2018 instead of Feb 1st 2018?
  2.  Changing language for dates: I use English as language in Power BI, but get the dates in Swedish format. I have locale as Swedish when importing since I need that to import correctly, however I want the months to be spelled in English not Swedish in the imported table. How can I fix that? See below: 
  3. Capture.PNG

 

Need all dates, how ?

If using FY do I need all dates for the FY as well?

How change language? 

2 REPLIES 2
v-deddai1-msft
Community Support
Community Support

Hi @Anonymous ,

 

>>1.To be able to use all dates functions in DAX, do I need the date table to cover a full year even though I do not have data for the full year?

 

No, you don't have to make the data table cover a full year. You can even create a calendar table for it . About fiscal year, please refer to https://www.powerobjects.com/blog/2018/12/19/sorting-data-fiscal-year-power-bi/

 

>>2.Changing language for dates: I use English as language in Power BI, but get the dates in Swedish format. 

 

Power bi currently does not provide this function, it is recommended that you use some translation tools/functions. Please refer to the similar issue: https://community.powerbi.com/t5/Desktop/Change-language-in-date-year-month-day/td-p/75731

 

Best Regards,

Dedmon Dai

amitchandak
Super User
Super User

@Anonymous ,

Refer if this can help https://www.youtube.com/watch?v=jZQ4BZmtseo

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.