Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
I need to show monthly totals for the current fiscal year .
This is what i have and it works just fine but does not show the total for the current month.
O_Current = calculate(sum(Query1[SalesOrderCount]),LASTDATE('Edw DimDate (3)'[Date]))
I need all the previous months and the total thus far for the current month. Please help
Solved! Go to Solution.
I figured it out myself. Thank you
O_Current = CALCULATE(SUM(OpenOrders[SalesOrderCount]),lastdate(DATESBETWEEN(OpenOrders[SnapshotDate],min('Edw DimDate (3)'[FiscalMonthStartDate]),Max('Edw DimDate (3)'[FiscalMonthEndDate]))))
I figured it out myself. Thank you
O_Current = CALCULATE(SUM(OpenOrders[SalesOrderCount]),lastdate(DATESBETWEEN(OpenOrders[SnapshotDate],min('Edw DimDate (3)'[FiscalMonthStartDate]),Max('Edw DimDate (3)'[FiscalMonthEndDate]))))
Hi @IAmCare,
Can you please share some sample data to help us clarify your scenario?
Regards,
Xiaoxin Sheng
User | Count |
---|---|
93 | |
83 | |
77 | |
73 | |
66 |
User | Count |
---|---|
115 | |
105 | |
93 | |
65 | |
60 |