DAX Fridays! #10: RANK/ TOPN with slicer

Поделиться
HTML-код
  • Опубликовано: 2 ноя 2024

Комментарии • 216

  • @MarkHinderliter
    @MarkHinderliter 6 лет назад +6

    Since I wasn't sure about downloading the source file, I generated dummy data to do the tutorial with, using this query in SQL Server:
    with CTE as (
    select 1 as ID
    union ALL
    select ID +1
    from cte
    where id

    • @CurbalEN
      @CurbalEN  6 лет назад +1

      Mmmmm that is beyond my comprehension but creative people is the best I know!! :)
      Happy holidays and thanks for all your contributions here! Really appreciate it!

    • @CurbalEN
      @CurbalEN  6 лет назад

      I will pin your comment, it will help somebody else :)
      /Ruth

    • @MarkHinderliter
      @MarkHinderliter 6 лет назад +2

      That's just how I know how to do it. I'll bet you have a snazzier way to do it with generate series or some other abracadabra() function. =)

    • @MarkHinderliter
      @MarkHinderliter 6 лет назад +1

      By the way, thanks goes to Mister James for supplying a good random function: theycallmemrjames.blogspot.com/2009/04/truly-random-number-in-ms-sql.html

    • @CurbalEN
      @CurbalEN  6 лет назад +1

      😂😂 I should definitely try!! But next year, this year I am busy shoveling snow ❄️
      😂😂😂
      /Ruth

  • @musiliadebayo
    @musiliadebayo 2 года назад

    Hello Ruth,
    Thanks for all you do here, I am actually learning the underlying of DAX through the DAX friday and I actually used this TopN at work yesterday, it kinda felt like a walk in the park.
    Thanks again.

  • @VinayKumar-ij4eu
    @VinayKumar-ij4eu 3 года назад

    Awesome explanation of this function!! Thanks Ruth!!

  • @ruchigupta1536
    @ruchigupta1536 Год назад

    Ruth , I love all you videos :) my current dying need is that I want to have top N written on a drill through page. So the dill thru is already passing my selected filters, but now I need to apply top N on this drill thru visual and get the right numbers on one category , and importantly to export right rows in Excel.
    Thanks
    Look forward

  • @prasad9976
    @prasad9976 2 года назад

    Thank you for making such interactive example

  • @just4fun410
    @just4fun410 7 лет назад +1

    Hi Ruth,
    Excellent video .We are using the same in our real time projects.Thanks a lot

  • @ashokkumarbandaru4402
    @ashokkumarbandaru4402 7 лет назад +1

    Really it is very much helping me to Power BI queries Much Thanks you to share this kind of valuable videos to us

    • @CurbalEN
      @CurbalEN  7 лет назад

      +ashok kumar bandaru You welcome! My pleasure ;)
      /Ruth

  • @shashindulakshitha3789
    @shashindulakshitha3789 8 лет назад +1

    Hi Ruth,Once again a nice video.
    Will u be able to give us such a nice video about the EARLIER function as well?? I found out, that you can do the looping events using the earlier function along with the ALL function,but im not very much aware about it.
    Thank you very much Ruth.
    Keep it up. Cheers!!!!!

    • @CurbalEN
      @CurbalEN  8 лет назад

      +shashindu lakshitha Hi Shashindu, absolutely!
      Expect to see it in the coming weeks, it's on my to- do list now.
      Thanks for the suggestion:)
      /Ruth

  • @zuhedagulmohamed5726
    @zuhedagulmohamed5726 4 года назад

    Ruth, your videos are the best! the most amazing! Thank you.

    • @CurbalEN
      @CurbalEN  4 года назад

      🥳🥳 Thanks!

  • @azizquazi
    @azizquazi 3 года назад

    Hi Ruth, a nice movie. Need help - if my measure is SUM (instead of X), then the total with the selection Top 3, / Top 5, etc. do not give us the correct value (it gives us the max Total). How to solve to get the correct value. Thanks.

  • @bradj229
    @bradj229 3 года назад

    Cool video! Thanks Ruth!

  • @Rafian1924
    @Rafian1924 4 года назад

    Simple and lucid explanation.

  • @ihebchafai2780
    @ihebchafai2780 4 года назад

    Thanks Ruth.
    It's the simplest method i've been used

    • @CurbalEN
      @CurbalEN  4 года назад +2

      I like simple :)

  • @NorbertoVeraReatigaNVR
    @NorbertoVeraReatigaNVR 8 лет назад +1

    Gracias, Ruth! muy útil este vídeo... como siempre, sorprendido gratamente!

    • @CurbalEN
      @CurbalEN  8 лет назад

      +Norberto Vera Reatiga y muchas gracias a ti por todo tu apoyo compartiendo los vídeos en las redes sociales ;)
      Pasa un buen fin de semana,
      /Ruth

  • @jormaryjackson812
    @jormaryjackson812 7 лет назад +1

    Hello!
    It is a very good video! I like a lot!
    But I'm a little bit confuse with the use of filters. When can I use filter by default just by draging it to the cava, and when I should creat the filter manually? I've been draging all the filters and now I don't know when it is appropiate to create them manually..
    I understand if I want to show rankings I should create the filter as you explain, but in which other option I should do it?
    Regards!

    • @CurbalEN
      @CurbalEN  7 лет назад

      +Jormary Jackson Hi Jomary, thanks! What do you mean with create the filter manually?
      /Ruth

  • @Mlrossi1962
    @Mlrossi1962 6 лет назад +1

    I noticed that you popped into DAX studio to evaluate your expression. I would love to learn more about that as I have been struggling with an expression and was wishing I had a tool to step through my code. Do you have or would you be willing to create a walkthrough of DAX studio for this purpose?

    • @CurbalEN
      @CurbalEN  6 лет назад

      Hi! Yes, i plan to do that on the next vertipaq series. Stay tuned!
      /Ruth

  • @mazharmohammed6475
    @mazharmohammed6475 3 года назад

    Hi Ruth,. I got one question regarding TopN Slicer can we also slice Legend values in Visual

  • @jeffweir9358
    @jeffweir9358 5 лет назад +1

    Hi Curbal. Nice vid. Instead of using MAXX to return something in the event that the TOPN slicer isn't selected, I think it might be more efficient leave it with BLANK(), and instead change your approach so thta the AvgMeasurementValue only gets triggered if the filter is applied, and otherwise defaults to just the unadulterated [AvgValue] measure. So use this pattern =IF(HASONEVALUE(TopTable[TopN]) , [Existing AvgMeasurementValue pattern], [AvgValue])

  • @BaoNguyen-bm1gp
    @BaoNguyen-bm1gp 4 года назад +2

    Thank you for such a great video ! I have 1 question: What if I want to display the correct total for top 3, top 5, top 10 when selected in the slicer ?

    • @akashtribhuvan8124
      @akashtribhuvan8124 4 года назад

      Hi, Did you find an answer for the same, I am stuck, and want the SUM total only for the TOP N values. please let me know if you have any resolution.

  • @yearofmars
    @yearofmars 4 года назад

    I enjoy working through these videos.
    I think it looks better if you filter the entire table by the TopN slicer rather than just putting blanks in the column.
    You can do this by using a measure something like this:
    TopNXX =
    var SelectedN=
    if(HASONEVALUE(TopNTable[TopNValues]),SELECTEDVALUE(TopNTable[TopNValues]),max(TopNTable[TopNValues]))
    return
    switch(true(),SelectedN=0,1,
    [Rank]

    • @CurbalEN
      @CurbalEN  4 года назад

      Might be, but also my knowledge has increased with time too ☺

  • @RehanShaikh-ip9hh
    @RehanShaikh-ip9hh 3 года назад

    Hi, when u select topn 3/5, the avg of machine measure is not appearing. Secondly rank total appearing is 6 everytime which is not correct. Pls let us know if there is second video of this rankx

  • @pranjalagrawal4167
    @pranjalagrawal4167 4 года назад

    Very well explained. Thank you

  • @GustavoHeliAliagaGalvez
    @GustavoHeliAliagaGalvez Год назад

    Buenos días, una consulta estoy viendo en la última parte que editas la función: SelectedTopNValue, sin embargo no veo que esa medida se use, solo veo que pusiste la medida: AvgMeasurementValue como columna, podrías explicarme ello. Gracias

  • @matthewappleyard2708
    @matthewappleyard2708 6 лет назад +1

    Interesting video. For some reason the new measures only work on mine if I use the built in format 'TopN' and not without single quotation marks as yours was. Not sure if this is a version quirk?!

    • @CurbalEN
      @CurbalEN  6 лет назад

      Weird! Can you report it as an issue on issues.powerbi.com?
      /Ruth

  • @JoseSilva-zn3kk
    @JoseSilva-zn3kk 7 лет назад +1

    Hi Ruth, great example. Thanks. But, what about the totals? when you select top 5 or top 10 the total should be filtered, right? how do you do that? many thanks :)

    • @CurbalEN
      @CurbalEN  7 лет назад +1

      +Jose Silva Hi,
      Have you checked this video:
      m.ruclips.net/video/ufHOOLdi_jk/видео.html
      /Ruth

    • @JoseSilva-zn3kk
      @JoseSilva-zn3kk 7 лет назад +1

      Thanks Ruth, that has solved my problem!

    • @CurbalEN
      @CurbalEN  7 лет назад +1

      +Jose Silva Great!! Really happy it helped 😀
      /Ruth

  • @tomash9785
    @tomash9785 8 лет назад +1

    cool !! seen a few videos of yours. I will subscribe and hope to see more such valuable content

    • @CurbalEN
      @CurbalEN  8 лет назад

      +Tomas Hujo Thanks for your feedback and subscribing Tomas!
      /Ruth

  • @alvarocondoricubillas9535
    @alvarocondoricubillas9535 4 года назад +1

    Muchas gracias por compartir, me ayudó bastante!

    • @CurbalEN
      @CurbalEN  4 года назад

      Perfecto, me alegra oirlo !

  • @CX004
    @CX004 6 лет назад +1

    Hi Ruth,
    Thanks so much for your well-explained video! I would like to ask if there is a way to communicate to all other columns in the table while applying the TopN slicer? Eg if TopN10 is chosen, the table will only show first 10 rows across all columns. Kindly assist. Thank you! :)

    • @CurbalEN
      @CurbalEN  6 лет назад

      Yes, of course , the filter is applied on all columns.
      /Ruth

    • @CX004
      @CX004 6 лет назад +1

      Oh. What I meant is, for example at 8:55 of this video, when slicer TopN5 is selected, only the 2nd column shows up 5 values but the 1st and 3rd columns remain with 10 values each. Is there a way to work dynamically for all 3 columns?

    • @CurbalEN
      @CurbalEN  6 лет назад

      Ok, I need to check the video, I did it a while ago. Hopefully I have time this evening!
      /Ruth

  • @patricksullivan6362
    @patricksullivan6362 7 лет назад +1

    Hi Ruth,
    In the filter at the beginning of the video there was an option of "All". How does one achieve an "All" option in addition to the Top 3, 5, and 10?
    Thanks!

    • @CurbalEN
      @CurbalEN  7 лет назад

      +Patrick Sullivan Hi! It is a setting in the filter itself. Select the filter, go to the formatting pane and the first or the second setting you will be able to turn that on. Sorry for the vague instructions, I am pulling from memory.
      /Ruth

    • @patricksullivan6362
      @patricksullivan6362 7 лет назад +1

      Thanks, Ruth!

    • @CurbalEN
      @CurbalEN  7 лет назад

      My pleasure and have a great weekend :)
      /Ruth

    • @patricksullivan6362
      @patricksullivan6362 7 лет назад +1

      You too!

  • @אלונהלוגסי-ש2ח
    @אלונהלוגסי-ש2ח 3 года назад

    Hello, in the total the AVG is AVG for all products and not for the TOP10. please advice how to fix it. thank you, Alona

  • @LuisLopez-sc1qc
    @LuisLopez-sc1qc 7 лет назад +1

    gracias contigo aprendo mucho sobre medidas dax en power bi sigue asi con mas medidas gracias y bendiciones

    • @CurbalEN
      @CurbalEN  7 лет назад

      +LUIS ALBERTO LOPEZ CHAVEZ Muchas gracias Luis Alberto, seguiré hasta que me pidáis que pare ;)
      /Ruth

    • @LuisLopez-sc1qc
      @LuisLopez-sc1qc 7 лет назад +1

      lala sigue no mas q el conocimeinto no puede parar :)

    • @CurbalEN
      @CurbalEN  7 лет назад

      +LUIS ALBERTO LOPEZ CHAVEZ 😂
      /Ruth

  • @digantdesai007
    @digantdesai007 7 лет назад +2

    Hi,
    If you look at video, in initial video description, you can see Full Total is shown 10.56, irrespective of what you select in TOP N filter, however later in Video Total is coming based on your selection or even sometimes its not coming.
    Can you please let me know, how to get full total even though any TOP filter is selected.
    Regards
    Digant

    • @CurbalEN
      @CurbalEN  7 лет назад

      +Digant Desai Hi Digant,
      Have you seen this video?
      m.ruclips.net/video/ufHOOLdi_jk/видео.html
      /Ruth

  • @juanignacioXI
    @juanignacioXI 4 года назад

    Hi Ruth, awesome video, can we use Url images for that ranks?..for example salesmans tops with the photo of each worker. Thanks in advance!

  • @Nature-iw2ez
    @Nature-iw2ez 3 года назад

    hi,
    so in the latest version of power bi we can do this automatically by using the filter pane ryt?

  • @devangmistry6307
    @devangmistry6307 6 лет назад

    Hi Ruth,
    Excellent video, many thanks for this. One question, what is we don't want to do Avg Value and rather use the Value column from the Table to display top 5 or top 3 Value.

    • @CurbalEN
      @CurbalEN  6 лет назад

      +Devang Mistry I will have to re-watch the video,
      But until I do, there are always multiple ways to solve the same thing, so you are probably right!
      /Ruth

  • @danielvasquez8491
    @danielvasquez8491 17 дней назад

    Thank u, this is very useful!

  • @deepakagrawal465
    @deepakagrawal465 8 лет назад +1

    Excellent. There is also a TOPN function in DAX which can be used along with SUMMARIZE to achieve the objective.

    • @CurbalEN
      @CurbalEN  8 лет назад +1

      +Deepak Agrawal Isn't it amazing how many ways there are to do the same thing? :)
      /Ruth

    • @deepakagrawal465
      @deepakagrawal465 8 лет назад +1

      Yes, Ruth. That's the beauty of this language. :)

    • @CurbalEN
      @CurbalEN  8 лет назад

      +Deepak Agrawal Agree! :) /Ruth

  • @bluetaurean
    @bluetaurean 6 лет назад

    How can you use this for filtering on basis a measure that is not on the view. for example for the top N inventory items based on value, how can i filter to see the sales or order on hand. so i will have the sales data or order data in the view but the list to be filtered for the top N items that i am holding in stock.

  • @tejashmonani1792
    @tejashmonani1792 3 года назад

    I want to use Top 5 & Bottom 5 with QTD, YTD slicer. Can you help me with this query?

  • @gergelykosi8199
    @gergelykosi8199 3 года назад

    Clever solution...like it. Thank you!

    • @CurbalEN
      @CurbalEN  3 года назад

      Wondeful to hear :)

  • @lauricevillarino8713
    @lauricevillarino8713 3 года назад

    Is there a way I can export my topN table with slicer? Whenever I export to excel, it exports the whole rows (sample: 50 rows instead of the top 10)
    Thank you!!!

  • @ranichennamma4436
    @ranichennamma4436 6 лет назад +1

    Hola Ruth,
    Pequeña sugerencia amistosa de la India,
    Cada vez que explique algo nuevo, puede tomar datos que todos puedan entender FÁCILMENTE sin perder demasiado tiempo en eso ... en otras palabras ... puede usar algunos datos de ventas o cualquier información que pueda comprenderse fácilmente. Las personas no deben tomar 5 minutos para entender deteniendo el video una y otra vez solo para comprender los datos de muestra. De lo contrario, tus videos son increíbles. La razón por la que estoy diciendo esto es ... está vaporizando mis niveles de entusiasmo.
    Raani Chennamma
    De la India

    • @CurbalEN
      @CurbalEN  6 лет назад

      Buena sugerencia gracias :)
      /Ruth

  • @adineshkumar8086
    @adineshkumar8086 4 года назад

    Hi i have small doubt while we are displaying Rank value usine rankX DAX function.Some times we are getting same rank for same values right.
    For ex:
    Machine 11 ---- 0.65 --- 8
    Machine 14 ---- 0.65 --- 8
    Here, Could you please tell me .I want to display the unique rank based on machine numbers.ofcourse values are same but machines are diffrent right.How could we show the different rank? in this point of scenarios

  • @miroslawakasperska8010
    @miroslawakasperska8010 4 года назад

    Very interesting video - Thank you! Unfortunately I did not find here the answer to my problem. Could you point me to your video where you explain how to highlight one record in the table which is the ranking of e.g. cities depending on the chosen name in the slicer using DAX?

  •  6 лет назад +1

    Nice video, great tip, thanks

    • @CurbalEN
      @CurbalEN  6 лет назад

      You welcome Diego :)
      /Ruth

  • @pratikfutane8131
    @pratikfutane8131 5 лет назад

    Many concept covered under a single hood..thanks 👌

  • @shahrzadkarimi6466
    @shahrzadkarimi6466 2 года назад

    It realy helped me, Thank you 👌

  • @sahilsinghal9472
    @sahilsinghal9472 6 лет назад +1

    Fantastic video

    • @CurbalEN
      @CurbalEN  6 лет назад

      Wow, Thanks :)
      /Ruth

  • @pravinjaiswal7219
    @pravinjaiswal7219 5 лет назад

    Hi Curbal your videos are amazing.
    could you please suggest me something on my current query.
    where i want to show past ,present and future data based on month selection ,if user selects Mar-19 ,he should see 3 visual one for past one for present one for future with two columns ,product name and its delivery date. kindly suggest.

    • @CurbalEN
      @CurbalEN  5 лет назад

      Hi Pravin,
      Hi!
      Can you check with the Power bi Community? Here is how and why:
      m.ruclips.net/video/oXFOebuvRz0/видео.html
      /Ruth

  • @daniel.balandra
    @daniel.balandra 5 лет назад

    Que tal Ruth? Excelente video, me sirvió de mucho para este tipo de reportes. Solo que tuve un percance y aún no entiendo porque no funciona. Cuando uso RanX para los items con la tabla "ALLSELECTED('TABLE')", el filtro funciona bien seleccionando cualquier opción, excepto cuando coloco "Seleccionar Todo", en ese momento la medida solo me muestra del rank Nro 1, y obvia el resto. Ya revise el medida que contiene el numero de seleccion del valor del TOPN, y obtiene el valor adecuado, pero la medida del valor a mostrar en la tabla solo me muestra de 1 solo item. Cuando cambio esta opcion en la medida del Rankind, de "AllSelected" a "All". El problema se soluciona. Me gustaría entender por qué tiene ese comportamiento con "AllSelected" con el fin de entenderlo mejor. Me puede ayudar?
    Slds cordiales

  • @nsrchndshkh
    @nsrchndshkh 6 лет назад +1

    Hi Curbal,
    Thanks for such great videos, Would you post video on how to separate "TOP N" and "Others" in pie chart. Thanks

    • @CurbalEN
      @CurbalEN  6 лет назад +1

      Absolutely, but if you want a faster answer, try the power bi community :)
      /Ruth

  • @jessicabelfield
    @jessicabelfield 5 лет назад

    Your videos are so helpful, thank you.
    Do you have anything on price indexing with dax?

    • @CurbalEN
      @CurbalEN  5 лет назад +1

      Hi Jessica, thanks!
      No, unfortunately nothing. Try in the Power bi Community to get help on your case.
      /Ruth

  • @mustafabiviji00711
    @mustafabiviji00711 6 лет назад +1

    Hi Curbal, Thank you for this video.
    I had a question - Suppose the user selects top 3 values is there a way to group(sum/avg) the remaining values of the remaining machines.
    For example if we are looking at sales of 12 different machines in a pie chart and you just want to see/focus on the top 3 but also want to see the sales of the remaining 9 machines grouped into another category 'Other' and show it on the pie chart as a 4th slice of the pie, is there a way to do that?

    • @CurbalEN
      @CurbalEN  6 лет назад

      Hi Mustafá, could you post your question in the power bi community? Make sure you post sample data.
      /Ruth

    • @mustafabiviji00711
      @mustafabiviji00711 6 лет назад +1

      Roth, will do so. Have already posted this as an idea as Power BI should add the Top N as a Quick Measure and support the Other categories like ZoomCharts provides. Would appreciate if you and others could support the idea (ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/20317618-show-hide-top-x-categories-in-visuals-with-option )

    • @mustafabiviji00711
      @mustafabiviji00711 6 лет назад +1

      In addition to that I found this post (community.powerbi.com/t5/Desktop/Top-N-and-Others-monthly/m-p/490708#M228672) which when combined with Top N table/measure logic you explained would address my requirement. Would have liked this to be out of the box for Power BI or at least as Quick Measure

    • @CurbalEN
      @CurbalEN  6 лет назад

      Thanks for sharing the link :)
      /Ruth

    • @CurbalEN
      @CurbalEN  6 лет назад

      Agree! Maybe soon?
      /Ruth

  • @chrisbaisako1258
    @chrisbaisako1258 6 лет назад

    The 'Average Value' field seems to be an average value per machine, i.e. some group by machine calculation was done. Did the Average value = medianx(data, data[values]) statement do the grouping? I am referring to 1:31 of the video above.

  • @MarkCBB86
    @MarkCBB86 7 лет назад

    Very clever, thank you for sharing

    • @CurbalEN
      @CurbalEN  7 лет назад

      +Mark Blackburn Thanks Mark!
      /Ruth

  • @sobsawats.9109
    @sobsawats.9109 7 лет назад

    In last part of VDO, when removed "Rank", order is not by "Rank" but "Machine". Am I miss something/understanding?

  • @mathew9665
    @mathew9665 6 лет назад +1

    Quick question - how you can you get top X N and then the remaining as Others. Ideally we would be able to click into other to then show the next top X n (with any remaining as others ) and so on. is this doable

    • @CurbalEN
      @CurbalEN  6 лет назад

      I have seen it done, but never tried it myself.
      Do a quick google search for “topn others power bi” and you will get some suggestions on how to do it.
      Happy Friday!!
      /Ruth

    • @mathew9665
      @mathew9665 6 лет назад +1

      Any chance of a video ? :-)

    • @CurbalEN
      @CurbalEN  6 лет назад +1

      Sure, no problem :)
      Is on my list now!
      /Ruth

    • @mathew9665
      @mathew9665 6 лет назад +1

      :-) !!!!!! thanks Ruth
      /mathew

  • @tobiascrush5314
    @tobiascrush5314 7 лет назад

    I found this video extremely helpful for something I'm working on. You mention that it is possible to exclude the non displayed values from the matrix totals. I was wondering if you have posted a video on how to do this or can describe how to?

  • @nagarajpalani861
    @nagarajpalani861 2 года назад

    Hi Ruth
    What is difference between hasonevalue and selectedvalue why u didn't use selectedvalue

  • @ndb2702
    @ndb2702 8 лет назад

    thank you for great video series. I had a question and I would appreciate you could provide answer to it. Is there a way to display only the top n records and not all the records after you apply the filter?

    • @CurbalEN
      @CurbalEN  8 лет назад

      +Ndb Bumb Hi Ndb, which filter are you referring to?
      Thanks for watching the series!
      /Ruth

    • @ndb2702
      @ndb2702 8 лет назад

      hi curbal: thank you for the message. I am referring to after we select top 10 on the slicer thr logic filters top 10 for the average measure column but still shows all the machines and the ranks listed. Is there a way to filter the machines and ranks along with the average measure. hope I am able to explain.

    • @CurbalEN
      @CurbalEN  8 лет назад

      Hi Ndb, I am afraid I still dont understand your question. When you filter by, for example top 3, the list will show you the top3 measurement values and their corresponding machines. What do you mean when you say that it shows all machines?
      /Ruth

    • @RichardOliver
      @RichardOliver 4 года назад

      If I've understood you correctly, then this is what the behaviour was once the rank column was removed from the visual.

  • @guilhermemachado963
    @guilhermemachado963 3 года назад

    Hi, Ruth, thanks for your tutorials I´m learning a lot with it! Does this file is still avaiable for download? I couldn´t find it on Community downloads =(

  • @jessicabelfield
    @jessicabelfield 4 года назад

    Thank you so much, this video is awesome!!

  • @hamzarafique3857
    @hamzarafique3857 7 лет назад

    Could this work if I added percentages instead of whole numbers in the TOPN table?

  • @MrVuducviet007
    @MrVuducviet007 7 лет назад +1

    Hi Ruth, I followed you step by step to do TopN like you did, but, was not success. I replaced [Avg Value] by [AvgMeaurementValue] but noticed that can not update the visual coz have somethings wrong in [AvgMeasurementValue], (I checked again and agian to compare with you formula), consider using VALUE or FORMAT Function to fix it. Have you ever got this error like this? and how to fix it?

    • @CurbalEN
      @CurbalEN  7 лет назад

      +viet vuduc Hi Viet,
      Did you download the example file from me?
      Does that work for you?
      What error are you getting?
      /Ruth

    • @MrVuducviet007
      @MrVuducviet007 7 лет назад +1

      Hi Ruth, I learned then tried to apply to my BI Report. I'll do it again then record a clip then send you for more detail.
      Thank you for very usefull Topic "DAX Friday".
      /Viet

    • @CurbalEN
      @CurbalEN  7 лет назад

      +viet vuduc You welcome! :)
      /Ruth

  • @Kohatianayub
    @Kohatianayub 7 лет назад +1

    when I select top 3,5,10 I get total of table at bottom , in your case u don't get it , if I need total as well for top 3,5,10 how to get it in table .. thanks

    • @CurbalEN
      @CurbalEN  7 лет назад

      +Yasir ayub Hi Yasir,
      Please post your question in the Power BI Community, they will be able to help you!
      /Ruth

  • @madiakns
    @madiakns 4 года назад

    Thanks... It's very helpful :)

  • @EastAG
    @EastAG 4 года назад

    This works for a table but I am trying to get it to work for a stacked column chart and it does not filter to the top N companies in my data set on the chart.

  • @tejeshgour1919
    @tejeshgour1919 6 лет назад +1

    =
    TOPN (
    3,
    SectionEnrollment,
    FILTER ( SectionEnrollment, NOT ( ISBLANK ( SectionEnrollment[SchoolYear] ) ) ), DESC
    )
    I am using given above DAX to show top 3 years data without blank in SSAS TOM model but getting error.
    Please help me!

    • @CurbalEN
      @CurbalEN  6 лет назад

      Can you post this in the power Bi Community and provide some sample data?
      /Ruth

  • @AlejandraCervantesphysisR
    @AlejandraCervantesphysisR 5 лет назад

    Hi! Thanks for your videos, are really helpful!!
    And i want to know if you can post something about the hierarchy slicer. Is not to difficult theme but i haven't found a good explanation.
    Thank you, again!

    • @CurbalEN
      @CurbalEN  5 лет назад

      Have you seen this one?
      m.ruclips.net/video/DW5NZHTZlPw/видео.html
      /Ruth

  • @ShivShakthi.Shanmuga
    @ShivShakthi.Shanmuga 4 года назад

    Awesome 🙂

  • @davidvanek3927
    @davidvanek3927 7 лет назад +1

    HI, very nice videos, maybe you have a nice and simple solution, how to put in slicer to see last 2 /4 /8 /16 months sales development. thank you David

    • @CurbalEN
      @CurbalEN  7 лет назад

      +David Vanek
      Hi David,
      Thanks! Maybe this video can help you?
      ruclips.net/video/gYbGNeYD4OY/видео.html
      /Ruth

  • @osamaasif9601
    @osamaasif9601 4 года назад

    Hey Ruth,
    Please make videos on Power BI paginated reports.

  • @aas2943
    @aas2943 3 года назад

    RUTH, ur work is highly appreciated,,,,,,,, kindly; make video for 2021
    for simple top 5; bottom 5 and how to connect it with other charts (bar, pie, etc)
    it would be a great help for the community

    • @CurbalEN
      @CurbalEN  3 года назад +1

      Use the filter pane for that, easiest way!

    • @aas2943
      @aas2943 3 года назад +1

      @@CurbalEN yes ; true
      and how to connect that with entire db for bar charts and pie charts

    • @CurbalEN
      @CurbalEN  3 года назад +1

      That is a question for the ppwer bi community. Give as many details as you can to get help :)

    • @aas2943
      @aas2943 3 года назад +1

      @@CurbalEN yes ok.......
      ur videos r always motivation 4 me

    • @CurbalEN
      @CurbalEN  3 года назад +1

      Thanks!

  • @LashaPower
    @LashaPower 5 месяцев назад

    Cool, But Could you assist me how to get total Value for TopN values

  • @kapildhall5205
    @kapildhall5205 5 лет назад

    Superb, Thank you!

  • @aperez1969
    @aperez1969 3 года назад

    Me resulto lograr filtrar por los distintos top. Pero cuando no selecciono nada me devuelve el valor máximo y a ti te devuelve todos los valores. Que hago?

  • @krishnakishorepeddisetti4387
    @krishnakishorepeddisetti4387 6 лет назад

    Is there a way to show or remove the total that is showing at the bottom..??

  • @zuhedagulmohamed5726
    @zuhedagulmohamed5726 4 года назад

    How could we modify the measure to say don't show me anything if nothing is selected from TopN? In other words, start with an empty list.

  • @shinky0519
    @shinky0519 2 года назад

    What if i want to display the top 3 ranks as well

  • @onlyespresso
    @onlyespresso 5 лет назад

    Hi Ruth,
    How to add All data section in slicer like you ?

    • @CurbalEN
      @CurbalEN  5 лет назад

      Hi, it is a setting on the formatting panel for the slicer called slicer controls or something like that :)
      /Ruth

  • @rodribezul
    @rodribezul 7 лет назад +1

    Alguna sugerencia para lo siguiente: Tengo una medida %Ejecución, necesito seleccionar los registros que están en un determinado rango . Una especie de KPI sobre este valor %ejecución. Por ejemplo seleccione solo los que dicho porcentaje sea mayor del 70% etc. Gracias.

    • @CurbalEN
      @CurbalEN  7 лет назад

      +Rodrigo Bedoya Zuluaga Hola Rodrigo,
      No es fácil contestar a tu pregunta aquí, podrías preguntar en el Power Bi community?
      Puedes preguntar en español, no es problema :)
      /Ruth

  • @gpearls6232
    @gpearls6232 4 года назад

    How do we achieve the reverse (Bottom)?

  • @tubeitz
    @tubeitz 4 года назад

    brilliant! thank you

  • @ducthaituyen
    @ducthaituyen 7 лет назад +1

    can you show me how to calculate age against one set date, for example I need to calculate a person age from date of birth to 6/1/2015 , and from date of birth to 3/1/2016 etc

    • @CurbalEN
      @CurbalEN  7 лет назад

      +duc thai Hi Where do you want to do it? Power Query or DAX?

    • @ducthaituyen
      @ducthaituyen 7 лет назад +1

      Power query in power bi desktop

    • @CurbalEN
      @CurbalEN  7 лет назад

      +duc thai Doesn't it work by subtracting both dates?
      /Ruth

    • @ducthaituyen
      @ducthaituyen 7 лет назад +1

      no for example i have a person date of birth 2/1/2001 i want to add few columns to show his age at 2005-6-31 ,2006-6-31, and 2007-6-31 etc for reporting period

    • @CurbalEN
      @CurbalEN  7 лет назад

      +duc thai So you can add a custom column and then subtract the dates?
      I don't think I am understanding your question.
      It is better if you publish it on the power bi community where you can show your data.
      /Ruth

  • @ellukayou
    @ellukayou 4 года назад

    Beautyfull, i did not understand why when i select ·Top10" it shows me the Total

  • @subbukk4112
    @subbukk4112 6 лет назад +1

    could you pls share one more video based on multiple visuals using same slicer

    • @CurbalEN
      @CurbalEN  6 лет назад

      It sounds like you have a specific case in mind, have you tried posting in the power bi community?
      The solution will depend on how your model looks like and what you are trying to rank.
      /Ruth

    • @subbukk4112
      @subbukk4112 6 лет назад +1

      i have three visuals like productwise sales,custwise sals,state wise sales three different visuals so on three visuals using one slicer when i select top3 in slicer auomatically i want display top3 cust,top3states,,,top3 states on my visuals

    • @CurbalEN
      @CurbalEN  6 лет назад

      Thanks, please post the question in the power bi community,you will get help in no time :)
      /Ruth

  • @MarkHinderliter
    @MarkHinderliter 6 лет назад +1

    Hi Ruth,
    When I try to download the source file for this to shortcut building the machines table, I get this alert:
    Your connection is not private
    Attackers might be trying to steal your information from curbal.synology.me (for example, passwords, messages, or credit cards). Learn more
    NET::ERR_CERT_COMMON_NAME_INVALID
    Do you know how to resolve this?

    • @CurbalEN
      @CurbalEN  6 лет назад

      Hi Mark, issues with my SSL certificate . Click advance and then proceed and you will be fine, promise!
      /Ruth

  • @simpalranjan5161
    @simpalranjan5161 5 лет назад +1

    Cab we do this is power pivot if yes than how to do the data connectivity

    • @CurbalEN
      @CurbalEN  5 лет назад

      Hi,
      You should be able to follow the same steps.
      /Ruth

    • @simpalranjan5161
      @simpalranjan5161 5 лет назад

      @@CurbalEN Hi Ruth,
      Top n Slicer is working issue is if i select top5 or top 10 than the it filter out correct data but the grand total remain same always how can i fix this please suggest.

    • @CurbalEN
      @CurbalEN  5 лет назад

      Have you seen this?
      ruclips.net/video/ufHOOLdi_jk/видео.html&vl=en
      /Ruth

    • @simpalranjan5161
      @simpalranjan5161 5 лет назад

      @@CurbalEN Ruth,
      I have already seen this video same condition i m using with TOP n slicer but its is not giving correct total.
      Please help me out.

    • @CurbalEN
      @CurbalEN  5 лет назад

      For support, please post in the Power BI community. Make sure you explain your case in detail to get help.
      /Ruth

  • @ЭлектростальскийКолледж-м5й

    Спс!!! Очень познавательно. 😶

    • @CurbalEN
      @CurbalEN  4 года назад

      пожалуйста!
      /Ruth

  • @simpalranjan4015
    @simpalranjan4015 5 лет назад

    can we do this is power pivot?

  • @figarocalisthenics9516
    @figarocalisthenics9516 7 лет назад +1

    I have been trying to follow this tutorial but it is kind of hard because I am a newbie to powerbi and finding the menues you click in is hard because I cant see what you click on sometimes since your screen does not show everything. For instance in minute 1:18 you click on something to see the command line, but I cant find what is it you click on to see the command line. Maybe someone can explain. I am trying to make a top ten in a table with contains products, quantities, values in money, and I would like to make top 10 for both top ten number of products, and top ten highest cost.
    Please get back to me if anyone knows.

    • @CurbalEN
      @CurbalEN  7 лет назад

      +Figaro Calisthenics Hi Fígaro, yes, I have my Power Bi set up so I have some shortcuts to buttons and also other settings configured like to see the command line.
      That is not explained in the video so here it goes: to see the command line click on View and then Formula Bar.
      /Ruth

  • @lifeisstr4nge
    @lifeisstr4nge 6 лет назад

    Rank doesn't work without all, right?

  • @lawrenceonline
    @lawrenceonline 7 лет назад

    Thanks for the video bu i keep geting "A single value for column 'Exposure' in table 'Risks' cannot be determined. This can happen when a measure formula refers to a column that contains many values without specifying an aggregation such as min, max, count, or sum to get a single result" my formula is as follows Measure = RANKX(ALLSELECTED(Risks);Risks[Exposure];;ASC)

    • @CurbalEN
      @CurbalEN  7 лет назад +1

      +Lawrence Hi Lawrence! Is Risks[Exposure] a column or a measure?
      /Ruth

    • @lawrenceonline
      @lawrenceonline 7 лет назад

      Hi Ruth, its a column i think, on risk log its a calculated column value between =Probability (%)* Impact (1-10).

    • @CurbalEN
      @CurbalEN  7 лет назад

      +Lawrence That is where you have the issue. You can not have columns in measures without a SUM or COUNT or VALUES or something similar.
      Add one of those as needed and your measure will work!
      /Ruth

    • @lawrenceonline
      @lawrenceonline 7 лет назад +1

      thanks Ruth i added SUM(Risks[Exposure])) and it worked

    • @CurbalEN
      @CurbalEN  7 лет назад

      +Lawrence Excellent!
      /Ruth

  • @shyamthakur1393
    @shyamthakur1393 5 лет назад

    hi....suppose i have 50 record & there i have used "Rank " to get top 20 records...but rest 30 record count i want as " All Others " .....how to achieve this.....

    • @CurbalEN
      @CurbalEN  5 лет назад

      Hi!
      Please check this video on how to get Power BI support:
      m.ruclips.net/video/oXFOebuvRz0/видео.html
      /Ruth

    • @shyamthakur1393
      @shyamthakur1393 5 лет назад

      @@CurbalEN I hav seen this video but ...i didnt find solution for my question

    • @CurbalEN
      @CurbalEN  5 лет назад

      Post your question here: community.powerbi.com to get help.
      /Ruth

  • @luispitty6808
    @luispitty6808 4 года назад

    I like your voice haha

    • @CurbalEN
      @CurbalEN  4 года назад +1

      Should start a podcast!
      /Ruth

    • @luispitty6808
      @luispitty6808 4 года назад

      @@CurbalEN yes hahaha,

  • @chiu2003MOBILE
    @chiu2003MOBILE 6 лет назад

    really unclear explanation on the last part (Maxx....)
    Can someone help?

  • @jonnyparsons3217
    @jonnyparsons3217 7 лет назад +1

    Great video thanks Ruth. For those experiencing the problem with the incorrect total, there is a work-around here ruclips.net/video/HJdVfYkfhmE/видео.html
    Hope this helps?

    • @CurbalEN
      @CurbalEN  7 лет назад

      +Jonny Parsons Hi Jonny,
      I have a video on that too, but thanks for the resource :)
      /Ruth

  • @Tyraelxadrias
    @Tyraelxadrias 3 года назад

    The Video is broken!