Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I need to show the % of Fail by Week and % of Fail by Month. Can anyone help me please. As if we see the Member 'FR'. The 'FR' has % of Fail as 4.17% . so, my user is asking the same information if we take the dimension as Week.
Thanks.
I am confused now....
You have two different date formats and you have used only one format to convert the date in cross table !!
Use below and try to get your output.
If still not make it, let me know...
Date(Alt(Date#(Date,'DD-MMM-YY'),
Date#(Date,'DD/MM/YYYY'))) as Date,
please see attached.
EDIT: I tried using the below
Dimension: =IF(FiscalWeekSerial>=$(curFiscalWeekSeq)-4,FiscalWeek)
Expression :
=Count({<[Overall Result]={'Fail'}>} DISTINCT ID)/(Count({<[Overall Result]={'Pass'}>} Distinct (ID))+
Count({<[Add Overall Resilt]={'Pass'}>} Distinct (ID))+
Count({<[Overall Result]={'Fail'}>} Distinct (ID])))
but it is not showing correct values.
Here the qvw
Please check your data...
If you create a Straight Table with
Overall Result as Dimension
and
Count(Distinct ID) as Expression...
you will get result like
Fail 5
Pass 52
Pass 2
Why two Pass?
Looks like there are one extra space for pass against below two ID
F00565 and S02146
Hi,
Try this
=Count({<[Overall Result]={'Fail'}>} DISTINCT ID)/(Count({<[Overall Result]={'Pass'}>} Distinct ID)+
Count({<[Add Overall Resilt]={'Pass'}>} Distinct ID)+
Count({<[Overall Result]={'Fail'}>} Distinct ID))
Or
You can eliminate [Add Overall Resilt] field because you can get total ID by
Count({<[Overall Result]={'Pass'}>} Distinct ID) and
Count({<[Overall Result]={'Fail'}>} Distinct ID) expression
so you can
try this also,
=Count({<[Overall Result]={'Fail'}>} DISTINCT ID)/(Count({<[Overall Result]={'Pass'}>} Distinct ID)+
Count({<[Overall Result]={'Fail'}>} Distinct ID))
Regards,
PS
Thanks. when I am clicking individual Member it is showing different data under Week
suppose if I click on FR the % of fail in Data table is showing as 4.17% whereas the % of Fail with dimension Week is showing as under 6th week as 14.29% . Is that correct ?
Yes you are right. I created extra pass because of duplicate ID for different Dates.
Sorry But can you explain in details what you want ?
Thanks. I have a table with
Dimension: Member
Number Review
=(Count({<[Overall Result]={'Pass'}>} Distinct (ID))+
Count({<[Add Overall Resilt]={'Pass'}>} Distinct (ID))+
Count({<[Overall Result]={'Fail'}>} Distinct (ID])))
Number Fail =Count({<[Overall Result]={'Fail'}>} DISTINCT ID)
% of Fail= Number Fail/Number Review
Now my requirement is I need to show the % of Fail by Week and % of Fail by Month
I,e instead of dimension= Member I need Dimension= Week in one chart and Dimension=Month in another chart?
Can you please tell me is that correct?