Aggregations in Power BI - Power week 918 Power Bi Desktop update

Поділитися
Вставка
  • Опубліковано 2 лис 2024

КОМЕНТАРІ • 46

  • @project365
    @project365 6 років тому +7

    As per this docs.microsoft.com/en-us/power-bi/desktop-aggregations#validations, the detailed table must be a direct query and is it because of this you were not able to use the Calendar table in Manage aggregations

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

      Thank you, thank you, thank you !! Will pin your comment for more visibility!
      /Ruth

  • @thebiggerpicture__
    @thebiggerpicture__ 2 роки тому +1

    Great video! A question, it is not possible to filter the table using slicers unless the field of the slicer is listed in the "group by" function. Is that right? Thanks!

  • @irzanti12
    @irzanti12 6 років тому +2

    Great video. What's the minimum laptop configuration to run the data? What's the configuration of your laptop?

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

      I have a surface book 2 , but you can manage with less depending on your data.
      /Ruth

  • @joseagundis1
    @joseagundis1 6 років тому +1

    Gracias Ruth, con este video nos abre un nuevo horizonte para la consulta de datos. saludos.

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

      Asi es! Ahora a ponerlo en práctica!
      :)
      /Ruth

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

    Hi Ruth,
    Have you tried to use average as an aggregation ? I can not see the option.
    regards, Akthar

  • @nadirlebrave6835
    @nadirlebrave6835 6 років тому +2

    thank you very much Ruth. I posted this before watching the video

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

      No worries! Hope it was helpful!
      /Ruth

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

    Hi Paz, in the Aggregated table why didn't you created a relationship with the OrderID with the Big Fact table?
    Love your videos! You are really good at explaining all concepts :)

  • @nboisen
    @nboisen 6 років тому +1

    In preparing your aggregate table, why do you not first add a calculated column for total sale amount for each row by multiplying unit price by the quantity before aggregating so you can then sum the total sale amount when you group by to yield total amount per order number. It seems that if you sum price and quantity separately you can no longer get the total sale amount per order, because multiplying sum of quantity by sum of unit price will not yield the same result . Or have I missed something very basic?

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

      The purpose of the video is to show aggregations, so the example might not be the best!
      /Ruth

    • @nboisen
      @nboisen 6 років тому +1

      @@CurbalEN okay, got it. Sorry to nitpick. Found the video very useful to understand the rather mysterious things that power bi does in the background. And I agree with your sentiment that some of the newer features are bordering on making powerbi overly complex for self service bi.

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

      😂😂 Don’t worry, your question was very valid!
      Let’s vote for a “disable enterprise features” button !
      ;)
      /Ruth

  • @rassten
    @rassten 6 років тому +2

    Great, again you have taken a very complex subject and made it easy to understand for others.
    If you're missing a topic for Dax / Statistic Friday, I can suggest "correlation"

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

      Thanks Sten! Makes me feel proud when I hear that feedback ! 😊

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

      ...and correlation is on my list , but first up is poisson.dist ... cool lite distribution;)
      /Ruth

  • @ethanowens7687
    @ethanowens7687 6 років тому +1

    Using data from two different databases in SSMS requires a many to many relationship in our testing, even when all sources are in DirectQuery mode. Can you help explain this?

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

      Hi Ethan,
      Any relationships that are cross-source must be defined as having a cardinality of Many-to-Many, regardless of their actual cardinality.
      In my example, all tables come from the same source.
      More info here:
      docs.microsoft.com/en-us/power-bi/desktop-composite-models
      Or here:
      m.ua-cam.com/video/au1buy6NBAI/v-deo.html
      /Ruth

    • @ethanowens7687
      @ethanowens7687 6 років тому +1

      Ruth,
      Many thanks for your swift response. A follow up question for you:
      Would you suggest then avoiding aggregation / composite models when data is cross source and Many:Many is forced? In our scenario, most of our data is within a single database EXCEPT the Date Dimension. IT does not want to duplicate multiple date dimensions across all the databases. And based off of your examples, we cannot use an M Code Date Dimension AND avoid Many:Many when we do an aggregation model.
      We noticed in SQL Profiler that when aggregations is used with Many:Many, sometimes it used Direct Query or In Memory (which isn’t ideal).
      This in addition to being forced to use a Direct Query Date Dimension is limiting our use of this feature. To us, this great feature should be really only used on top of a defined DataMart and not multiple sources within the PowerBI Model. Any guidance would be appreciated.

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

      Unless you are experienced with M:M I would avoid them and specially if you are trying to create self-service models.
      So, either you add the date dimension in the model or you import the data into power bi (instead of DQ or Live). That is your best bet!
      /Ruth

    • @ethanowens7687
      @ethanowens7687 6 років тому +1

      Thanks! Sorry, another question:
      Are you aware of a limitation on the Manage Aggregations when you want to sum decimal numbers?
      We are creating the Aggregated table in Power Query utilizing M and query folding. Everything was going great until we went to Manage Aggregations. We are not allowed to Sum our numeric columns. Going back into Power Query, it seems that when we used the Group By it converted Whole Numbers (123) to Decimal Number (1.2). If we try to Change Type we get a notification that step is not supported in Direct Query Mode and wants us to Import. Importing is not an option, we will not be able to set the table property to Dual.
      We know we can do the aggregations on the SQL Server side, but we thought this would work as well and we wanted to compare the two. Do you have any insights into this?

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

      Yes, happened to me too. This is what the docs say:
      If the Query Editor query is overly complex, an error will occur. To remedy the error you must either delete the problematic step in Query Editor, or Import the data instead of using DirectQuery
      I was changing a column type to date, so I wouldn’t call that complex.
      What I think is happening is that when you make a transformation that breaks the query folding then it forces you to import. Group by will break query folding... test it.
      /Ruth

  • @DanielWeikert
    @DanielWeikert 6 років тому +1

    Hi Ruth,
    when we talking about big data, the big data table would always need to be direct query because it's too large for import or dual right? Direct Query should be available for all datasources right?
    thanks and great video again ;)

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

      Hi, exactly, when you have a lot of data, your only option is Direct Query.
      If you have composite models, you can only use Import with Dual to avoid M2M, so either you convert everything to dual and import or you have dual and direct query. Import and direct query is a BIG NO-No.
      Hope I explained myself?
      /Ruth

  • @thesoothingbutterfly9614
    @thesoothingbutterfly9614 6 років тому +2

    Hi ruth can u plse share this database wid me . I downloaded the northwind database u were talkin about but it doesnt have ordersbig table and i kind of have to give a presentation on aggregations in power bi this monday.

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

      Hi! My database is the Northwind database, I dont have a big order table I can share unfortunately!
      /Ruth

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

    It seems this feature is still not available for Power BI Report Server (Jan 2019)

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

      You are probably right, report server is usually 6 months behind :(
      /Ruth

  • @christopherhastings2142
    @christopherhastings2142 6 років тому +1

    Where did you get the write-over tool?

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

      It is called epic pen. Really good :)
      /Ruth

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

    Don't understand why you need all these aggregations if you can make a separate table in Power Query with aggregated data (as you did) and use it when appropriate instead of Big table?

  • @jerrykappa6899
    @jerrykappa6899 6 років тому +1

    Nice features.... will see how I can use this for my models

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

      Give them a go, it is worth it!
      /Ruth

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

    I dont see the table properties so I could set the storage properties? I'm using this verion 2.71.5523.941 64-bit (July, 2019). Any help?

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

      You can not change the storage model on a Live connection, maybe that is your problem?
      /Ruth

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

    Hello, i like to see your videos and the way you explain topics. I have a question if Power Query can help. I have a list of names with different Start and End dates columns with different leave types. Dates may be in continuation but in different rows. i need Power query to club the dates as 1-20 March in one row and 23-26 march in another row as Annual leave and sick leave remains as is in a separate row. Possible?
    Name Start Date End Date Leave Type
    Mr. Smith 01-Mar-20 05-Mar-20 Annual Leave
    Mr. Smith 06-Mar-20 09-Mar-20 Annual Leave
    Mr. Smith 29-Mar-20 31-Mar-20 Sick Leave
    Mr. Smith 10-Mar-20 20-Mar-20 Annual Leave
    Mr. Smith 23-Mar-20 26-Mar-20 Annual Leave
    result expected:
    Mr. Smith 01-Mar-20 20-Mar-20 Annual Leave
    Mr. Smith 23-Mar-20 26-Mar-20 Annual Leave
    Mr. Smith 29-Mar-20 31-Mar-20 Sick Leave

  • @jaiminpatel4150
    @jaiminpatel4150 6 років тому +1

    Hi Ruth, I am working with large Data and this video helps in case case of aggregation, thanks for that. But the next level difficulty is how to drill through actual table after aggregation. Like I am having 10 billion rows and after aggregation, I can get summarized data very fast, but when I drill through detail table It take very long time. How can I get into detail data very fast?

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

      You can’t, if you need to read the entire table, the read speed will be slow, unless you can aggregate that too.
      /Ruth

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

    Very well made video! Lot of questions answered and the way you explained is amazing.

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

      Music to my ears!! Thanks for sharing :)
      /Ruth

  • @sadyaz64
    @sadyaz64 6 років тому +1

    1000 thanks !!!

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

      You welcome!!! :)
      /Ruth

  • @kartickshow
    @kartickshow 6 років тому

    Again the sound is bad.

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

      Is it? I have to go to the doctor!!
      /Ruth