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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
BenBlackswan
Helper V
Helper V

What is the point of DummyVariable = null?

Hello everybody, 

 

I am reading the book Master Microsoft Power BI 2nd ed, in the book there is this code and the author don't really explain why there is a need for DummyVariable = null after defining the Source.

Nietzsche_0-1716155753137.png

 

Can someone tell me why the author used DummyVariable = null?

 

Thank you.

 

2 ACCEPTED SOLUTIONS
lbendlin
Super User
Super User

To demonstrate the lazy vs eager evaluation logic of Power Query?

Evaluation model - PowerQuery M | Microsoft Learn

View solution in original post

Anonymous
Not applicable

Hi @BenBlackswan 

 

Based on my understanding, "DummyVariable = null" is not a need after the Source. Probably the author is to show that it can be added here. And when it is added here, it will not affect the DirectQuery table as it is not used thus is ignored. 

 

Best Regards,
Jing
If this post helps, please Accept it as Solution to help other members find it. Appreciate your Kudos!

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @BenBlackswan 

 

Based on my understanding, "DummyVariable = null" is not a need after the Source. Probably the author is to show that it can be added here. And when it is added here, it will not affect the DirectQuery table as it is not used thus is ignored. 

 

Best Regards,
Jing
If this post helps, please Accept it as Solution to help other members find it. Appreciate your Kudos!

lbendlin
Super User
Super User

To demonstrate the lazy vs eager evaluation logic of Power Query?

Evaluation model - PowerQuery M | Microsoft Learn

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors