Forum Discussion
DAX - Help Needed (row level check)
- 4 years ago
Hi,
You may download the solution workbook from here. I have used the Query Editor in MS Excel to solve the question. Implement the same steps in PowerBI Desktop.
You should have a proper date column i.e. without the ordinals such as rd, th. Share data in a format that i can paste into MS Excel with my suggested change.
- bangerasid4 years ago
Helper I
End of Week 11/06/2022 18/06/2022 25/06/2022 ID EOW Hire Date 10 18/06/2022 13/06/2022 10 25/06/2022 13/06/2022 - bangerasid4 years ago
Helper I
I am getting the following output, however, the expected output should have "Exclude" in place of "Include" at the highlighted cell.
- Ashish_Mathur4 years ago
Super User
Hi,
You may download the solution workbook from here. I have used the Query Editor in MS Excel to solve the question. Implement the same steps in PowerBI Desktop.
- bangerasid4 years ago
Helper I
Hi Ashish,
Thanks for the response. I want to do it at DAX level and not at power query, reason being the dataset is huge, for each ID there are around 10k rows.
I am just trying to compare if(joined on > end of week, "Exclude", "Include").
However, to do this, I am not able to get the end of week value in the highlighted area.values are coming for all the fields except for when the student has no attendance.
Used the below formula.
m_endofweek measure = VALUES(Weeks[End of Week])