nerdexam
Microsoft

PL-300 · Question #65

You have a table named Sales. A sample of the data in Sales is shown in the following table. You create a stacked column chart visualization that displays ProductName by Date. You discover that the…

The correct answer is A. Create a new table that has columns for the date, year, week, and day. When individual dates appear on the axis instead of a date hierarchy, the root cause is typically a missing proper date/calendar table. Creating a dedicated table with explicit Date, Year, Week, and Day columns gives Power BI the structured hierarchy it needs to group by year…

Submitted by rania.sa· Apr 18, 2026Model the data

Question

You have a table named Sales. A sample of the data in Sales is shown in the following table. You create a stacked column chart visualization that displays ProductName by Date. You discover that the axis for the visualization displays all the individual dates. You need to ensure that the visualization displays ProductName by year and that you can drill down to see ProductName by week and day. What should you do first?

Exhibit

PL-300 question #65 exhibit

Options

  • ACreate a new table that has columns for the date, year, week, and day.
  • BCreate a new hierarchy in the Sales table.
  • CFormat the visualization and set the type of the X-Axis to Categorical.
  • DConfigure a visual filter for the Date column that uses an advanced filter.

How the community answered

(48 responses)
  • A
    83% (40)
  • B
    4% (2)
  • C
    10% (5)
  • D
    2% (1)

Explanation

When individual dates appear on the axis instead of a date hierarchy, the root cause is typically a missing proper date/calendar table. Creating a dedicated table with explicit Date, Year, Week, and Day columns gives Power BI the structured hierarchy it needs to group by year and enable drill-down to week and day. This must happen first-before building the hierarchy or adjusting the visual-because the hierarchy columns don't exist in the Sales table yet.

Topics

#Date Hierarchy#Date Dimension Table#Drill Down#Time Intelligence

Community Discussion

No community discussion yet for this question.

Full PL-300 Practice