Lookup multiple values in DAX

  Рет қаралды 53,440

SQLBI

SQLBI

Күн бұрын

Пікірлер: 51
@TRZMac
@TRZMac 3 ай бұрын
I am now 21 and I started learning DAX one year ago when I was 20, I really hope to be at your level one day, you are literally what I look forward to be!
@franciscoclaudio4818
@franciscoclaudio4818 3 жыл бұрын
I am Brazilian and I love the classes, an absurd command of the DAX language, it really is at a spectacular level.
@micahdail
@micahdail 3 жыл бұрын
Reasons this is amazing: 1. I don't do the tablify-a-single-value hack enough, and this video is a good reminder that it exists. (14:20) 2. The quick tip on breaking lineage of strings and numbers is gold. (19:50) 3. Alberto 'Do-it-in-a-single-take' Ferrari delivers once again. Who needs video editing software when you've got Alberto on the case!?
@SQLBI
@SQLBI 3 жыл бұрын
We still use video editing for some cleanup, but we're not video makers, so we try to optimize by running a single shot when we can! :)
@adityakalra7383
@adityakalra7383 3 жыл бұрын
Thank a Lot! I was actually stucked from past 2 days on Lookup Value, with Generate and your video was just on time for me. Thanks really appreciate your videos & knowledge I gain from them. Chaoo friends ;)
@lanasedayanoch
@lanasedayanoch 3 жыл бұрын
mind-blowing. Alberto you are fantastic coach, the delivery pace and style is superb
@zenomas4493
@zenomas4493 3 жыл бұрын
You never fail to make me enjoy DAX. you nail it again. Thanks for ways to DAXing.
@davidirias3459
@davidirias3459 Жыл бұрын
you make worth every cent invested in your Video Courses and outstanding with this youtube video.!!!!
@ivanovdmitry770
@ivanovdmitry770 3 жыл бұрын
Fantastic experience! With best wishes in New Year from Russia!!!
@SQLBI
@SQLBI 3 жыл бұрын
Thanks - Happy New Year too!
@hakim4000
@hakim4000 2 жыл бұрын
Alberto you are always the best
@clementejosemartinezserpas6335
@clementejosemartinezserpas6335 3 жыл бұрын
Amazing work. Multiple solutions to a single problem. Thanks.
@josemadrid4343
@josemadrid4343 3 жыл бұрын
These videos are very helpful. Keep them coming. Thank you.
@yumyumhotsauce1
@yumyumhotsauce1 3 жыл бұрын
enjoying this channel alot! very useful use cases. thank you!
@김차수-k2u
@김차수-k2u 3 жыл бұрын
Amazing and very deep training
@Bharath_PBI
@Bharath_PBI 3 жыл бұрын
This video introduces more DAX functions, but the main take away is to know which works best after doing a test.. !!
@soumikmishra7288
@soumikmishra7288 3 жыл бұрын
Wow, thats an amazing video. Learned a lot!!! Thanks
@lukeminikoski
@lukeminikoski 3 жыл бұрын
Happy new year!!!
@bpremchand93
@bpremchand93 3 жыл бұрын
Very informative video 😊👍👍
@juansepowerplatform
@juansepowerplatform 3 жыл бұрын
thanks for the video, lots of good fundamentals applied here. On an import situation I would much rather user PQ to join the tables and just load one combined table. Thank you. Happy new years
@SQLBI
@SQLBI 3 жыл бұрын
Of course - this technique should not be used daily, but when you need it (and maybe you cannot use Power Query - for example, you use a live connection...) it's there!
@sonetmollick4630
@sonetmollick4630 3 жыл бұрын
Super amazing and I learned a lot.
@1yyymmmddd
@1yyymmmddd 3 жыл бұрын
Great stuff ! Thank you. 👍
@Hettic
@Hettic 3 жыл бұрын
Thanks Alberto!
@smartwork4768
@smartwork4768 3 жыл бұрын
Thank you Sir I am your biggest friend and leaned lots of things from you. Also I have enrolled both of the free courses on SQLBI.COM.
@brenoneto1050
@brenoneto1050 3 жыл бұрын
Good afternoon! Mestre Alberto your videos help a lot... high level, i do not work in the area, but, I have a lot of desire, I'm trying to create a report that shows me the margin of Good afternoon! Master Alberto your videos help a lot... high level, i do not work in the area, but, I have a lot of desire, I'm trying to create a report that shows me the company's margin based on sales and prices set by the company to check how much is being granted discount and onerando the margin. But, I tried to make measures to make these calculations ran on the desktop but not in the service, I decided to merge the sales table, with the prices and taxes of the price list and the recomposition paid by suppliers of another table in a single table ... it worked, but I can not but use the power query because it takes a long ... with your video I managed to join 2 (queries)tables and the measurements ran very well, but, you can tell me how do I insert another query, to consolidate the 3. very grateful.company based on sales and prices set by the company to check how much is being granted discount and offsizing the margin. But, I tried to make measures to make these calculations ran on the desktop but not in the service, I decided to merge the sales table, with the prices and taxes of the price list and the recomposition paid by suppliers of another table in a single table ...it worked, but I can not but use the power query because it takes a long ... with your video I managed to join 2 (queries)tables and the measurements ran very well, but, you can tell me how do I insert another query, to consolidate the 3. very grateful.
@ЕвгенийСкляров-б3ч
@ЕвгенийСкляров-б3ч 3 ай бұрын
It`s a kind of magic!
@zeisslaimen1
@zeisslaimen1 3 жыл бұрын
thank you, Alberto :)
@vishalnasre1251
@vishalnasre1251 3 жыл бұрын
Sir please make one video on how to follow your whole playlist to learn DAX in dept.
@SQLBI
@SQLBI 3 жыл бұрын
Start from Introducing DAX: www.sqlbi.com/p/introducing-dax-video-course/
@vishalnasre1251
@vishalnasre1251 3 жыл бұрын
@@SQLBI thanks
@kingparc
@kingparc 3 жыл бұрын
Thank you very much Alberto. I have a question, if we want to do the same with a measure to add it to the table "Sales" in the report, how can we change the script in order to return a single value?
@SQLBI
@SQLBI 3 жыл бұрын
If you need a single value you probably can use LOOKUPVALUE, if you want to display multiple metrics in a single measure result, you have to create a string combining the results using COMBINEVALUES
@kingparc
@kingparc 3 жыл бұрын
@@SQLBI ok, thank you guys
@gruffalocrumble494
@gruffalocrumble494 3 жыл бұрын
Great video, thank you. Instant subscriber :)
@daoyanjin1727
@daoyanjin1727 3 жыл бұрын
Thank you for the nice content. I would like to ask if I can use 'summarizecolumns' instead of 'selectcolumns' in the example used in this video? When is it better to use one function against the other?
@SQLBI
@SQLBI 3 жыл бұрын
SUMMARIZECOLUMNS performs both GROUP BY and remove duplicated values, whereas SELECTCOLUMNS does not affect the cardinality of the table source and does not perform any grouping.
@nikunjpatel7469
@nikunjpatel7469 2 жыл бұрын
Can we used table variable inside Generate function?
@khalidb.6604
@khalidb.6604 3 жыл бұрын
Thanks a lot! If I have a date table and a product table linked to both sales and promo tables, does this help to solve the same issue and compute the query faster?
@SQLBI
@SQLBI 3 жыл бұрын
If you can rely on regular relationships, you don't really have to use this technique - which is useful when a regular relationship cannot be used.
@satellitepop
@satellitepop 3 жыл бұрын
Marco, I have a table that has 1 column with de document and other column with doc_substitute, how is the better way to join this table with itself using document in the first table and doc_substitute in the second table ?
@reneglaus2476
@reneglaus2476 3 жыл бұрын
Again, greate thank you
@franciscoclaudio4818
@franciscoclaudio4818 3 жыл бұрын
Is it possible in the same code to bring two columns from two different tables? Example: adding a column from the product table and another from the supplier to the sales table.
@SQLBI
@SQLBI 3 жыл бұрын
It depends. You can read the value from columns in different tables (it's one of the examples in the article, follow the link in the description), but in terms of "search" it's not clear what the meaning would be...
@br31woodlands69
@br31woodlands69 3 жыл бұрын
Genius!!!
@revenge9431
@revenge9431 3 жыл бұрын
Did your team make dax studio?
@marcorusso7472
@marcorusso7472 3 жыл бұрын
I am a contributor to DAX Studio, Darren Gosbell (MVP) is the maintainer and main contributor: github.com/DaxStudio/DaxStudio/graphs/contributors
@SQLBI
@SQLBI 3 жыл бұрын
We are contributors to the open source project.
@BernatAgulloRosello
@BernatAgulloRosello 3 жыл бұрын
The question may be why the two tables do not have a connection in the model in the first place using calculated columns 😁 just kidding, sure the use case will arise soon
@SQLBI
@SQLBI 3 жыл бұрын
Sometimes you cannot - it is not common, but you could have a lookup table using Product Category and Year to get a discount. Just an example, if you can use regular relationships, it's always better!
Row Context in DAX
20:42
SQLBI
Рет қаралды 102 М.
Understanding data lineage in DAX
18:14
SQLBI
Рет қаралды 30 М.
小路飞还不知道他把路飞给擦没有了 #路飞#海贼王
00:32
路飞与唐舞桐
Рет қаралды 82 МЛН
Из какого города смотришь? 😃
00:34
МЯТНАЯ ФАНТА
Рет қаралды 2,2 МЛН
Range Lookup in Power BI in the Power Query Editor
12:41
Pragmatic Works
Рет қаралды 29 М.
DAX Fridays! #90: Understanding LOOKUPVALUES error
12:32
Curbal
Рет қаралды 24 М.
Using join functions in DAX
40:30
SQLBI
Рет қаралды 12 М.
Optimizing nested iterators in DAX
17:31
SQLBI
Рет қаралды 22 М.
Propagating filters using TREATAS in DAX
19:18
SQLBI
Рет қаралды 46 М.
Context transition in DAX explained visually
27:14
SQLBI
Рет қаралды 13 М.
Row context in DAX explained visually
21:45
SQLBI
Рет қаралды 18 М.
When to use KEEPFILTERS over iterators
18:56
SQLBI
Рет қаралды 49 М.
小路飞还不知道他把路飞给擦没有了 #路飞#海贼王
00:32
路飞与唐舞桐
Рет қаралды 82 МЛН