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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Nietzsche
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

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! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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

Users online (751)