This Video Tutorial illustrates how to use For Loop Container to implement a simple loop structure.
For Loop Continaer provides a simple loop structure such as programming languages. It contains Init Expression, Eval Expreseeion, and Assign Expression. These three expressions makes the three main part of loop structure in programming languages as well, InitExpression is for initializing the loop. EvalExpression is for checking the condition for continue or exit from the loop, and Assign Expression if for setting the iteration seed based on expression.
As a sample in this video you will see that we use For Loop Container to loop through all integer dividers of a number. We use this structure to create a banding structure for time dimension which contains hours, minutes and seconds. In this sample we will create banding on Hours, which means banding on 2,3,4,6,8, and 12 hours duration will be created dynamically. same method can be used for banding of minutes and seconds.
Reza Rad is a Microsoft Regional Director, an Author, Trainer, Speaker and Consultant. He has a BSc in Computer engineering; he has more than 20 years’ experience in data analysis, BI, databases, programming, and development mostly on Microsoft technologies. He is a Microsoft Data Platform MVP for 12 continuous years (from 2011 till now) for his dedication in Microsoft BI. Reza is an active blogger and co-founder of RADACAD. Reza is also co-founder and co-organizer of Difinity conference in New Zealand, Power BI Summit, and Data Insight Summit.
Reza is author of more than 14 books on Microsoft Business Intelligence, most of these books are published under Power BI category. Among these are books such as Power BI DAX Simplified, Pro Power BI Architecture, Power BI from Rookie to Rock Star, Power Query books series, Row-Level Security in Power BI and etc.
He is an International Speaker in Microsoft Ignite, Microsoft Business Applications Summit, Data Insight Summit, PASS Summit, SQL Saturday and SQL user groups. And He is a Microsoft Certified Trainer.
Reza’s passion is to help you find the best data solution, he is Data enthusiast.
His articles on different aspects of technologies, especially on MS BI, can be found on his blog: https://radacad.com/blog.