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.
Hi everyone, i need help with a measure:
I have Tonnes information of the last 5 years of my company. I have a column in my data base by day-month-year.
What I need to do is to summarize depending on the date I am filtering, the Tonnes of the las 365 days.
Is it possible?
Thanks very much!
Solved! Go to Solution.
I assume you already have a data table. You can create a measure like below:
Last 1 Year Tonnes = CALCULATE ( SUM ( Table[Tonnes] ), DATESINPERIOD ( Date[Date], LASTDATE ( Date[Date] ), -1, YEAR ) )
Regards,
I assume you already have a data table. You can create a measure like below:
Last 1 Year Tonnes = CALCULATE ( SUM ( Table[Tonnes] ), DATESINPERIOD ( Date[Date], LASTDATE ( Date[Date] ), -1, YEAR ) )
Regards,
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 |
---|---|
97 | |
96 | |
81 | |
74 | |
66 |
User | Count |
---|---|
126 | |
106 | |
105 | |
86 | |
72 |