Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hi,
I have this table where I have trouble getting the correct cumulative values. I would like have a cumulative count column that is not 1, 1, 1, but instead 08/07 = 2, 25/07 = 3 etc.
I did this measure:
Solved! Go to Solution.
Hi @Anonymous ,
If you don't want to expand your table visual to show cumulative count in continuous date, you don't need to use [Date] in 'Kalendar' table. Or you can add a 'IF' function in your measure.
cumm =
IF (
COUNT ( Data[Intern status] ) <> BLANK (),
CALCULATE (
COUNT ( Data[Intern status] ),
FILTER ( ALL ( Kalendar[Date] ), 'Kalendar'[Date] <= MAX ( Kalendar[Date] ) )
)
)
Result is as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
If you don't want to expand your table visual to show cumulative count in continuous date, you don't need to use [Date] in 'Kalendar' table. Or you can add a 'IF' function in your measure.
cumm =
IF (
COUNT ( Data[Intern status] ) <> BLANK (),
CALCULATE (
COUNT ( Data[Intern status] ),
FILTER ( ALL ( Kalendar[Date] ), 'Kalendar'[Date] <= MAX ( Kalendar[Date] ) )
)
)
Result is as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous
I actually want to visually show the data in a line chart. Can I use the same equation?
@Anonymous , make sure you are using a date table and date table in visual
cumm = CALCULATE(COUNT(Data[Intern status]),filter(all('Date'),'Date'[date] <=max('Date'[date])))
Running Total/ Cumulative: https://www.youtube.com/watch?v=h2wsO332LUo&list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&index=41
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 47 | |
| 44 | |
| 40 | |
| 18 | |
| 18 |
| User | Count |
|---|---|
| 70 | |
| 68 | |
| 33 | |
| 32 | |
| 32 |