Hi,
Request your guidance to solve this issue
We have a dashboard which shows sales for the day and month when we select a salesman from the slicer. We would like to have the sales during the last year on the same date for the selected salesman. i.e if sales of 02/12/2022 is $100 then it should also show sales for the date 02/12/2021. how can we make this happen
kindly advise
regards,
dsmitha
Solved! Go to Solution.
Hi @dsmitha ,
You can use SAMEPERIODLASTYEAR to accomplish this:
https://learn.microsoft.com/en-us/dax/sameperiodlastyear-function-dax
Please accept as solution if this answers the question- thanks!
Hi @dsmitha ,
You can use SAMEPERIODLASTYEAR to accomplish this:
https://learn.microsoft.com/en-us/dax/sameperiodlastyear-function-dax
Please accept as solution if this answers the question- thanks!
hi djurecicK2,
Thanks a lot, super simple solution
double kudoz
regards,
dsmitha
Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.
Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!
Join the biggest FREE Business Applications Event in LATAM this February.
User | Count |
---|---|
216 | |
53 | |
49 | |
46 | |
42 |
User | Count |
---|---|
264 | |
211 | |
113 | |
79 | |
66 |