Skip to main content
Announcements
Happy New Year! Cheers to another year of collaboration, connections and success.
cancel
Showing results for 
Search instead for 
Did you mean: 
lalitkgehlot89
Creator II
Creator II

Need logic help..

Hi,

In attached data I want to show employee growth over in line chart.

With full accumulation and with full data it is showing correct result.

But by default I want to show only data of Max year. in this case value is coming wrong.

Please help me out asap..

Getting Result.

Wrong result.JPG

Expected result on without any selection.

Expacted.JPG

Regards,

Lalit Kumar

6 Replies
Clever_Anjos
Employee
Employee

Use Set Analysis

COUNT({<Year={"$(=Max(Year))"}>} your value)

maxgro
MVP
MVP

look at the attachement

1.png

lalitkgehlot89
Creator II
Creator II
Author

Hi Maxgro,

Data which was given to you was with accumulation.

Please find the attached data without accumulation.

I want to show Employee growth over MonthYear and without any selection it should be show Max Year data.

Regards,

Lalit kumar

er_mohit
Master II
Master II

Hi

PFA.

Hope it helps.

susovan
Partner - Specialist
Partner - Specialist

Hi lalit,

Its might be work,

Sum({<Year={"$(=Max(Year))"}>}Your Value)

Warm Regards,
Susovan
yadhunandhanan
Partner - Contributor III
Partner - Contributor III

Hi Lalit,

Use this Expression,

if(GetSelectedCount(Year)=0,Max({$<Year={"$(=Max(Year))"}>}WORKER),Max(WORKER))

Hope it helps.