DAX Fridays! #29: HASONEVALUE

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

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

  • @Victor-ol1lo
    @Victor-ol1lo 7 лет назад +1

    Thanks for the video Ruth! It really helps to understand the idea of the function. Great job !

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

      +Victor Friesen Thanks Victor and thanks for your support :)
      /Ruth

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

    Great explanation and example. Thank you for making it clear how it can be utilized.

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

    Hi Ruth, thanks for the video. I think it would be great if you can create another video for HASONEVALUE that is more simple than this one, meaning that it would be a better example one that doesn't use other functions. Thanks again.

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

    HASONEVALUE checks for only distinct values in a group, but you are getting results even if the column isn't having distinct values?
    How is this possible?

  • @ahmedal-dossary4386
    @ahmedal-dossary4386 4 года назад

    Thanks Ruth for the video!
    I have one comment on this. When using combination of hasonevalue and values function to change current filter context, the visual returns an error although DAX is absolutely correct. This is when you use, for example, matrix and throw one field in row and another one in column. When both fields are under row, I don’t get an error.
    Any reflection?
    Consolidated Plan =
    IF (
    HASONEVALUE ( GL_Map[G/L Description] )
    && VALUES(Company_Map[Company Name])"AT",
    SUM ( 'Plan Cost'[2020 Planned Cost] ),
    CALCULATE (
    SUM ( 'Plan Cost'[2020 Planned Cost] ),
    FILTER (
    ALL ( GL_Map[G/L Description] ),
    GL_Map[G/L Description] "Support Service"
    )
    )
    )

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

    Nice video again Ruth :-)

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

      +Kenny McMillan You welcome Kenny :)
      /Ruth

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

    Loves these videos. Thanks ❤️

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

    Hi Ruth, billion thanks on the video. However, I just mixed up, the HASONEVALUE does it mean the whole column has only one single value which means all the value inside the column is the same? or just only one value being selected?

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

    Great, many thanks

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

      You welcome!
      /Ruth

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

    Hi Ruth..!
    i have country and sales columns
    my requirement is, if i filtered "top5" in slicer i need to get top5 country wise sales in table visual
    same as like in this video
    i am trying but, can't getting
    could you please let me know the steps and dax for that requirement
    Thanks:)

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

    excellent

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

    In the same measure, I meant.

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

    Hi Ruth, Can I use both active and inactive relationships in a single measure?

    • @AkshayKumar-vd5wn
      @AkshayKumar-vd5wn Год назад

      No, the actife is what remains but inactive is not the one that is used. You can switch between the two. Turn one actife and the other inactive..