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 would like to create a measure that sums daily total up to the day prior, and the measure [Date interval] is defined as:
[Date interval] = datediff (today(), 'Dates'[Date], day)
Solved! Go to Solution.
If I understand what you are trying to do correctly, you can try below
Forecast1 =CALCULATE ( SUM ( 'Sales'[TOTAL] ), 'Dates'[Date] <= MAX ( 'Dates'[Date] ) - 1 )
what this does is it sums up all sales[Total] value up to the day before.
Pasting some sample data will always help other people better understand what you are trying to do
If I understand what you are trying to do correctly, you can try below
Forecast1 =CALCULATE ( SUM ( 'Sales'[TOTAL] ), 'Dates'[Date] <= MAX ( 'Dates'[Date] ) - 1 )
what this does is it sums up all sales[Total] value up to the day before.
Pasting some sample data will always help other people better understand what you are trying to do
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 |
---|---|
103 | |
102 | |
87 | |
73 | |
67 |
User | Count |
---|---|
119 | |
111 | |
95 | |
79 | |
72 |