Power BI Masterclass - Power BI DAX - How to Calculate Ages

Power BI Masterclass - Power BI DAX - How to Calculate Ages

Assessment

Interactive Video

Information Technology (IT), Architecture

University

Hard

Created by

Quizizz Content

FREE Resource

The video tutorial introduces DAX in Power BI, focusing on calculating the age of individuals using made-up data from Excel. It covers setting up data, formatting dates, and creating a measure for today's date. The tutorial demonstrates an incorrect method for age calculation and then provides a correct approach using DAX functions like 'floor' and 'year fraction'. The video emphasizes the flexibility of DAX in Power BI, highlighting that multiple solutions exist for similar problems.

Read more

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the first step in setting up data for age calculation in Power BI?

Calculate today's date

Format the date column

Download data from the resource section

Create a new Power BI report

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you adjust the text size in a Power BI table?

By changing the data type

By using the column tools

By accessing the formatting options

By creating a new measure

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to get today's date in Power BI DAX?

TODAY()

CURRENTDATE()

NOW()

DATE()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the 'has one value' function do in DAX?

Checks if a column has any values

Returns true if there is only one value in a column

Calculates the sum of values in a column

Formats the date in a column

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the 'selected value' function in DAX?

To select multiple values from a column

To return a single value from a column when only one exists

To format the selected value

To calculate the average of selected values

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to round a number down to the nearest significance in DAX?

CEILING()

FLOOR()

TRUNC()

ROUND()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct approach to calculate age using DAX?

Directly subtract the birth date from today's date

Use the FLOOR and YEARFRAC functions

Use the SUM function

Subtract the birth year from the current year