I need some help with a measure that will allow me to filter based on values in other columns.
I want to find the "Date" for every combination of "Account Number" & "Service ID" where the Event is "Connect"
There will only ever be one date for the combination of Account Number, Service ID & Event (Where the event is Connect)
Could anyone help with the DAX for this. Table Name Below is: ServicesFACT
Solved! Go to Solution.
@ToddMate add following measure,
My Date = CALCULATE ( MAX( ServiceFact[Date] ), ServiceFact[Event] = "Connect" )
drop account number, service id and my date (new measure) in a table visual and you will have the result
Hi @parry2k ,
Thank you very much for your solution, it worked perfectly and i will mark this as a solution accordingly.
However can i go one step further, the measures i am using (Again thanking you) are:
This returns exactly what i am after for the account / serviceID combination.
But how would you determine the average Tenure across the entire database rather than Account / ServiceID specific. I thought maybe there was a way to do an average of the tenure measure which i could then slice by product etc.
This Power Bi is fanastic, but as a former Excel user its changing the mindset of having a flat table and averaging the tunure column values accordingly.