Forum Discussion
baneworth
Helper III
4 years agoWeekday filtering in DAX
Dear All, after checking the forum for hours i give up, i couldn't find the solution to my problem. If anyone could be so kind and take a look at my problem. I have a Column with dates when ...
amitchandak
Super User
4 years agobaneworth , Try like
measure
RFTavg = calculate(AVERAGEX(VALUES(vwPassdownNew[Date]),[RFT]), filter(vwPassdownNew,vwPassdownNew [Work_Day] =1))
where column
Work_Day = if(WEEKNUM([Date],2)>=6,0,1)
- baneworth4 years ago
Helper III
Dear amitchandak
Thank you for quick reply.
I have 2 Questions
1. What do you refer to as "vwPassdownNew[Date]"? I do not have such as of now.
2. my Work_Day is a column created by SQL Datasource. Therefore i can not change as you recommended. What can i do instead? Or did you mean a new measure?
Best regards
Matthias