ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 94 - TDA-C01 discussion

Report
Export

You have the following: Overall Rank and Rank are calculated fields that use the RANK function.

You filter out the sub-category where [Ovorall Rank] - 1.

For which three the sub-categories will the value of Rank change? Choose three.

A.
Furnishings
Answers
A.
Furnishings
B.
Tables
Answers
B.
Tables
C.
Chairs
Answers
C.
Chairs
D.
Accessories
Answers
D.
Accessories
E.
Copiers
Answers
E.
Copiers
F.
Machines G Phones
Answers
F.
Machines G Phones
G.
Bookcases
Answers
G.
Bookcases
Suggested answer: B, D, F

Explanation:

In Tableau, the RANK function assigns a rank to each row within a partition of the data, based on the value of the field being ranked. It is important to understand that the rank is recalculated whenever the underlying data or the partitioning changes.

In the given scenario, the Overall Rank is based on the Sales figures, while the Rank (presumably) is based on the Sales within the Category. When filtering on the condition where [Overall Rank] - 1, it means we are excluding the sub-category that has an Overall Rank of 2.

Looking at the data:

Furnishings has an Overall Rank of 8, which does not meet the filter condition ([Overall Rank] - 1). Therefore, its rank remains the same.

Tables have an Overall Rank of 3. When the sub-category with an Overall Rank of 2 is removed (Chairs in this case), Tables move up in the overall ranking. However, since Tables are the top-ranked within the Furniture category, their Rank within the category would remain unchanged at 1.

Chairs have an Overall Rank of 2, which meets the filter condition and thus will be removed from the view. We cannot determine the change in Rank for Chairs because they are filtered out.

Accessories have an Overall Rank of 5. If any sub-category with a higher Overall Rank (1 to 4) is removed, the rank of Accessories within the Technology category could change because it is currently ranked 3 in its category. With the removal of Phones (Overall Rank 1), the Rank of Accessories could potentially increase.

Copiers have an Overall Rank of 6, which does not meet the filter condition. Therefore, its rank remains the same.

Machines have an Overall Rank of 4. If we remove Phones (Overall Rank 1), Machines will move up in the overall ranking and potentially within the Technology category as well, changing its Rank from 2 to 1.

Phones have an Overall Rank of 1, which does not meet the filter condition of being Overall Rank 2. Therefore, its rank remains the same.

Bookcases have an Overall Rank of 7, which does not meet the filter condition. Therefore, its rank remains the same.

Based on this analysis, when the sub-category with an Overall Rank of 2 (Chairs) is removed, the Rank value will change for Tables, Accessories, and Machines, as they will move up in the overall ranking within their respective categories. However, it's important to note that while Tables will move up in the overall ranking, their rank within the Furniture category would not change as they are already at the top. The rank changes for Accessories and Machines are due to the removal of Phones, which is ranked higher overall and within the Technology category.

asked 23/09/2024
J Von
49 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first