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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Nietzsche
Helper IV
Helper IV

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

v-jingzhan-msft
Community Support
Community Support

Hi @Nietzsche 

 

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
v-jingzhan-msft
Community Support
Community Support

Hi @Nietzsche 

 

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

November Carousel

Fabric Community Update - November 2024

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

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.