Forum Discussion
inconsistent weekend weekday DAX calculated value
- 9 years ago
Hi handrianto,
I notice that the date place in the table visual is [PickUpTimeLocal], while the GetWeekDay = WEEKDAY([DropOffTimeLocal].[Date],2).
And I also find there are records [PickUpTimeLocal] date is not equal to the [DropOffTimeLocal] date. As you compare the [PickUpTimeLocal] date with the weekday value from the [DropOffTimeLocal], the result you get is expected.
Best Regards,
Qiuyun Yu
Hi Qiuyun Yu, Thanks for the response. I've already update PBI Desktop to the latest update May 2017. I've corrected the DAX function (silly me) as you suggest. GetWeekDay = WEEKDAY([DropOffTimeLocal].[Date],2). but apparently after re-run the function and I checked the table test result; it is still the same.
in fact now I notice it is randomly occur in other dates.
DAX functionPBI Desktop Version8 march9 March10 March