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.
Good morning, I need to add the value of a measure to the maximum date of the base minus one day. As I developed it does not work, it follows $ Recipe D = CALCULATE ([Recipe]; LASTDATE ('Data Link' - 1).
In addition I need to add the accumulated of the month that is smaller than the maximum date selected.
Solved! Go to Solution.
Hello there. Even I didn't understand the cumulative part, i think this can help.
Recipe = CALCULATE(SUM('Table'[NumberRecipe]); DATEADD(LASTDATE('Table'[Date]); -1;DAY))
Regards,
Happy to help!
Hi @Jacy,
>>In addition I need to add the accumulated of the month that is smaller than the maximum date selected.
You can try to use TOTALYTD function to calculate the accumulated value.
Referencelink:
Regards,
Xiaoxin Sheng
Hello there. Even I didn't understand the cumulative part, i think this can help.
Recipe = CALCULATE(SUM('Table'[NumberRecipe]); DATEADD(LASTDATE('Table'[Date]); -1;DAY))
Regards,
Happy to help!
Hello, this function works but only on a separate object, on a graph that has the company size as an example, it takes the maximum date minus one of each company. Ex - Company x has last move day 09-06-2017 and company y has last on 08-06-2017 when playing the function of maximum date in this chart he picks up 9 in company x and 8 in company y. But the right thing is to take the last date ... day 9. the same logic of maximum date-1.
Good morning, I need to add the value of a measure to the maximum date of the base minus one day. As I developed it does not work, it follows $ Recipe D = CALCULATE ([Recipe]; LASTDATE ('Data Link' - 1).
In addition I need to add the accumulated of the month that is smaller than the maximum date selected.
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 |
---|---|
111 | |
100 | |
80 | |
64 | |
58 |
User | Count |
---|---|
146 | |
110 | |
93 | |
84 | |
67 |