Forum Discussion
curmonthoffset behavior on q level
- Anonymous4 years ago
I found a solution myself:
Cumulative Won MRR = SWITCH( TRUE(), and(SELECTEDVALUE(Dates[CuryearOffset])=0,and(SELECTEDVALUE(Dates[CurmonthOffset])=0,SELECTEDVALUE(Dates[CurQuarterOffset])=0)), 1), 0)
Anonymous , Qtr year is also from dates table ?
Try like
maxx(SELECTEDVALUE ( Dates), Dates[CurMonthOffset] ) = 0
Qtr year is also from dates table ? - yes
maxx(SELECTEDVALUE ( Dates), Dates[CurMonthOffset] ) = 0 - THIS Measure does not work, it should be maxx(Dates,SELECTEDVALUE (Dates[CurMonthOffset] )) = 0 i assume, but why would that solve the issue? (it does not change the outcome in the table)
- amitchandak4 years ago
Super User
Anonymous , I think my mistake, it should be
maxx(allselected( Dates), Dates[CurMonthOffset] ) = 0
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
- Anonymous4 years agoNot applicable
why would this possibly work though? this formula just shows me the max curmonthoffset i have in the table, it does not do anything related to whether the one on the current row is 0 or not.
There is no sample data, just the calendar table that I gave and the measure.