Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hi, i wanted to create running totals for Current (2019) and Previous (2018) Years and show them in line chart with Short Month name. measure [2018] and measure [2019] is count of Incidents for year 2018 and 2019 respectively
Cumulative Incident 2018 = CALCULATE([2018], Filter(ALLSELECTED(CalendarTable), CalendarTable[Date] <= max(CalendarTable[Date])))
Cumulative Incident 2019 = CALCULATE([2019], Filter(ALLSELECTED(CalendarTable), CalendarTable[Date] <= max(CalendarTable[Date])))
but if i plot them on line graph with month short name (Jan, Feb, Mar to Dec) then it repeats the total value of Cumulative Incident 2018 for each month. Also for current year it repeats last month total for Months which do no have values available yet.
Solved! Go to Solution.
Hi, Sorry please ignore it worked. i removed year from Filter
Thanks for your help. really appreciate.
thanks and regards.
See if my Time Intelligence the Hard Way provides a different way of accomplishing what you are going for.
https://community.powerbi.com/t5/Quick-Measures-Gallery/Time-Intelligence-quot-The-Hard-Way-quot-TIT...
Thanks for looking into this. I have downloaded your file and gone through it. These 2 measures TITHW_TotalLYTDHW and TITHW_TotalYTDHW are giving actual values for rective months and years. But i want them cumulatively. I try puting below formula but its not giving cumulative.
Hi, Sorry please ignore it worked. i removed year from Filter
Thanks for your help. really appreciate.
thanks and regards.
User | Count |
---|---|
128 | |
108 | |
100 | |
64 | |
62 |
User | Count |
---|---|
136 | |
113 | |
102 | |
71 | |
60 |