Forum Discussion
Insurance triangle
I'm using a matrix to display a triangle. The triangle is cumulative and currently extends to the maximum developmentperiodkey.
This is all well and good but I want it to blank /hide/not calculate any values which are greater than todays month (developmentperiodkey Rows) highlighted in RED based on the Year (Columns). but don't have the DAX skills to do it, not for the want of trying...
The code for the measure is currently:
Measure = CALCULATE([Value],FILTER(ALL('DevelopmentPeriods'),DevelopmentPeriods[DevelopmentPeriodKey]<=MAX(DevelopmentPeriodsAny help would be greatly appreiated.
Many thanks.
Try this
Measure = CALCULATE([Value],FILTER(ALL('DevelopmentPeriods'),
DevelopmentPeriods[DevelopmentPeriodKey]<=MAX(DevelopmentPeriods))) * DIVIDE([Value],[Value])
12 Replies
- parry2k
Super User
Try this
Measure = CALCULATE([Value],FILTER(ALL('DevelopmentPeriods'),
DevelopmentPeriods[DevelopmentPeriodKey]<=MAX(DevelopmentPeriods))) * DIVIDE([Value],[Value])- parry2k
Super User
- AnonymousNot applicable
Incredible... thank you so much for the solution and amazingly quick response!!??
You don't know how long I'm spent looking at this.
Very much obliged.
- parry2k
Super User
AnonymousI'm glad it worked out, I love PowerBI community. Feel free to reach out for any future questions. Cheers!!!