Тёмный

Introducing RANKX in DAX 

SQLBI
Подписаться 109 тыс.
Просмотров 33 тыс.
50% 1

Опубликовано:

 

2 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 52   
@kot23
@kot23 2 года назад
I've been using RANKX a lot, but was doing so rather on my gut feeling; thanks to your video, visualing the lookup table makes everything clearer. Thanks for that insight Alberto!
@drivetrainerYT
@drivetrainerYT Год назад
Noone expained ranking tools better. Thank you, Alberto.
@masoudpesaran9721
@masoudpesaran9721 2 года назад
Brilliant video. Clearly explains behind the scene for RANKX(), and explains ISINSCOPE()
@sajilakl
@sajilakl 2 года назад
Best Dax teacher in the world 😊
@tameraziz2104
@tameraziz2104 7 месяцев назад
Thank you so much. I enjoy learning from you!
@shubhammittal6509
@shubhammittal6509 Год назад
Alberto, you have extended the horizons of 'EXPLAINING' !! ALL THE BEST !!
@terehernandezdemeneghi1616
@terehernandezdemeneghi1616 7 месяцев назад
Perfect!! I really love how you explained it. Just a question, how can we fix the next situation: We have same summatory values, so, we have in the rating 2 registers with the same ranking. How can we make a difference on those registers? Because I want to use the ranking for to make an accumulative summatory for a pareto chart. Thanks in advance!
@wmfexcel
@wmfexcel 2 года назад
Thank you very much for the video. Such a good explanation that I know why we need the 3rd parameter clearly now! In my experience in using RANKX, I am always struggling to find a way to make it work dynamically. What I mean is when we write the DAX to rank, we have to have the target attribute in mind as it will be part of the DAX code, e.g. BRAND. When we can the BRAND to PRODUCT, it doesn't work and we need to modify the DAX code. So I am wondering if there is an effective way to RANK based on the item(s) displayed on the visual? Appreciate your advice.
@Bharath_PBI
@Bharath_PBI 2 года назад
Crystal clear, thank you 👍
@omidmehdi
@omidmehdi 3 месяца назад
You know DAX better than Microsoft 😮
@praticandopowerbi
@praticandopowerbi 2 года назад
Muito obrigado por compartilhar conhecimento estou aprendendo muito
@fadilyassin4597
@fadilyassin4597 2 года назад
you and your friend understand (I Named you the CIAOS with S) understand very well what you are talking about and know how to teach it to others and that is alone a big skill thank you
@sbn4862
@sbn4862 2 года назад
THANK YOU VERY MUCTH MrAlberto.This vidio as bonus for me. Reading the book I always thout how looks LOOKUPTABLE it's. and I've some questions. 1.What aboute when selecting Brands in the second exemple. (Statik ranking from 0 to10 000 000 )? Calculatetable(table,Allselected()) dosen't work. 2 What is the diferense between Isinscope() and Hasonevalue()? I allways use Hasonevalue()
@serban2743
@serban2743 Год назад
This is a very useful video. I am facing the following situation: - I created a RANKX measure that ranks the Customer by Sales. This works just fine ([Sales] = sum(Sales[Sales amount]) and I am showing it in a table visual - My problem is when I add another measure to the visual. If I add [Order Qty] = sum(Sales[Order Qty], then the RANKX stops working. The Customer[Customer] column is not sorted by other columns. RANKX measure = RANKX( all(Customer[Customer]) ,[Sales] ,,DESC,Dense ) Any help will be greatly appreciated.
@AnupSaxena-v6m
@AnupSaxena-v6m 9 месяцев назад
Very nicely explained RANKX function with examples; explanation was simple to understand and to the point.
@Vpatel169
@Vpatel169 8 месяцев назад
its not working for me: This is my measure: RANKX(ALLSELECTED('Dealer Ranking'[Counter Party]),[Ranking Size (Vol)],,DESC)) . Ranking size vol is the sum of vol filtered on "Type", The result im getting is not starting with 1 but it starts with 2,2,3,4,5,7 etc when a filter is applied (slicer)??
@3danim8r1
@3danim8r1 2 года назад
Great !!!! Thanks for sharing.... I have one question related to DAX where I can ask that question...
@adnanmustafa8082
@adnanmustafa8082 2 года назад
I'm using RANKX and applying RLS but every end user upon logging always see their rank as 1. How can I make them see just their data but see the overall rank?
@paragkhandalkar
@paragkhandalkar 2 года назад
If you are using import mode, is there any possibility to calculate rank in calculated column instead of a measure. So that values are stored in table rather than always getting calculated on the fly in measure. Not sure if it will work But just a thought.
@MazharShakeel
@MazharShakeel 8 месяцев назад
Always amazing & descriptive explanation! Thanks SQL BI!
@dinethprabash1001
@dinethprabash1001 2 месяца назад
Very confusing. Never teach something first and then say it doesn’t work that way. Always show the correct way of doing it first, because we are all keeping our eyes and ears open to learn. When you suddenly say you taught us an incorrect way, it’s frustrating. I stopped watching at 3:30
@ravishmahajan9314
@ravishmahajan9314 9 месяцев назад
But my doubt here is ALL(product[brand]) should ignore the filter coming from Brand column in visual. But its not doing that. What is the reason?
@ivanrybalchenko7225
@ivanrybalchenko7225 Год назад
Thank you! Brilliant explenation, especialy part about how to use Value argument.
@jonbaylis2203
@jonbaylis2203 2 года назад
Great explanation as always. Certainly made it easier to understand once you visualise that lookup table. Thanks Alberto. 👊👍
@sandeepbarge4699
@sandeepbarge4699 Год назад
Hi! Thanks for the video. Is there any way to ensure that each row in table visual get distinct rank even in case of Ties?
@tigrecaido
@tigrecaido Год назад
Great
@MultiGuiles
@MultiGuiles Год назад
I believe the section should be "Dense", not "Dance".... ;)
@coolblue5929
@coolblue5929 Год назад
Sorry, I’m unclear, is there a relationship with the segment table, or does it get the context through data lineage, or…?
@yekhtiari
@yekhtiari Год назад
315 👍
@parthpatel-wv9vf
@parthpatel-wv9vf 2 года назад
Hi Alberto, Thanks for sharing the video. It is very much useful. Where can I access the data set? If you can guide me.
@SQLBI
@SQLBI 2 года назад
In the description you can find the link.
@nikakalichava8012
@nikakalichava8012 Год назад
Hello SQLBI, Hello Alberto! I had a challenge to rank employees by teams based on their Number of Sales and Sales Amount each month. First I had to rank teams bases on the number of sales and if 2 teams had the same number of sales (let's say both have sold 100 computers) then I had to rank these two by Sales amount (Team X sold 100 computers with sales of 400,000$ and team Y sold 100 computers with sales of 400,500$, team Y is a higher rank). I could not execute this with a single DAX Measure, I had to create a a second Table where I ranked teams... It does work but It takes extra space... I think this should be doable but how...?!
@JohnSullivan1
@JohnSullivan1 2 года назад
Fantastic as always. Thank you Alberto!
@Ultramarplogic
@Ultramarplogic Год назад
Can you make a video explaining the RANKX to rank users by Category? Like, Ranking on users with level 3. Thank you.
@sunilkumar3112
@sunilkumar3112 Год назад
RANKX is not workinng even after using ALL function. It is still giving 1 for all
@SQLBI
@SQLBI Год назад
Check the sample file you can download from the article and compare it with your model.
@michaelmays9415
@michaelmays9415 2 года назад
Fantastic video, Alberto!
@kostaskolotouros4345
@kostaskolotouros4345 2 года назад
Great explanation. Thank you!
@lindabond9307
@lindabond9307 2 года назад
Thank you and see you next week at Servian, Melbourne ;)
@SQLBI
@SQLBI 2 года назад
Marco is in Australia, not Alberto!
@mazenalali7810
@mazenalali7810 2 года назад
Such a fantastic video! one of the challenges we face in the development sector is to sort people into age groups. these "segments" change from one purpose to another so this is a great way to navigate storage vs. reporting requirements for this information If I may ass a curve ball to this function: Let's say that the sales table holds values in different currencies, and you want to rank based on USD. so, the value we are sending to be ranked has to be converted before you pass it. Oh wait, you just write a measure and pass that! doh! Great content - my previous question is an example of how much I "got it" but please correct me if I totally whiffed
@craigofficially
@craigofficially 2 года назад
Great video man!
@robrayborn1349
@robrayborn1349 2 года назад
Always amazing!
@maci6990
@maci6990 2 года назад
Just excellent
@மின்விரிதாள்_விரிப்போம்_வாங்க
Awesome! I now know about ISINSCOPE also! Thank you!
@tamerjuma
@tamerjuma 2 года назад
I ❤ it
@RafaelAyres
@RafaelAyres 2 года назад
Amazing!!
@kassiowifried
@kassiowifried 2 года назад
Good job
@evilangel4136
@evilangel4136 Год назад
can we rank from based from multiple measures?
@SQLBI
@SQLBI Год назад
You can with the new RANK version: dax.guide/rank/
@evilangel4136
@evilangel4136 Год назад
@@SQLBI how about dax in excel?
@alexdeborbamonteiro563
@alexdeborbamonteiro563 2 года назад
Maravilhosa explicação. Estudantes de DAX do mundo todo se beneficiam de tanta generosidade. Obrigado!!!
Далее
Introducing RANK window function in DAX
15:24
Просмотров 27 тыс.
Introducing CALCULATE in DAX
13:57
Просмотров 80 тыс.
🦊🔥
00:16
Просмотров 396 тыс.
ISINSCOPE Function DAX Implementation
12:39
Using KEEPFILTERS in DAX
14:22
Просмотров 27 тыс.
DAX Fridays Battle #187: RANKX vs TOPN
8:14
Просмотров 33 тыс.
Introducing ALLSELECTED in DAX
14:07
Просмотров 15 тыс.
Propagating filters using TREATAS in DAX
19:18
Просмотров 45 тыс.
When to use KEEPFILTERS over iterators
18:56
Просмотров 48 тыс.