Forum Discussion
Custom Date
- 6 years ago
Hey Anonymous ,
you can use DAX to create column in your Calendar table like this:
Custom Date = FORMAT('Calendar'[Date] , "MMM-DD-DDD")The result will look like this, here a table visual:
Just use the column Custom Date on the axis.
Please be aware that data of multiple years might be aggregated.
Hopefully, this provides what you are looking for.
Regards,
Tom
- 6 years ago
Hello @Amjad ,
Create a new custom date column with the following DAX:
Custom Closes: UPPER(FORMAT(NombreDeColumna[NombreDeColumn],"MMM-DD-DDD"))Refer to the following image:Give it a thumbs up if this post helped you in any way and mark this post as a solution if you solved your !!!
- Anonymous6 years ago
Hi Anand,
eventhough I have timing in my Schedule Departure stop?
- 6 years ago
Hello @Amjad ,
just use the formula of my post, it is exactly the same formula published by @Anand24, only without the UPPER. Looks like I assumed you didn't need all the uppercase and lowercase characters.
Best regards
Tom
Hello @Amjad ,
Create a new custom date column with the following DAX:
Give it a thumbs up if this post helped you in any way and mark this post as a solution if you solved your !!!
- Anonymous6 years agoNot applicable
Hi Anand,
eventhough I have timing in my Schedule Departure stop?
- Anonymous6 years agoNot applicable
Thanks Anand.
It is working.
- Anonymous6 years agoNot applicable
Hey Anand,
If I need to make"Sep-08-Tue" is there other DAX?
Thanks
- Anonymous6 years agoNot applicable
I found it how to. I just need to remove Upper and it work.
- TomMartens6 years ago
Super User
Hello @Amjad ,
just use the formula of my post, it is exactly the same formula published by @Anand24, only without the UPPER. Looks like I assumed you didn't need all the uppercase and lowercase characters.
Best regards
Tom
- Anonymous6 years agoNot applicable
Hi Tom,
Yes I did and got solution thanks. I am stuck with one area. currently, I am making week number from my Schedule Stop Departure,
(Week = WEEKNUM(Data[Scheduled Stop Departure - Copy],1),but I want to make week canlander as per my orgnization weeks calander which is diffrent than general calander.
For example, next year 2021 my week 1 will be start 03/Jan/2021. but in excel if you type 03/jan/2021 and use Weeknum function it will show week 2. I want to make calander that match to my orgnization canlander.
If you could help will be appreciated.
Thanks