How to use SUM and SUMX in Power BI // Complete Beginners Guide to Power BI in 2020

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ก.ย. 2024

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

  • @learnenglishwithcumaali2883
    @learnenglishwithcumaali2883 4 หลายเดือนก่อน +1

    You did not explain the difference between SUM and SUMX???

  • @mrjpwalkinson7495
    @mrjpwalkinson7495 ปีที่แล้ว +3

    Never put your face in camera when explaining something

  • @giri41
    @giri41 6 หลายเดือนก่อน

    Test_1 =
    var PriceperUnit_CY = DIVIDE([Sales_CY],[Quantity_CY],0)
    var PriceperUnit_PY = DIVIDE([Sales_PY],[Quantity_PY],0)
    var SalesVariance = [Sales_CY]-[Sales_PY]
    return
    SUMX(VALUES(ATC[material_style1]),if(DIVIDE([Sales_CY],[Quantity_CY],0)=0 || DIVIDE([Sales_PY],[Quantity_PY],0)=0,[Sales_CY]-[Sales_PY],1))

  • @giri41
    @giri41 6 หลายเดือนก่อน

    please help. this is not working..
    Test_1 =
    var PriceperUnit_CY = DIVIDE([Sales_CY],[Quantity_CY],0)
    var PriceperUnit_PY = DIVIDE([Sales_PY],[Quantity_PY],0)
    var SalesVariance = [Sales_CY]-[Sales_PY]
    return
    SUMX(VALUES(ATC[material_style1]),if(DIVIDE([Sales_CY],[Quantity_CY],0)=0 || DIVIDE([Sales_PY],[Quantity_PY],0)=0,[Sales_CY]-[Sales_PY],1))

  • @sebastiankachau7780
    @sebastiankachau7780 21 วันที่ผ่านมา

    How do you sum up the "Total Amount " column and display the figure at the bottom of the column?

  • @giri41
    @giri41 6 หลายเดือนก่อน

    please help below code not working .. bypassing IF statement when i use in SUMX

  • @nehasharma-jd9kc
    @nehasharma-jd9kc 3 ปีที่แล้ว +2

    nice video but u should show your screen more closely, it really hard to see the formulas. ya one more thing, I m watching the playlist but I feel videos should be arranged according to topics means step by step not randomly

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

      That's great feedback thanks, I've fixed this issue in my recent videos, where i zoom in / out of the screen

  • @BISAACk
    @BISAACk 4 หลายเดือนก่อน

    Hi, i tried the SUMX but when i added the new measure to the visual table it did not like it.
    Total Avg = SUMX(MeasureTable, MeasureTable[Field01] + MeasureTable[Field03] + MeasureTable[Field03]) / 3
    Basically i wanted to sum 3 columns and get the average total

    • @-SairamR
      @-SairamR 14 วันที่ผ่านมา

      You can use the averagex function right

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

    please upload more videos especially common function DAX like count, sum, divide, filter, cumulative, if/switch

    • @SolutionsAbroad
      @SolutionsAbroad  3 ปีที่แล้ว

      Hi, thanks for watching! I already covered a lot of the functions you've mentioned, let me know if there's any specific function you want me to cover!

  • @zauronasaurtv6240
    @zauronasaurtv6240 3 ปีที่แล้ว +2

    Thank you so much sir!

    • @SolutionsAbroad
      @SolutionsAbroad  3 ปีที่แล้ว

      You're welcome, thanks for watching!

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

    Good explanation.. Please upload more vedios on pwrbi dax

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

      More videos are coming buddy, thanks for watching!

  • @TheBestBirdBomber
    @TheBestBirdBomber 4 หลายเดือนก่อน

    Is there a way to fix the row totals when using SUM and IF conditions together?

  • @antipghosh
    @antipghosh 2 ปีที่แล้ว

    Sir, How to do summation of first 3 numbers in a series in power bi....?
    Series: {5, 7, 2,3,9,10,2}
    Desired sum: 5+7+2

  • @giri41
    @giri41 2 ปีที่แล้ว

    How to count customer hierarchy in customer table spending in each category in material table

  • @policani
    @policani 2 ปีที่แล้ว

    Why the heck do I have to use Dax for this? In Excel, I just toggle my pivot tables between count and sum.

    • @SolutionsAbroad
      @SolutionsAbroad  2 ปีที่แล้ว

      Hi Cark, you can also do this by putting the values on a table, Power BI will calculate the sums for you. The point of using DAX is explicitly define what the calculation should do when someone else uses it

  • @harshalpatil2111
    @harshalpatil2111 3 หลายเดือนก่อน

    Thank god you are there... :)👍

  • @kamrankhan-hh9jv
    @kamrankhan-hh9jv 2 ปีที่แล้ว

    i have been stuck somewhere total in correct in measure kindly solve this issue can i sent to my PBXfile

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

      what are you stuck on, send an example.

  • @giri41
    @giri41 2 ปีที่แล้ว

    Please continue making videos.. thanks

  • @todayflower6367
    @todayflower6367 2 ปีที่แล้ว

    very nice video!

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

    Legend!

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

    Nice 👍

  • @ltsMeEvy2
    @ltsMeEvy2 3 ปีที่แล้ว

    So does this mean I use SUM on a already existing colum, and SUMX to calculate data from a non existing colum, or does this logic not always apply? Thank you so much for the video!

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

      SUM and SUMX both use existing columns, either directly or through expressions,
      The expressions could be more calculations but ultimately they always refer to a column in a table
      I've never used SUM or SUMX other than this way, hope that helps!