Forum Discussion
Slicer
- 4 years ago
Hi powerbi56 ,
According to your description, I create a sample.
By your formula, get the same result as you described.
Here's my solution, modify the formula like this:
Last 12 before 12 = IF ( [Last 12] = BLANK (), BLANK (), CALCULATE ( 'Data'[Total], SAMEPERIODLASTYEAR ( Data[Month] ) ) )Get the expected result.
I attach my sample below for reference.
Best Regards,
Community Support Team _ kalyjIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi powerbi56 ,
According to your description, I create a sample.
By your formula, get the same result as you described.
Here's my solution, modify the formula like this:
Last 12 before 12 =
IF (
[Last 12] = BLANK (),
BLANK (),
CALCULATE ( 'Data'[Total], SAMEPERIODLASTYEAR ( Data[Month] ) )
)
Get the expected result.
I attach my sample below for reference.
Best Regards,
Community Support Team _ kalyj
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.