Forum Discussion
Irussaa
6 years agoHelper I
ASAP - 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
6 years agoCommunity Support
Hi Irussaa ,
Replace WEEKNUM ( 'DateDim'[WeekEnding], 1 ) with WEEKNUM ( 'DateDim'[WeekEnding], 2 ). After my tests, it will work.
Irussaa
6 years agoHelper I
v-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 agoCommunity 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 agoHelper I
PattemManohar okay thanks!