Marcel Lehmann

learn and find tipps & tricks around the powerplatform

PowerPlatformTip 43 – ‘With function’

πŸŒπŸ“πŸš€ Let’s talk about the power of the with function in expressions! πŸŽ‰πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

πŸ€” Why should you use the with function? It helps you create cleaner, more readable code by allowing you to define multiple variables in a single block. πŸ™ŒπŸ’»πŸ“˜

🧠 Let’s dive into an example to see how it works! πŸŒŠπŸ“– Imagine you want to calculate the distance between two points on Earth using the Haversine formula. πŸŒπŸ“βœ¨

Here’s the magic of the with function in action: βœ¨πŸ§™β€β™‚οΈ

πŸ”₯ Look at how concise and organized it is! The with function lets you define all your variables at once, making it super easy to understand and maintain. πŸ˜ŽπŸ”§πŸ“š

If you want to see the overview above all #PowerPlatformTip – click here

Published by

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: