ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

61 - Creating variables in Power Query, using inner queries

Автор: WesleySon

Загружено: 2023-10-26

Просмотров: 572

Описание: A neat trick I discovered when I read code my coworker had made. He used the "is latest" filter on a date column, which let me down a rabbit hole.
It turns out I don't have to make intermediary steps and use these like variables. I can actually make variables.

I was going to cover inner queries in video 59 (and I still will), but those are more complicated. You can use them to eg. get around the Formula.Firewall-error, the bane of my existence.

The variable syntax is simple: In DAX, you write "var Name = value return".
In M, you write "let Name = value in".
You can define a variable outside and inside a function, and I show what happens if you do.

00:00 Intro
00:13 OG method - sort + first row
00:49 Intermediary method - find most recent date (List.Max)
03:05 Local variables method
03:32 Filter date-column on "is latest"
03:52 "Let variable-name equal value in"-syntax
04:27 DAX uses "var return", M uses "let in"
04:36 Adding more steps to an inner query (I fail...)
06:17 Defining a variable before vs inside a function
07:08 What does "let in" mean?
07:43 All steps before the last, are actually variables
07:59 Power Query is a lazy evaluator
08:28 What the Advanced Editor looks like with inner queries
09:00 The "let let in in" syntax is seen in user-defined functions.

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
61 - Creating variables in Power Query, using inner queries

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

63 - Fixing the Formula.Firewall-error (Power Query)

63 - Fixing the Formula.Firewall-error (Power Query)

Основы работы в Microsoft Power BI

Основы работы в Microsoft Power BI

How to use Microsoft Power Query

How to use Microsoft Power Query

Variables in DAX

Variables in DAX

18062025 Power BI Advanced Editor Blank Query

18062025 Power BI Advanced Editor Blank Query

Easy Looping in Power BI/Power Query

Easy Looping in Power BI/Power Query

Power Query Parameters - Dynamically Change the Output of Your Queries Depending on Their Value

Power Query Parameters - Dynamically Change the Output of Your Queries Depending on Their Value

100 - Conditional background in Power BI

100 - Conditional background in Power BI

ЗА ПЕРЕВОДЫ на карту начали БЛОКИРОВАТЬ! Как избежать блокировки карты в 2025. НОВЫЕ правила

ЗА ПЕРЕВОДЫ на карту начали БЛОКИРОВАТЬ! Как избежать блокировки карты в 2025. НОВЫЕ правила

1940's Jazz Bar - Vintage Classics

1940's Jazz Bar - Vintage Classics

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]