Forum Discussion
Irussaa
Helper I
6 years agoASAP - Need formula
Hi guys, Anyone have formulation to generate weekending data like the picture below (rounded in red line)? I need colum of data that contain week ending date with format just like in the pict at...
- 6 years ago
Hi Irussaa ,
If you want a DAX formula, you could try the following DAX:
Column = "W" & WEEKNUM ( 'DateDim'[WeekEnding], 1 ) & " " & MONTH ( 'DateDim'[WeekEnding] ) & "/" & DAY ( 'DateDim'[WeekEnding] )
v-eachen-msft
Community Support
6 years agoHi Irussaa ,
Replace WEEKNUM ( 'DateDim'[WeekEnding], 1 ) with WEEKNUM ( 'DateDim'[WeekEnding], 2 ). After my tests, it will work.
Irussaa
Helper I
6 years agov-eachen-msft I'm sorry can I ask one more question?
Why the WE data isn't arranged in the chart?
Thank you!
- PattemManohar6 years ago
Community Champion
Irussaa Please change your WE column "Sort By Column" to the WeekEndingNumber that needs to be derived from WeekEndingDate. (As you can't directly use the WeekEndingDate for Sort By Column, as WE is using that field)
- Irussaa6 years ago
Helper I
PattemManohar okay thanks!