Forum Discussion
Anonymous
5 years agoNot applicable
DAX Format
Hello
I am super new to Power BI and DAX. I have been watching a lot of videos online to learn about DAX and I wonder why do people split the DAX formula into different lines whenever they write it? What is the reason behind it?
Thank you!!
Anonymous , readability is the main reason.
Like I can create a new column like
Column = var _1 =1 var _2 = 2 return _1+_2
or like
Column =
var _1 =1
var _2 = 2
return _1+_2
2 Replies
- amitchandak
Super User
Anonymous , readability is the main reason.
Like I can create a new column like
Column = var _1 =1 var _2 = 2 return _1+_2
or like
Column =
var _1 =1
var _2 = 2
return _1+_2
- AnonymousNot applicable
thank you for your reply amitchandak 😀