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 have the following table with Date and Cumulative Total. I need two measures - one is the cumulative total at the first day of a month (The first day might not start from 1st always. The first date has to the the first date of this date set for that month). The second measure is the cumulative total at the last day of a month ( again, the last day has to be the last date of this date set for that month).
Solved! Go to Solution.
hi, try with this both measures
FirstDate-CTotal = CALCULATE ( SUM ( Table1[Cumulative Total] ), FIRSTDATE ( Table1[Date] ) )
LastDate-CTotal = CALCULATE ( SUM ( Table1[Cumulative Total] ), LASTDATE ( Table1[Date] ) )
hi, try with this both measures
FirstDate-CTotal = CALCULATE ( SUM ( Table1[Cumulative Total] ), FIRSTDATE ( Table1[Date] ) )
LastDate-CTotal = CALCULATE ( SUM ( Table1[Cumulative Total] ), LASTDATE ( Table1[Date] ) )
Hi @Vvelarde,
I had tried this earlier and hadn't worked. But it worked perfectly this time. Thank You.
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 |
---|---|
113 | |
97 | |
85 | |
70 | |
61 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |