Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi all
I have a monthly data source which has date columns showing:
I am trying to create a new date column that gives 1st of the month for a standard UK date format e.g. top row would be 01/04/2017.
I have calculated the year from the fiscal year (labelled year in the table) and the month number from month column:
Now all it seems I need to do is add a "01/" & MONTHUM &"/" & Year but its now a string. How do I get a proper date?
Manyy thanks
Solved! Go to Solution.
My advice is to not create a string, but an actual date column and than add your favorite date format. to create the date (computed) colum: DATE([Year], [MONTHNUM],1)
I Have managed to fix it now using Bing Chat which gave me:
DATE([Year], [Month Number], 1)
Works just fine!
My advice is to not create a string, but an actual date column and than add your favorite date format. to create the date (computed) colum: DATE([Year], [MONTHNUM],1)
User | Count |
---|---|
14 | |
9 | |
7 | |
7 | |
6 |
User | Count |
---|---|
21 | |
11 | |
10 | |
10 | |
8 |