Forum Discussion
SkorpionAAM
5 years agoHelper V
Max Calculation
New to DAX here. I am trying to calculate the latest record i create the new column which if place_digital_adress is same then Match if not then Not match _LOOK = var _val = LOOKUPVALUE('GasSt...
- 5 years ago
- 5 years ago
@SkorpionAAM So, this? PBIX attached.
Measure 6b = VAR __Table = ADDCOLUMNS( SUMMARIZE('Table (6)',[ID],"Date",MAX([Date])), "Status",MAXX(FILTER('Table (6)',[ID]=EARLIER([ID])&&[Date]=EARLIER([Date])),[STATUS_OF_STATION]) ) RETURN COUNTROWS(FILTER(__Table,[Status]="Open"))
SkorpionAAM
5 years agoHelper V
in this DAX where i can add max Funcation
مفتوح1 = var openx = CALCULATE(COUNT('GasStation Survey'[_LOOK]),FILTER('GasStation Survey','GasStation Survey'[_LOOK] = "Not Match"),FILTER('GasStation Survey','GasStation Survey'[survey_round_id] = "Round 2"),FILTER('GasStation Survey','GasStation Survey'[STATUS_OF_STATION] = "Open")
) return
IF(ISBLANK(openx),0,openx)
Greg_Deckler
5 years agoCommunity Champion
SkorpionAAM - Not work = not helpful. I have mocked up your data and measure in the PBIX attached below sig. What are you looking for in terms of expected output? See Page 6, Measure 6, Table (6)
- SkorpionAAM5 years agoHelper V
i looking for each ID latets status