forrestgump
New Member
- Joined
- Sep 30, 2010
- Messages
- 22
Hi all,
I have the following dax code which i want to transfer to power query so i can exclude certain rows before they get to Power Bi desktop:
The issue is how do i write this in Power Query?
I have the following dax code which i want to transfer to power query so i can exclude certain rows before they get to Power Bi desktop:
Code:
FilterMostRecentSurvey =
IF (
SurveyData[Report date]
= CALCULATE (
LASTDATE ( SurveyData[Report date] ),
FILTER ( ALL ( SurveyData ), SurveyData[ID] = EARLIER ( SurveyData[ID] ) )
),
"IN",
"OUT"
)
The issue is how do i write this in Power Query?