Forum Discussion
CraigM4
3 years agoNew Member
Quarter to date calculation using month slicer as a reference point
Good evening I am not new to power bi but just can't seem to find a way to do this. I have a simple dashboard set up (dummy data extracts and pbix attached). There are two visuals controlled by o...
Greg_Deckler
Community Champion
3 years agoCraigM4 Not sure I completely understand but perhaps something like the following:
Measure =
VAR __Month = MAX('Actual'[Mth])
VAR __Quarter = MAX('Actual'[Qtr])
VAR __Table = FILTER(ALL('Actual'), [Qtr] = __Quarter && [Mth] <= __Month)
VAR __Result = SUMX( __Table, [Value] )
RETURN
__Result
CraigM4
3 years agoNew Member
Thanks Greg, I'll give that a try and let you know.