Bonus How to add Totals to a bar chart visualizations using DAX

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ต.ค. 2024
  • Make sure to subscribe for new videos!
    #powerbi
    #power bi desktop
    #powerbi course
    power bi tutorial
    Check out my courses on udemy www.udemy.com/...

ความคิดเห็น • 21

  • @777tmack
    @777tmack ปีที่แล้ว +2

    It's an interesting technique. I would probably use a reference Line, but it's great to know. Thanks

  • @gcahasnowwolf6899
    @gcahasnowwolf6899 9 หลายเดือนก่อน

    This is great .. What if I want the total value to be freeze even if I selected the specific category? would that be possible?

    • @danwe5520
      @danwe5520  9 หลายเดือนก่อน

      With the ALL function DAX allows to remove filters from other dimensions
      br

  • @karnikkalani1516
    @karnikkalani1516 ปีที่แล้ว

    I need to do this for multiple categories like yearly, Quarter etc. do I have to make new table for each?

    • @danwe5520
      @danwe5520  ปีที่แล้ว

      You could try field parameters. Maybe that could work as well.

  • @jananiingarshal1777
    @jananiingarshal1777 ปีที่แล้ว

    Hi.. This is great. I have a query.. If I use gender in legend, how I need to write the DAX please..

    • @danwe5520
      @danwe5520  ปีที่แล้ว

      put your gender in the axis
      br

  • @nadhiradwi8583
    @nadhiradwi8583 ปีที่แล้ว

    hi thank you for this tutorial video, but why the total number is not tally with the total from each category? can you please explain?

    • @danwe5520
      @danwe5520  ปีที่แล้ว

      it is the total average price across all sales in the dataset not the average of the individual bars
      br

  • @LiveLoveMazy
    @LiveLoveMazy ปีที่แล้ว

    only problem with this formula which is you can't drill down with this formula? can you confirm please?

    • @danwe5520
      @danwe5520  ปีที่แล้ว

      think you are correct

  • @dianamgdata
    @dianamgdata ปีที่แล้ว

    What if I want to add a subcategory like 'animal products'? How can I make therelationship work out?

    • @danwe5520
      @danwe5520  ปีที่แล้ว

      I could think of a second table column with subcats next to categories to have the "relationship in the model
      br

  • @karnikkalani1516
    @karnikkalani1516 ปีที่แล้ว

    i have category with v and z sorting does not work what to do?

    • @danwe5520
      @danwe5520  ปีที่แล้ว

      Power BI requires sorting tables so you need a column with numbers which you can use to sort the category column
      br

  • @jananiingarshal1777
    @jananiingarshal1777 ปีที่แล้ว

    My total is same for "Male" and "Female" where Gender in the legend. please help

  • @DianaLuciaMtzG
    @DianaLuciaMtzG ปีที่แล้ว

    Something is wrong with my model I guess. I get the value of the Total variable through all my categories :/

    • @danwe5520
      @danwe5520  ปีที่แล้ว +1

      Sounds like an issue with the relationships
      br

    • @dianamgdata
      @dianamgdata ปีที่แล้ว

      @@danwe5520 Am I supposed to connect the Categories with total table to the original one?

    • @danwe5520
      @danwe5520  ปีที่แล้ว

      @@dianamgdata yes

  • @sdloans1
    @sdloans1 ปีที่แล้ว

    This will not work without a relationship the measure doesn't know how Category that has been created connects to the data and you will get total all the way down