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, I am trying to cumulate units available monhtly for the last fiscal month. I wrote this measure and it works perfectly until i dry to add SamePeriodAsLastYear. If i leave off Invoice_DimDate[IsCurrentFiscalYear] = 1) then it works but it goes back to the begining of time for the data and the unit couts are huge. I just want the current fiscal year. Can anybody helpme get the current year unit counts and the previous year unit counts?
YearRunningTotal =
CALCULATE (
COUNTROWS( 'Invoice Fact_WIPDaily'),
FILTER (
ALL ( 'Invoice Fact_WIPDaily' ),
'Invoice Fact_WIPDaily'[INV DATE (I10)]<= max('Invoice Fact_WIPDaily'[INV DATE (I10)])),Invoice_DimDate[IsCurrentFiscalYear] = 1)
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 |
---|---|
109 | |
99 | |
74 | |
63 | |
62 |
User | Count |
---|---|
143 | |
104 | |
102 | |
81 | |
66 |