Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
shyamcharan
Creator III
Creator III

Count of Days with Fractile function

Hi Experts,

I have data which has the ID, week, dates in the week, the response time in seconds and minutes as shown below.

    

IDWeekDateResponseTime_Secondds        Min
1101-01-201781913.65
2101-01-20174958.25
3101-01-201776812.8
4101-01-20175879.783333
5101-01-20174898.15
6101-01-20175108.5
7101-01-201797516.25
8101-01-201763810.63333
9101-01-201787214.53333
10101-01-201781413.56667
11101-01-20175549.233333
12101-01-20172163.6
13102-01-20175298.816667
14102-01-201794515.75
15102-01-20172414.016667
16102-01-201776112.68333

As shown in the attached QVW, chart 1 has the 50th percentile values calculated for each individual day using the Fractile function.

In chart 2, I would need to show the count of days in a week that had the 50th percentile value >= 10.5.

The expected result from the data in attached QVW should be Week 1 = 3 and Week 2 = 5 days.

However, I am unable to get it worked.

Can you please help. Appreciate your response.

Regards,

Shyam

24 Replies
sunny_talwar

That makes sense

tresesco‌ - I am unable to send you a private message (you have not followed me)... I have thought about connecting with you outside of these threads, but was never really able to send you a message... Do you mind sending me a private message or following me

Kushal_Chawda

tresesco‌, me also not able to send message to you. Please do the needful . Sometimes it is good to reach out legend privately

tresesco
MVP
MVP

Sunny, Kushal,

I have just sent you message. If I could, you too should be able to. I am not very good at these community rules. Sorry, if I am wrong.

sunny_talwar

tresesco‌ - This changed around 1 and half year ago when connecting logic changed.... earlier when I added someone else as a connection, it was a two way thing... but around 1 and half year ago, it changed to just one way thing.... If I add you as a connection... then you can message me but I can't. I can only message you if you add me as a connection.

I think this might have done to save the privacy of people where they can accept to be a connection but they still don't want to get unnecessary private messages

shyamcharan
Creator III
Creator III
Author

@kush141087, Thanks for the suggestion.

I would be using the below solution.

=Count(DISTINCT {<Date={"=Fractile(Min,0.5)>10.5"}>}Date)

Thanks again all!