itsnotaboutthecell

Power Query M - How To Build Your First Function

Mar 29th, 2018
645
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. /*
  2. Created By: Alex Powers
  3. YouTube How To Video: https://www.youtube.com/watch?v=mFU9tB-pVh4
  4. Website: http://www.itsnotaboutthecell.com
  5. LinkedIn: https://www.linkedin.com/in/alexmpowers/
  6. */
  7.  
  8. (topping as text, size as number) =>
  9. let
  10. pizzaSize = if size >= 8 then "Extra Large" else "Large",
  11. fnPizzaParty = "I need to order a " & pizzaSize & " " & topping & " pizza."
  12. in
  13. fnPizzaParty
Advertisement
Add Comment
Please, Sign In to add comment