Forum Discussion
dpc_development
Helper III
5 years agoIncluding column from parent in Table visual messes up aggregation
Please see the attached excerpt: https://drive.google.com/file/d/1D24cyDv3Y9k2fY6EgtWAERFgWoA9uGxC/view?usp=sharing I have a formula that calculates which of the rows in the table is the latest v...
- Anonymous5 years ago
Hi Anonymous,
You can create a measure as below:
Latest event date = CALCULATE ( MAX ( 'Unit Revision'[Event Date] ), FILTER ( ALLSELECTED('Unit Revision'), 'Unit Revision'[Unit Id] = SELECTEDVALUE ( 'Unit Revision'[Unit Id] ) && 'Unit Revision'[Event Date] >= MIN ( 'Calendar'[Date] ) && 'Unit Revision'[Event Date] <= MAX ( 'Calendar'[Date] ) ) )Best Regards
dpc_development
Helper III
5 years agoI feel this has something to do with relationships between the parent and child. Anyone has any clue?
Ashish_Mathur
Super User
5 years ago