Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
YoungLearning
Helper III
Helper III

Can anyone explain how to even comprehend what the visual would look like for a question like this?

 

What is the answer? This is an extremely weird question.

 

YoungLearning_0-1723191496417.png

YoungLearning_1-1723191508017.png

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Thanks for the reply from lbendlin , please allow me to provide another insight: 
Hi  @YoungLearning ,

I created some data:

vyangliumsft_0-1723431954182.png

vyangliumsft_1-1723431954184.png

Using the Sum() function will add all the data in the column, when used as a table visual, it will be based on the existence of columns in the table to group the sum.

For example

This visual has [Year] and [Total Population], then [Total Population] will be grouped according to [Year].

vyangliumsft_2-1723431970062.png

There are [Group] and [Total Population] in this visual, then [Total Population] will be summed up according to [Group].

vyangliumsft_3-1723431970063.png

2023 Population = CALCULATE([Total Population],'DateTable'[Year]=2023) The full code for this function is calculate(([Total Population],filter(all('DateTable'[Year]'),'DateTable'[Year]=2023), the all function ignores the ' DateTable'[Year], so it returns the same value.

vyangliumsft_4-1723432022313.png

You can use the following function if you want to achieve an answer of C:

FILTER is an iterative function that passes a range of specific values from specific tables and columns. at which point a pro-forma table is created in the value context containing the row with 'DateTable'[Year]=2023 and the other two rows stacked as empty without counting values;

FILTER function (DAX) - DAX | Microsoft Learn

vyangliumsft_5-1723432022314.png

 

powerbi - DAX Calculate function with and without FILTER - Stack Overflow

Avoid using FILTER as a filter argument in DAX - DAX | Microsoft Learn

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

 

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Thanks for the reply from lbendlin , please allow me to provide another insight: 
Hi  @YoungLearning ,

I created some data:

vyangliumsft_0-1723431954182.png

vyangliumsft_1-1723431954184.png

Using the Sum() function will add all the data in the column, when used as a table visual, it will be based on the existence of columns in the table to group the sum.

For example

This visual has [Year] and [Total Population], then [Total Population] will be grouped according to [Year].

vyangliumsft_2-1723431970062.png

There are [Group] and [Total Population] in this visual, then [Total Population] will be summed up according to [Group].

vyangliumsft_3-1723431970063.png

2023 Population = CALCULATE([Total Population],'DateTable'[Year]=2023) The full code for this function is calculate(([Total Population],filter(all('DateTable'[Year]'),'DateTable'[Year]=2023), the all function ignores the ' DateTable'[Year], so it returns the same value.

vyangliumsft_4-1723432022313.png

You can use the following function if you want to achieve an answer of C:

FILTER is an iterative function that passes a range of specific values from specific tables and columns. at which point a pro-forma table is created in the value context containing the row with 'DateTable'[Year]=2023 and the other two rows stacked as empty without counting values;

FILTER function (DAX) - DAX | Microsoft Learn

vyangliumsft_5-1723432022314.png

 

powerbi - DAX Calculate function with and without FILTER - Stack Overflow

Avoid using FILTER as a filter argument in DAX - DAX | Microsoft Learn

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

 

lbendlin
Super User
Super User

What have you tried? Have you created these tables and measures, and evaluated the result for yourself?

 

The correct answer is D. Note that in your screenshot there are calculated columns. The ask was for measures.

Yes, I tried that again and realised it was measures. But how would you visualise without trying on PowerBI?

During the actual exam you would take a note of your knowledge gap and move on to the next question.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors