Free QSDA2024 Exam Braindumps (page: 6)

Page 5 of 14



Refer to the exhibit

A large transport company (Company A) acquires a smaller rival (Company B).

Company A has been using Qlik Sense tor 6 years to track revenue per ship journey. Ship journeys with no revenue (such as journeys to shipyards for repair) always show revenue of $0.

Company A wants to combine its data set with the data set of the acquired Company B. Company B's ship journey data shows $0 revenue in one of the following ways:

· A NULL value

· A value with one or more blank spaces (ASCII char code 32)

The data architect wants to conform the Company B data to the Company A standard, specifically regarding the use of an explicit $0 for journeys without revenue.
Which script line should the data architect use?

A)



B)



C)



D)

  1. Option A
  2. Option B
  3. Option C
  4. Option D

Answer(s): A

Explanation:

In this scenario, the data architect needs to conform the revenue data from Company B to match the data standard of Company A, where $0 is explicitly used to represent journeys without revenue.

Explanation of the Correct Script:

Option A: money(replace(Revenue, chr(32), 0)) AS [Revenue Conformed]

replace(Revenue, chr(32), 0): This part of the expression replaces any spaces (ASCII character code
32) in the Revenue field with 0.

money(...): This function formats the resulting value as currency. Since Company B may have either null values or spaces where 0 should be, this script ensures that any blanks are replaced with 0 and then formatted as currency.

Why Option A is Correct:

Handling Spaces: The replace() function is effective in replacing spaces with 0, conforming to Company A's standard of using $0 for non-revenue journeys.

Handling NULL Values: The money() function is used to ensure the final output is formatted as currency. However, it's important to note that NULL values are not directly handled by the replace() function, which is why it is applied before money() to deal with spaces.



Users of a published app report incomplete visualizations. The data architect checks the app multiple times and cannot replicate the error. The error affects only one team.

Which is the most likely cause?

  1. A security rule has been applied to the sheet object.
  2. The affected users were NOT added to the Section Access table.
  3. Section access restricts too many records.
  4. An Omit field has been applied.

Answer(s): C

Explanation:

In this scenario, users of a published app report incomplete visualizations, but the data architect is unable to replicate the error. This issue affects only one team, suggesting that the problem is related to how data is being restricted or filtered for that specific team.


Section Access: This is a security feature in Qlik Sense that controls user access to specific data within an app. If Section Access is misconfigured, it can restrict access to more records than intended, leading to incomplete visualizations for certain users or teams.

Restricting Too Many Records: If the Section Access is too restrictive, it might limit the data available to the affected users, causing the visualizations to display incomplete information. This could explain why the data architect, who likely has full access, cannot replicate the issue.



Exhibit.



One of the data sources a data architect must add for a newly developed app is an Excel spreadsheet. The Region field only has values for the first record for the region. The data architect must perform a transformation so that each row contains the correct Region.

Which function should the data architect implement to resolve this issue?

  1. Previous
  2. CrossTable
  3. Above
  4. IntervalMatch

Answer(s): A

Explanation:

The given Excel spreadsheet has a Region field where the region value is only specified for the first record within each region. The data architect needs to fill in the missing region values for subsequent rows.


Previous() Function: The Previous() function in Qlik Sense returns the value of the expression from the previous row. In this case, it can be used to fill down the Region values so that each row contains the correct region information.

Implementation: The script can be designed to check if the current row's Region value is missing (null). If it is missing, the script can assign the value from the previous row using the Previous() function.

LOAD

If(IsNull(Region), Previous(Region), Region) AS Region,

...

This logic fills in the missing Region values with the value from the preceding row, which effectively resolves the issue shown in the spreadsheet.



Refer to the exhibit.



A company stores the employee data within a key composed of Country, UserlD, and Department. These fields are separated by a blank space. The UserlD field is composed of two characters that indicate the country followed by a unique code of two or three digits. A data architect wants to retrieve only that unique code.

Which function should the data architect use?

A)



B)



C)



D)

  1. Option A
  2. Option B
  3. Option C
  4. Option D

Answer(s): A

Explanation:

In this scenario, the key is composed of three components: Country, UserID, and Department, separated by spaces. The UserID itself consists of a two-character country code followed by a unique code of two or three digits. The objective is to extract only this unique numeric code from the UserID field.

Explanation of the Correct Function:

Option A: RIGHT(SUBFIELD(Key, ' ', 2), 3)

SUBFIELD(Key, ' ', 2): This function extracts the second part of the key (i.e., the UserID) by splitting the string using spaces as delimiters.

RIGHT(..., 3): After extracting the UserID, the RIGHT() function takes the last three characters of the string. This works because the unique code is either two or three digits, and the RIGHT() function will retrieve these digits from the UserID.

This combination ensures that the data architect extracts the unique code from the UserID field correctly.






Post your Comments and Discuss QlikView QSDA2024 exam with other Community members:

QSDA2024 Discussions & Posts