Hi all,
I want to calculate YTD distinct count of GLs used for shopping (by the customers) and YTD-YoY% for the same but I am not able to perform this calculation. Please provide inputs to help me implement this.
Sharing the dummy data here:
Hi all,
I want to calculate YTD distinct count of GLs used for shopping (by the customers) and YTD-YoY% for the same but I am not able to perform this calculation. Please provide inputs to help me implement this.
Sharing the dummy data here:
Hi @chabbils,
For the YTD, you could use a periodToDateSumOverTime calculation
Year To Date=
periodToDateSumOverTime(sum({GLs shopped}), Reporting Date, MONTH)
Then for YTD-YOY%, you should be able to use something like this
Let me know if you have any additional questions or if this works for your case.
Hi @chabbils,
It’s been awhile since we last heard from you so just wanted to check in and see if you had any additional questions or if you were able to solve your question?
If we do not hear back within 3 days, I’ll go ahead and mark as solved.
Thank you!
Hi @Brett, the calculations are not working correctly. The thing is I want the YTD distinct count (not YTD count). Same goes with YTD-YoY%. The attached screenshot shows the result I got based on below mentioned calculated fields I created. Please help me get the correct calculations.
distinct_count({gl_product_group_desc})
periodToDateSumOverTime(distinct_count({gl_product_group_desc}), {reporting_date}, YEAR)
periodOverPeriodPercentDifference({YTD - GLs shopped}, {reporting_date}, YEAR, 1)
I also tried below calculation for YTD Distinct count but it’s not giving correct result:
periodToDateSumOverTime(distinct_count({gl_product_group_desc}), {reporting_date}, MONTH)
Hi @chabbils, does this post help:
In case you need further assistance with your problem, please create a sample dashboard with sample dataset showing your problem state using Arena and please create a new post, so we can look at it from a fresh perspective. (Details on using Arena can be found here - QuickSight Arena)
Did this solution work for you? I am marking this reply as, “Solution,” but let us know if this is not resolved. Thanks for posting your questions on the QuickSight Community!
@Xclipse I tried the solution from older post but it didn’t resolve the issue.
I’ve created a new post (YTD Distinct Count & YTD-YoY% Distinct Count) and created a sample dashboard using Arena YTD - Distinct GLs Shopped
Great! Thanks, we will follow-up on the other post.