Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hello Guy's,
I am looking for last 90 days Sale Value for every month. I could able to achieve only last 90 days amount of current month but not for every month. Can anyone help me out in writing a DAX expression for the same issue. I am expecting it as per the below format.
Regards
Ajay Emmadi
Solved! Go to Solution.
Hi @ajayemmadi1 ,
Maybe my solution is a little stupid, I assume that you have a index for your month sort like below:
Measure 2 = CALCULATE(SUM(Table6[Sales]),FILTER(ALL(Table6),Table6[Index] <= MAX(Table6[Index]) && Table6[Index] >= MAX(Table6[Index]) - 2))
Please try.
Aiolos Zhao
Proud to be a Super User!
Hi @ajayemmadi1 ,
Maybe my solution is a little stupid, I assume that you have a index for your month sort like below:
Measure 2 = CALCULATE(SUM(Table6[Sales]),FILTER(ALL(Table6),Table6[Index] <= MAX(Table6[Index]) && Table6[Index] >= MAX(Table6[Index]) - 2))
Please try.
Aiolos Zhao
Proud to be a Super User!
User | Count |
---|---|
90 | |
73 | |
68 | |
63 | |
56 |
User | Count |
---|---|
103 | |
94 | |
74 | |
60 | |
59 |