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.
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
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 |
---|---|
106 | |
104 | |
78 | |
68 | |
61 |
User | Count |
---|---|
144 | |
106 | |
106 | |
82 | |
70 |