Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Chart with unique values on Dimension

Hello,

I have a line chart with Date as dimension and count Email address as expression.

The problem is that the chart shows all dates, instead of aggregating per date.

How can I show only unique values as dimension?

Capture9.PNG

12 Replies
Anonymous
Not applicable
Author

The DayName() and DayStart() functions also remove / zero the time decimals.

But I still prefer using the Floor() function as it is far easier to see what is happening in the script from a quick eyeball.

brijesh1991
Partner - Specialist
Partner - Specialist

Add a new field in your script:

Load *,

Date(MakeDate(Year(SubmitDate),Month(SubmitDate),Day(SubmitDate)),'DD/MM/YYYY') as SubmitDateNew

From Table

Use this new field in your chart dimention.
Expression: Count(Distinct Email)

Not applicable
Author

Hi Sunny T. This solution fixed the problem. Thanks a lot and have a nice day.