QUERY Pivot Table -Google Sheets - Query Pivot, Group By, Month, Year Functions Tutorial - Part 6

Sdílet
Vložit
  • čas přidán 29. 08. 2024
  • Video tutorial series about QUERY function in Google Sheets.
    In this tutorial we'll cover how to create pivot tables with QUERY function in Google Sheets, how to use month and year functions and also how to create a calculated field using Query function.
    Website:
    www.chicagocom...

Komentáře • 66

  • @mizmoman
    @mizmoman Před 6 lety +8

    Please keep these coming! Every time I watch one of your videos, I learn something that I didn't know was possible with Google Sheets. Thanks for graciously sharing with the rest of us.

  • @eugeniab9680
    @eugeniab9680 Před 3 lety +4

    You are my preferred 'teacher'. Thanks a lot for everything! I always learn with your lessons! I love them, actually.

  • @negaodo38itao
    @negaodo38itao Před měsícem

    Great content. Thx for sharing this. Learning a lot!

  • @lafamillecarrington
    @lafamillecarrington Před rokem

    Having watched this, I now understand pivot tables much better!
    I don't understand how I managed without the Query function for so long!

  • @shyamfashionapparels4515
    @shyamfashionapparels4515 Před 4 lety +1

    I love you master................... you r awesome

  • @mlqa1929
    @mlqa1929 Před rokem

    This is spectacular! It works!

  • @user-ji2pr9js4j
    @user-ji2pr9js4j Před 5 lety

    Great step by step explanation!

  • @pauloreis8501
    @pauloreis8501 Před 3 lety +1

    Fantastic Great job!

  • @ERGODINHO
    @ERGODINHO Před 5 lety

    10:40 select by year. Very useful tip.

  • @user-xu6pg6ip4j
    @user-xu6pg6ip4j Před rokem +1

    I've found the way how to replace numbers of the months with names:
    (month(A)+1)*30 , then format the column that contains months to display months' names

  • @EduardoBicelisGarcia
    @EduardoBicelisGarcia Před 3 lety

    min 05:43 the difference between PIVOT (by columns) and GROUP BY (by rows)... Muchas gracias!

  • @shanesymons9443
    @shanesymons9443 Před 6 lety +15

    Hi there - loving all your lessons they great. Can you please share the sample sheets you using?

  • @Richard.bassan
    @Richard.bassan Před 4 lety

    Greetings from Brazil

  • @Max_Stupa
    @Max_Stupa Před 6 lety

    Thank a lot for you tutorials!

  • @lazalazarevic6192
    @lazalazarevic6192 Před 6 lety +1

    another great video, thanx man

  • @SumitKumar-eh4hz
    @SumitKumar-eh4hz Před 9 měsíci

    Awsome❤

  • @BachXuanHien
    @BachXuanHien Před 2 lety

    Wonderful

  • @mikecarney8023
    @mikecarney8023 Před 6 lety

    perfectly well explained. thank you

  • @tounji
    @tounji Před rokem

    This is awesome! Is there a way to sort the Pivoted columns? Like having the result in this arrangement - > Western, Southern, Northeastern, Midwestern and not vice versa.

  • @BrianSy
    @BrianSy Před 6 lety

    thank you, wonderful work

  • @juanpauloalmazan2997
    @juanpauloalmazan2997 Před rokem

    Good day!, i was wondering if you came across a pivot then somehow it gives an extra column with 0 value label even if my where only limit on the selected week
    example, = query(data), select (A)Name, count(A)Name where C = 'WB 02/27/2023' pivot (B) days. it creates a pivot of days within a week and somehow it appears 0 on the last column with value. and sometime if it repeats a column like monday, tuesday and wednesday and then another monday and tuesday again.

  • @husseinalayubi7258
    @husseinalayubi7258 Před rokem

    Thanks for the video! is there a way to display the months as name of month instead of numbers?

  • @Homunculusregularis
    @Homunculusregularis Před 5 lety

    Thanks a lot! That's really usful :).

  • @jujuvisnadi
    @jujuvisnadi Před 2 lety

    Please, can we use sum and pivot twice or more in the query formula? For example select and group by sales rep in the rows and then sum sales AND sum COGS in colunms?

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  Před 2 lety

      You can nest one QUERY inside of another QUERY. I have a video covering nested queries in these series, that should help you see how.

  • @bluepresley9315
    @bluepresley9315 Před měsícem

    How do I convert the MONTH numbers to actual dates?

  • @montecristobal
    @montecristobal Před 6 lety +2

    Excelent video. But what about to rename the column 'month(date)' in the pivot table? I know it is done with 'LABEL' but It doesn't work with this more complex table. Thank you

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  Před 6 lety +2

      label month(date) 'Month'

    • @montecristobal
      @montecristobal Před 6 lety

      Hi! Thank you so much for your answer. But I had some problems.
      In the minute 13:00 Column 'A' have a long header. So do I have to copy exactily that text and apply the label? Where do I write the label? before the first comma, after group by or after the pivot?
      Thanks again.

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  Před 6 lety

      Just repeat whatever you have.Check out this video, it should make it clear czcams.com/video/eQKmAcdVccs/video.html

  • @AnshulMarele-gbaa
    @AnshulMarele-gbaa Před rokem

    What about the no_format options clause in google sheets

  • @annadunskaya8395
    @annadunskaya8395 Před 4 lety +1

    Hi, is it possible to group by Year and Month without creating additional columns? Like "2020-05 - value, 2020-06 - value..." - all written in a rows?

    • @nickbrumme
      @nickbrumme Před 3 lety

      I have the same question. Anyone?

  • @MiguelCreteur
    @MiguelCreteur Před 4 lety +1

    Hi, good video!. Can I sort columns created by pivot sentence in this query, in descent order. (ex.: 2017, 2016, 2015)

    • @MiguelCreteur
      @MiguelCreteur Před 4 lety

      docs.google.com/spreadsheets/d/1fL4FuJzcIENFLNR01Ptywbre1Bpy7e5KqlD1XYDXWbY/edit?usp=sharing

    • @tounji
      @tounji Před rokem

      Hi, were you able to find a solution to your request?

  • @metalgodser
    @metalgodser Před rokem

    Is possible to create a column with the row total, like in pivot table?

  • @manuvincent9793
    @manuvincent9793 Před rokem +1

    Everytime I use this, a blank row or colum gets created. Any idea why

  • @learntoearn8533
    @learntoearn8533 Před rokem

    Can you please make a video on query progressive column

  • @netboy1102
    @netboy1102 Před 5 lety

    We need to pay you for those nice lessons

  • @arturopuentes4445
    @arturopuentes4445 Před 3 lety

    Hi.... Is possible to use a SELECT statement inside SUM in a QUERY function?

  • @amolparbat6428
    @amolparbat6428 Před 3 lety

    Had a quick question on Query ....I have data in which one column has number format as " AB12234" when I use query function it's gives put as " " can you please provide resolution for this .... thank you

  • @hermanwolf4024
    @hermanwolf4024 Před 5 lety

    Google Sheets pivot tables have a 'Pivot date group' function (available in a context menu) that lets me group a column of individual dates by Year-Month, i.e. Jan 2019, Feb 2019, March 2019, etc. Can I do this with a Query?

  • @hermanwolf4024
    @hermanwolf4024 Před 4 lety

    Is there any way to show the values of a pivot but hide the pivot column headers?

  • @BF_official_my
    @BF_official_my Před 4 lety

    Hey, how to convert the query month to the formula "mmmm yyyy"? I cant seem to do it by TEXT(MONTH(A)),"mmmm yyyy" in the query

  • @lazalazarevic6192
    @lazalazarevic6192 Před 4 lety

    Any idea on how to add Grand total row and column, the same as the regular PivotTables have? I need a dynamic solution, opened to suggestions.

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  Před 4 lety

      I suppose that depends on your pivot layout, but you should be able to add the totals as an array.

    • @imtiazali1628
      @imtiazali1628 Před 4 lety

      @@ExcelGoogleSheets Can you please explain in upcoming video. thanks

  • @cinammon
    @cinammon Před 3 lety

    Hi there, thanks fot the video,
    I'm trying to switch "pivot by month(A)" to a weekly breakdown but it do not work;
    I've tried "pivot by week(A)" or "pivot by weeknum(A)"
    What am i doing wrong here ?

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  Před 3 lety +1

      week and weeknum functions don't exist in QUERY language

    • @cinammon
      @cinammon Před 3 lety

      @@ExcelGoogleSheets thanks for the input,
      I've actually reverse to a traditionnal sumifs.
      i wanted to have a table
      Dimension : my metrics like clicks, costs...
      split by : day, weeks or month based on a dynamic parameter in the sumifs argument.
      I've tried the indiret fonction but i couldn't make it work.
      Any clue here.

  • @stagebluedata6889
    @stagebluedata6889 Před 5 lety

    How can you create a calculated field in a query for TIME values? I'm trying to subtract finish time and start time to get a 'TIME SPENT' value in my query. Thanks.

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  Před 5 lety

      Depends on how your times are entered, but generally that would be (TimeEndCol-TimeStratCol)*24

    • @stagebluedata6889
      @stagebluedata6889 Před 5 lety

      @@ExcelGoogleSheets It says "Can't perform the function difference on values that are not numbers." Ideas? Thank you.

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  Před 5 lety

      Seems like your times are not really times. Maybe it's just text that looks like time?

  • @cuneiformscript2665
    @cuneiformscript2665 Před 4 lety

    🙏🏻

  • @deepakdadwal1988
    @deepakdadwal1988 Před 4 lety

    Hi there - can you please share the data set as well?

  • @ronyjoseph529
    @ronyjoseph529 Před 3 lety

    How to get total sum below?

  • @mustansirujjain
    @mustansirujjain Před 2 lety

    how to use alias in this query?

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  Před 2 lety

      What kind of alias?

    • @mustansirujjain
      @mustansirujjain Před 2 lety

      @@ExcelGoogleSheets if I will write G-H, It should display Gross Profit as a header of column

  • @KotuKediSerafettinn
    @KotuKediSerafettinn Před 6 lety

    thank for videos.. I need query inculuding show data between two date.. Im still not understand..

    • @Supervideo1491
      @Supervideo1491 Před 6 lety

      You will need to use two operators > and < or >= and = date '2018-02-01' and B

  • @Ryanrenata01
    @Ryanrenata01 Před 3 lety

    Can I have your file ?