Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
107 | |
100 | |
78 | |
64 | |
58 |
User | Count |
---|---|
148 | |
113 | |
97 | |
84 | |
67 |