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,
Is there a way to use SAMEPERIODLASTYEAR with filter so that I can get specific values... For example see my query below - it sums up everything - I would like to get the SUM for all records based on the date but also based on another column value which will contain e.g Code = 101
eg.
NetRevenue LY = CALCULATE(SUM('Daily Revenue Accommodation'[NetRevenue]), SAMEPERIODLASTYEAR('Daily Revenue Accommodation'[RevenueDate]),ALL('Daily Revenue Accommodation'))
Solved! Go to Solution.
Just add an additional filter to CALCULATE Function.
Just add an additional filter to CALCULATE Function.
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 |
---|---|
107 | |
100 | |
78 | |
64 | |
58 |
User | Count |
---|---|
148 | |
113 | |
97 | |
84 | |
67 |