SUMMARIZECOLUMNS - DAX Guide

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

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

  • @adityaupadhyay3242
    @adityaupadhyay3242 3 года назад +2

    Nice explanation. If my understanding we use this function to replicate an agrregation query. Is the equivalent query for the first example is below:
    SELECT YEAR, BRAND, SUM(Amount) Amount, SUM(Quantity) Qty
    FROM Sales left join Date on Sales.Date = Date.Date
    left join Product on Sales.ProductID = Product.ProductID
    GROUP BY YEAR, BRAND
    HAVING YEAR IN (2008,2009)
    AND Product.Color IN ('Red','Blue')

  • @shalom1070
    @shalom1070 2 года назад +2

    I love your videos! Always on the spot! short and clear! Thank you!

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

    hi, appreciate your valueable guide videos... i have started learning Power BI and these will be much helpful to become expert in near future 😊

  • @Bharath_PBI
    @Bharath_PBI 3 года назад +3

    Thank you. You made it look so simple 👍

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

    Super useful tutorial. Congratulations for the Euro win!

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

    Perfectly explained 👏. Thank you.

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

    Very informative. Question: You have "CY2008" and "CY2009" hard-coded in the measure. What would the correct syntax be if the user needed to select the date range or the color?

  • @DanielWeikert
    @DanielWeikert 2 года назад +1

    So in your last example you could use SUMMARIZE and ADDCOLUMNS to avoid the issue in the measure right?
    br

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

    Thanks, Nicely explained!

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

    How one can fix column values and include resulted values in the grouping?
    Some products are split into two groups of RXN and RXR
    Is it posible to add column like below:
    "Type", SWITCH([Group],"RXN","RX","RXR","RX",[Group])

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

    How to refer to a column like Product or Country from summarizecolumn in Values() or such similar function? I want use these values as filter in another DAX

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

    I have a question for you. I will be happy if you can make a video out of it, if possible. I am having trouble with my Matrix totals. Power Bi for some strange reason doesn't do a good job when it comes to totals and subtotals. What is the best way to fix incorrect totals?

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

      Take a look at these articles/videos:
      www.sqlbi.com/articles/obtaining-accurate-totals-in-dax/
      www.sqlbi.com/articles/summing-values-for-the-total/

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

    Thank you

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

    what is difference between summarize and summarizecolumns in power bi

    • @SQLBI
      @SQLBI  2 года назад +1

      Look at the differences on dax.guide
      SUMMARIZECOLUMNS is usually better than SUMMARIZE, but it can't be used in measures so SUMMARIZE still has a place.

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

    Totaly useless function which cannot be used in 99,99999% of scenarios.

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

    never had have heard of ROLLUPADDISSUBTOTAL before :-)