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 Expert
How would you extract from the date column the day and date intro a new column to show the following:
Column A
01/01/2025
02/01/2025
New Column
01-Wed
02-Thr
And so on - needs to be done on Power query as the FACT table has 11 million rows
Solved! Go to Solution.
Hi @BlueWhite3699
From PQ you can use this formula
Text.From(Date.Day([Column A])) &"-"&Text.Start(Date.DayOfWeekName([Column A]),3)
But
The best practise is to have this column in a calender table
+
Note that we have a format option directly from visualizations :
The pbix with the axample is attached
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
Excellent - thank you
User | Count |
---|---|
60 | |
59 | |
56 | |
38 | |
29 |
User | Count |
---|---|
82 | |
62 | |
45 | |
40 | |
39 |