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 everyone I need somebody´s help.
I want to have a measure that always sum the last month from today month costs and use those values in another measure. But the important thing is that it has to be always the last month sum of costs without using filters or slicers. This is because i want to use them in another measure "inventory value/(always last month costs/365)".
Thank you very much
Solved! Go to Solution.
You may take a look at the links below.
you might check out the PREVIOUSMONTH() function
Returns a table that contains a column of all dates from the previous month, based on the first date in the dates column, in the current context.
PREVIOUSMONTH(<dates>)
Term | Definition |
Dates | A column containing dates. |
A table containing a single column of date values.
This function returns all dates from the previous month, using the first date in the column used as input. For example, if the first date in the dates argument refers to June 10, 2009, this function returns all dates for the month of May, 2009.
The dates argument can be any of the following:
A reference to a date/time column.
A table expression that returns a single column of date/time values.
A Boolean expression that defines a single-column table of date/time values.
and use it to get the dates to sum up in a measure...which you could then refer to in another measure
Help when you know. Ask when you don't!
What im looking for is a measure that always always take the las month costs. For example, if today is September, then i want that my measure always take the sum of costs from august. This is because in the other measure i need only the last month costos.
You may take a look at the links below.
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 |
---|---|
113 | |
100 | |
78 | |
76 | |
52 |
User | Count |
---|---|
146 | |
109 | |
106 | |
88 | |
61 |