Forum Discussion
Each if VS if alone
- 6 years ago
Hi Sauber,
You need to understand the "each" syntax in M code, it will be used to find all records in corresponding column which meet the condition. You could refer to The Each Keyword in Power Query and Understanding Power Query M functions for detail. This is used in M code
And when you create measure , you will use if syntax , this is used in DAX.
Best Regards,
Zoe ZhiIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Sauber,
You need to understand the "each" syntax in M code, it will be used to find all records in corresponding column which meet the condition. You could refer to The Each Keyword in Power Query and Understanding Power Query M functions for detail. This is used in M code
And when you create measure , you will use if syntax , this is used in DAX.
Best Regards,
Zoe Zhi
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Stemar_Aubert6 years agoResolver I
Thank you for helping!