We're giving away 30 tickets for FREE! Share your story, your vision, or your hustle and tell us why YOU deserve a ticket.
Apply nowWin a FREE 3 Day Ticket to FabCon Vienna. Apply now
hi All,
I'm having a problem to calculate cumulative string data. The data Table contains 'DOCUMENT' in string format and 'Planneddate'. and want to calculate how many document counted with respect to Calendar table to get an idea how many document counted to Calendar date. There's also some duplication of string expected in the column 'DOCUMENT'. I have seen some sample of cumulative calculation, should be simple but this doesn't work as expected. If someone can help on this.
cumulative count string data
Thank you
Solved! Go to Solution.
PBI file attached.
hi, it seems doesnt work still.
The file is below for further check.
cumulative_data_string.pbix
hi Ashish,
Thank you. this is what i'm looking for.
One thing i notice, the table Date now in visual shows only rows with value 'Documents till date'. Any idea how to show it like original table in Calendar 'Date' vs 'Documents till date'?
Thanks in advance 🙏.
You are welcome. I cannot understand your new requirement.
hi Ashish,
for the coding, the value shown only for the dates that has count value. i'm trying to modified to include the whole calendar date that was generated previously. at the early date (Jan 1st), we dont have data means zero until we start having it at Aug 4th.
i'm doing some modification to include all calendar date, but still stuck on generating count at dates with zero count but follow previous value. attached the figure and file.
cumulative_data_string_07082023.pbix
doc till date include all calendar date.
Thank you in advance,
Yudhi
Hi Ashish,
Perfect! this is what i'm looking for. Thanks for the support 👍.
Regards,
Yudhi
You are welcome.
Hi,
That link take me to a sign-in page. Try this method
Measure = distinctcounta('Table'[Document])
Measure1 = calculate([Measure],datesbetween(calendar[Date],minx(all(calendar),Calendar[date]),max(calendar[date])))
Hope this helps.
User | Count |
---|---|
64 | |
59 | |
46 | |
35 | |
33 |
User | Count |
---|---|
85 | |
84 | |
70 | |
49 | |
46 |