DAX Fridays! #23: ISFILTERED

Поділитися
Вставка
  • Опубліковано 23 січ 2025

КОМЕНТАРІ • 52

  • @SmartBimson
    @SmartBimson 8 років тому +4

    DAX Friday is really cool !!! I enjoy learning new DAX expressions very much and you explain it so cool, even a noob like me understands 😉👍🏻 have a great weekend !!!!! 👍🏻

    • @CurbalEN
      @CurbalEN  8 років тому +1

      +SmartBimson Thanks SmartBimson! Your comments makes it work worth it :)
      Have a great weekend !
      /Ruth

  • @azizquazi
    @azizquazi 3 роки тому

    What a great learning, Thanks a lot, Ruth.

  • @AliHoolash
    @AliHoolash 8 років тому +2

    Nicely explained with relevant examples. Keep the videos coming.

    • @CurbalEN
      @CurbalEN  8 років тому

      +Ali Hoolash Thanks Ali, have a great weekend!
      /Ruth

  • @Hemantshyontry
    @Hemantshyontry 7 років тому +1

    Hi Ruth,
    Can I put another calculate statement in place if nothing selected on filter,something like below.
    if(isfiltered(),calculate(), calculate ())???

    • @CurbalEN
      @CurbalEN  7 років тому

      +Hemant Singh Hi Hemant,
      The best way to answer that question is to try to do it yourself and see what happens.
      It is a great ( in my opinion the best) way to learn.
      Have a great weekend,
      /Ruth

    • @Hemantshyontry
      @Hemantshyontry 7 років тому

      Curbal ..I wrote this formula..
      Curr_ytd = if(isfiltered(datetable(mnth-yr),calculate(total_sales,datesytd(datetable(date),"31/03"),calculate(tatal_sales,dates between(2017,04,01),(2017,09,30))
      This formula is working correct only for true part of "if" and giving blank for the false part of "if". Also,if I break formula in to two parts i.e if I calculate the two calculate statements separately then both are giving correct result. I am just clueless as how to make it work. Can you guide me in right direction???

    • @CurbalEN
      @CurbalEN  7 років тому

      +Hemant Singh Hi Hemant,
      Post the question with some sample data in the power bi community. Make sure you post the Dax measure your are using to help troubleshoot,
      /Ruth

  • @nikhargesumit9069
    @nikhargesumit9069 4 роки тому

    Your minor mistake was the good lesson for me (shifting new measure from wrong table to correct table) I wasn't aware of that option. Really thanks for your valuable video. :)

    • @CurbalEN
      @CurbalEN  4 роки тому

      Glad I didnt edit out the mistake then!
      /Ruth

  • @hogiburning
    @hogiburning Рік тому

    My function with the same formula doesn't return Total, I dont know why.
    Contribution point per teacher =
    IF(
    ISFILTERED('DIM - teacher'[teacher name]),
    CALCULATE(SUM('FACT - demo_day_score'[contribution_point]))
    )
    Please help me fix this, thank you.

  • @NorbertoVeraReatigaNVR
    @NorbertoVeraReatigaNVR 8 років тому +1

    Muchas gracias Ruth, esta muy clara su explicación del uso de la función!!!

    • @CurbalEN
      @CurbalEN  8 років тому +1

      +Norberto Vera Reatiga Gracias Norberto, Que tengas buen fin de semana!
      /Ruth

  • @Victor-ol1lo
    @Victor-ol1lo 7 років тому +1

    Hi Ruth, it would be interesting to see the difference between ISFILTERED /ISCROSSFILTERED / HASONEVALUE / HASONEFILTER in one of your next DAX Fridays. It is hard to figure out the difference here... Thanks.

    • @CurbalEN
      @CurbalEN  7 років тому

      +Victor Friesen Yes, that is a great idea 💡, I will add it to my to do list.
      In the meantime :
      powerpivotpro.com/2013/03/hasonevalue-vs-isfiltered-vs-hasonefilter/
      /Ruth

  • @leonelalegria7787
    @leonelalegria7787 2 роки тому

    Hello, Curbal! Can you make a video please for dynamic titles for hierarchies. That is, the title changes as we change the hierarchy level... thanks a lot!!

  • @xfg85
    @xfg85 4 роки тому

    Is there an option to say IsFiltered([Field]="X","Yes","No")?

  • @krushalchaudhary9882
    @krushalchaudhary9882 5 років тому

    how did you opent he formula bar for PY sales?

    • @CurbalEN
      @CurbalEN  5 років тому

      Where do I do that?
      /Ruth

  • @OmarAlvarezGarcia
    @OmarAlvarezGarcia 5 років тому

    Buenas Ruth! Como se podría crear una formula para poder ver "Full previous year sales" aunque estemos filtrando en el mes de Abril en 2019 por ejemplo. Gracias de antemano!

    • @CurbalEN
      @CurbalEN  5 років тому

      Hola Omar,
      Me parece que lo explico en este video:
      m.ua-cam.com/video/5WGOTsYngCI/v-deo.html
      /Ruth

  • @dynamics1234
    @dynamics1234 4 роки тому

    Can you do a video to explain how to do cumulative or running total or sum of counts of text data. I have multiple years of data by years and months. The data is text, say “M”, “L” etc… in a column. I need to draw a chart showing both counts (bar) and running counts (line) by months. And from a slicer when I select a specific year then I should be able to visualize the counts and running counts of the text of the selected year. So running counts should be for a selected time say a year, not cumulative counts of all years starting from Min year to selected Max year.

  • @maxk2904
    @maxk2904 4 роки тому

    Hello ! Thank you for the explanation, really nice tip !
    I have a question, how to do the same when there is a hierarchy in the table rows :
    For instance, what if there is a period hierarchy in table's rows (Year > Months), and the slicer is filtering years ?
    Is it possible to display make the visual disappear until a year is selected ?
    Have a great week end

  • @bradj229
    @bradj229 3 роки тому

    Tricky example for me, but got it working correctly :). Thanks!

    • @CurbalEN
      @CurbalEN  3 роки тому +1

      You are on a roll 🎲🎲

    • @bradj229
      @bradj229 3 роки тому

      @@CurbalEN it’s my day off 🎉🥳

    • @CurbalEN
      @CurbalEN  3 роки тому +2

      What?? Put the computer down and go out in the 🌞. It is an order!

    • @bradj229
      @bradj229 3 роки тому

      @@CurbalEN 😂🤣😅

  • @mukulpratap143
    @mukulpratap143 5 років тому

    how to handle the grand total when we are using isfiltered function, basically we should not be showing the grand total because it's not correct

    • @CurbalEN
      @CurbalEN  5 років тому

      Check this video:
      ua-cam.com/video/ufHOOLdi_jk/v-deo.html&vl=en
      /Ruth

    • @mukulpratap143
      @mukulpratap143 5 років тому

      @@CurbalEN have already gone through this video but i don't want to show the grand total at all then what because if i have calculated a measure with multiple calculation using switch then grand total doesn't make any sense

    • @mukulpratap143
      @mukulpratap143 5 років тому

      for example follow powerpivotpro.com/2012/06/dax-making-the-case-for-switch/ link as we have calculation for previous yr ytd then grand total doesn't make any sense

    • @CurbalEN
      @CurbalEN  5 років тому

      Got you!, in the Matrix visualization you can hide the grand total, I think it is hidden under subtotals tab.
      /Ruth

    • @mukulpratap143
      @mukulpratap143 5 років тому

      @@CurbalEN that can be done in power BI but I am working on tabular cube so is there any option at design level to hide the grand total

  • @stevennye5075
    @stevennye5075 5 років тому

    very well done!

    • @CurbalEN
      @CurbalEN  5 років тому

      Glad you liked it :)
      /Ruth

  • @AshikKhan
    @AshikKhan 5 років тому

    Hi, The explanation was good liked it,,, can you please show calculation against blank/text...for eg.. if the year/month is not selected then the table should show current month data, and when the year/month selected then the table should show the selected year/month data...
    thanks.

    • @CurbalEN
      @CurbalEN  5 років тому +1

      Sure, I add it to my notes !
      /Ruth

    • @AshikKhan
      @AshikKhan 5 років тому

      @@CurbalEN thanks

    • @AshikKhan
      @AshikKhan 5 років тому

      @@CurbalEN Hi Ruth...
      Thanks a lot I was able to do the isfiltered... I created two measure with the condition I need and then I have added those two measure in the isfiltered function as you have demonstrated in the video ... Finally it worked....
      Thanks a lot

    • @CurbalEN
      @CurbalEN  5 років тому +1

      Yey!!! Best way to learn, congrats!
      /Ruth

    • @AshikKhan
      @AshikKhan 5 років тому

      @@CurbalEN thanks again

  • @renvangel
    @renvangel 8 років тому +1

    Great 👍

    • @CurbalEN
      @CurbalEN  8 років тому

      +renvangel Thanks to you revangel !

  • @adityakalra7383
    @adityakalra7383 4 роки тому

    Month name column as gone for a toss

  • @Laxmanmane007
    @Laxmanmane007 4 роки тому

    hi ruth please make video on Selectedmeasure()

    • @CurbalEN
      @CurbalEN  4 роки тому

      Hi,
      Selectedmeasure is for calculation groups and it us not possible to create them in power bi (natively) yet. I will wait for that to the the video.

  • @CloudhoundCoUk
    @CloudhoundCoUk 8 років тому

    Brilliant.

    • @CurbalEN
      @CurbalEN  8 років тому

      +Cloud Hound With the exception that i forgot to explain the function...😵
      But Thanks!
      /Ruth

  • @rajeshkannan.k.s204
    @rajeshkannan.k.s204 4 роки тому

    Please show some energy while explaining things. slept before start