March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi dears,
I'm trying solve a problem with a measure I create to generate a total register by user and month/year and create a burndow graph.
So, in month like june 2022, when I don't have any register of my users, the cumulative measeure return a 0 values instead return the last value.
Below I sent the measure:
How can I reapeat the last value, when the month no has any data?
Thanks
@edersonsousa , We usually user these type of formula
Cumm Sales = CALCULATE(SUM(Sales[Sales Amount]),filter(all('Date'),'Date'[date] <=max('Date'[date])))
Cumm Sales = CALCULATE(SUM(Sales[Sales Amount]),filter(allselected('Date'),'Date'[date] <=max('Date'[date])))
And on axis we use date/period from date table
OK. But in my case I need to group by user and check if user has 1 or more lines... in this case I can´t use sum
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
User | Count |
---|---|
26 | |
21 | |
20 | |
13 | |
12 |
User | Count |
---|---|
40 | |
27 | |
27 | |
21 | |
20 |