Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
For some reason it is putting the day in as the month. How would i get it to go the otherway round?
Locale Settings are UK
I think you're going to have to give some sort of details of what you're talking about. What date, where, how...?
Proud to be a Super User!
I up;loaded a pic but for some reason its not showing. will try again
DATEVALUE takes your computer's locale settings for date order. Are you sure your locale settings are day/month/year and not month/day/year?
Proud to be a Super User!
Thanks Horseman. It seems PowerBI is hardcoded to use American settings which doesnt seem right.
How would I go about using Date?
Proud to be a Super User!
Checked the locale and it is showing dd/mm/yyyy.
So that doesnt seem to be the issue.
How about the Regional Settings in Power BI Options?
Anyway why not use DATE instead of DATEVALUE? It has an explicit argument order and it's tidier to code since you don't have to concatenate a string.
Proud to be a Super User!
In the calcodes column i have the code
calcodes = DATEVALUE("01"&"/"&[Month of the year]&"/"&[Year])
For some reason it is putting the month of the year as the day.... any idea?
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
107 | |
98 | |
78 | |
65 | |
53 |
User | Count |
---|---|
144 | |
104 | |
100 | |
86 | |
64 |