Hi! I wrote this
=CALCULATE (
[Total Sales],
FILTER (
ALL ( 'Calendar' ),
'Calendar'[ID]
>= MIN ( 'Calendar'[ID] ) - 365
&& 'Calendar'[ID]
>= MAX ( 'Calendar'[ID] ) - 365
)
)
but my result is not same show on your book,[img][/img]
Thanks for your help
Total Sales LY ID from Supercharge Excel
-
carlosam1409
- Posts: 2
- Joined: Mon Jul 30, 2018 2:02 am
Total Sales LY ID from Supercharge Excel
- Attachments
-
- from Supercharge Excel page 136
- book.jpg (52.89 KiB) Viewed 2675 times
-
MattAllington
- Posts: 1154
- Joined: Sun May 04, 2014 4:01 pm
- Location: Sydney, Australia
Re: Total Sales LY ID from Supercharge Excel
Mmm, sorry I missed this earlier. Did you sort it out? It should be <=MAX()
Matt Allington is Self Service BI Consultant, Trainer and Author of the Book "Supercharge Power BI".
Power BI Training
Power BI Training
Return to “Help with the Book "Supercharge Power BI"”
Who is online
Users browsing this forum: No registered users and 1 guest


