PivotTable Formulas? Calculated Field, DAX Formula or Excel Table Formula for Gross Profit? EMT 1730

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

КОМЕНТАРІ • 124

  • @YI-ul1oi
    @YI-ul1oi Рік тому +1

    your videos always resolve my problem in time. Great thanks. Mil thumbs up for Mike

  • @Littledino123
    @Littledino123 11 місяців тому +1

    You are a life saver 🙏🏻🙏🏻 thank you

  • @NP-zk4ms
    @NP-zk4ms Рік тому

    Amazing tutorial. I wish more instructors would explain things the way you do by comparing multiple methods of achieving the same result.

  • @josecarlosconejo5724
    @josecarlosconejo5724 3 роки тому

    I normally use calculated fields in Pivot tables whenever possible. DAX is my next challenge into which I will jump right away with your videos. Many thanks for sharing.

    • @excelisfun
      @excelisfun  3 роки тому

      So you use Calculated Fields often? Cool : )

  • @thetimkunz
    @thetimkunz Рік тому +1

    super 😀, thank you so much for you content. I liked the DAX measures.

  • @vijaysahal4556
    @vijaysahal4556 3 роки тому +1

    Superb mr mike 💯💯💯💯👍🏻👍🏻👍🏻👍🏻👍🏻

  • @dr.frankpeffekoven9834
    @dr.frankpeffekoven9834 3 роки тому

    So far I have been doing way too much analysis in Power Query. I am starting to build up more and more analyses with Dax. Your videos are the best training for this. Thank you.

    • @excelisfun
      @excelisfun  3 роки тому

      Glad I can help, Frank!!!!

  • @CeliaAlvesSolveExcel
    @CeliaAlvesSolveExcel 3 роки тому

    All the techniques are beautiful and are organized in ascending order or beauty and awesomeness. Thank you, Mike!

    • @excelisfun
      @excelisfun  3 роки тому +1

      You are welcome for the ascending beauty of Excel fun : ) : )

  • @YeZhik5
    @YeZhik5 3 роки тому

    Thank you for always including different solutions for different skill levels and excel versions.

  • @kimyenchu
    @kimyenchu Рік тому +1

    I hope you're making lots of money from all these free tutorials. I would not mind paying you to teach me.

    • @excelisfun
      @excelisfun  Рік тому

      Nope. Just been giving away the free education, all 3,500 videos for the past 15 years here at UA-cam. All I charge is a Thumbs Up ; ) Keep watching and learning.

  • @mattschoular8844
    @mattschoular8844 3 роки тому

    Thanks Mike...three great ways. On smaller data sets I use the helper column method but usually I will is PQ and PP. I find it easier to keep my raw dataset in tact then remove columns in PQ and add measures in PP. Thanks for the video....

    • @excelisfun
      @excelisfun  3 роки тому

      You are welcome, Matt!!!! : ) : )

  • @wayneedmondson1065
    @wayneedmondson1065 3 роки тому

    Excellent Mike! Great to know all three methods. Love the Power Pivot / DAX solution, but there are arguments for each, depending on the user and the problem. I'm rerunning your MSPTDA series now, so can't get enough of all the possible ways to solve. Thanks always for your top notch, interesting, entertaining and informative videos and playlists :)) Thumbs up!!

    • @excelisfun
      @excelisfun  3 роки тому +1

      You are welcome, Wayne!! Cool to hear that your have boomeranged back to MSPTDA : )

  • @yosra782
    @yosra782 3 роки тому +1

    I used to use the helper column, but now, that is history :)

    • @excelisfun
      @excelisfun  3 роки тому +1

      Cool! Calculated Field, then? or DAX?

    • @yosra782
      @yosra782 3 роки тому

      @@excelisfun both look awesom-azing !! :) but I have to test them in order to decide :) do you prefer one over another?

    • @excelisfun
      @excelisfun  3 роки тому +1

      @@yosra782 I prefer DAX because I can add name, format and formula all in one place : )

    • @yosra782
      @yosra782 3 роки тому

      @@excelisfun isn't that EXCELlent? :) Can't wait to give it a shot

    • @excelisfun
      @excelisfun  3 роки тому +1

      @@yosra782 Yes ; ) EXCELlnet!!!!

  • @nsanch0181
    @nsanch0181 3 роки тому

    Thank you for the video Mike. I enjoyed all 3 methods. I would probably use the helper column method because I feel the calculations are more visible.

    • @excelisfun
      @excelisfun  3 роки тому

      Good point about the visual row by row amounts. More transparent : )

  • @GT-yh2zs
    @GT-yh2zs 3 роки тому

    Thank you Mike..Always great video! User friendly explanation and a lot of stuff fun to try and extremely useful... Nice job from Italy!!

    • @excelisfun
      @excelisfun  3 роки тому +1

      You are welcome, Giulio : )

  • @SyedMuzammilMahasanShahi
    @SyedMuzammilMahasanShahi 3 роки тому

    Thanks Mike for this amazingly EXCELlent video.

    • @excelisfun
      @excelisfun  3 роки тому +1

      You are welcome, Fellow Teacher : ) : ) : )

  • @vanderluis100
    @vanderluis100 3 роки тому +1

    Muito obrigado!
    Tks!

  • @ashokkumar-qy3ph
    @ashokkumar-qy3ph 3 роки тому

    Very informative
    DAX is cool because it's more efficient and effective

  • @kasonk1692
    @kasonk1692 3 роки тому

    You are the best of the best. Aways Thank You!!!!!

  • @solex5480
    @solex5480 3 роки тому

    Very well Mike, if I can, I would give you one million likes.

    • @excelisfun
      @excelisfun  3 роки тому

      Thank you for the one million likes : )

  • @patsx69
    @patsx69 3 роки тому +2

    Would this be very different if the revenue and COGS appear in the rows (like a list of transactions) instead of in the example in separate columns? Can you still easily create calculated fields?

  • @darrylmorgan
    @darrylmorgan 3 роки тому +1

    Boom!Super Fun With PivotTables...Thank You Mike :) P.S Dax Formula Version :):)

    • @excelisfun
      @excelisfun  3 роки тому +1

      : ) : ) Do you use DAX formulas often, darryl?

  • @MalinaC
    @MalinaC 3 роки тому +1

    Thumbs up! My fav is DAX 🙂

  • @johnborg5419
    @johnborg5419 3 роки тому

    Excellent Video Mike. That was fun watching!! : ) : )

    • @excelisfun
      @excelisfun  3 роки тому

      Glad you had fun, Formula Guy, John Borg : ) : ) : )

  • @rjbush7955
    @rjbush7955 3 роки тому +4

    I’d use DAX every time now. Especially on very large datasets

    • @jameszhou162
      @jameszhou162 3 роки тому

      exactly, i used to use SQL to query large database to analyze but PBi with DAX is lot easier for data analysis purpose. after DirectQuery became available, life is good.

    • @excelisfun
      @excelisfun  3 роки тому

      RJ Bush,
      How about on small data sets? If I have a bunch of reporst, I am tending to use the Data Model and DAX even on these small data sets.

    • @excelisfun
      @excelisfun  3 роки тому

      @@jameszhou162 How do you get a long with Direct Query? Because I thought in Power BI that when you use Direct Query the time intelligence functions did not work because the direct query could not translate and send back to SQL database. Maybe this has changed?

    • @samkab677
      @samkab677 3 роки тому

      @@jameszhou162 hi could you suggest me s site for DAX as a beginner?

  • @che10n
    @che10n 5 місяців тому

    Thank you for the explanation , I need to work on 2023 vs 2024 data in power pivot (cant use calculated fields) ,pls guide me what do we do here

  • @KagatoIuchi
    @KagatoIuchi 3 роки тому

    Great video as always!
    Man, I really need to keep this info in my head, always seems to leak out!

    • @excelisfun
      @excelisfun  3 роки тому +2

      You are so correct about info always leaking out of our brains... You can always boomerang back and re-watch : )

  • @Luciano_mp
    @Luciano_mp 3 роки тому

    Great, Thank you Mike!👍

    • @excelisfun
      @excelisfun  3 роки тому

      You are welcome, Luciano : ) : )

  • @Softwaretrain
    @Softwaretrain 3 роки тому

    Amazing as always. Thanks.

    • @excelisfun
      @excelisfun  3 роки тому

      You are welcome, Teammate!

  • @DougHExcel
    @DougHExcel 3 роки тому

    Pivot Table / Power Pivot (DAX)...can't decide 😁 I like both!

    • @excelisfun
      @excelisfun  3 роки тому

      50/50 is good. More fun that way!!!

  • @chrism9037
    @chrism9037 3 роки тому

    Excellent Mike!

  • @ivanmamchych5802
    @ivanmamchych5802 3 роки тому

    Very good and informative
    Thank you!

    • @excelisfun
      @excelisfun  3 роки тому

      Glad you like it, Ivan : ) : )

  • @barttitulaerexcelbart9400
    @barttitulaerexcelbart9400 3 роки тому

    Thanks Mike, good as usual with you! maybe for next video's explain with an example the differences between profit % differences, per line, product or productgroup. If you use "average" you have to be very carefull (as you said in the video). This is actually a math/statistics issue, not an Excel issue....

    • @excelisfun
      @excelisfun  3 роки тому

      Yes, you are right, it is a math stats issue. An example of a column with the error would have helped illustrate : )

  • @Anthony_Lecoq
    @Anthony_Lecoq 3 роки тому

    Thanks Mike, I would definitely run it with DAX ;)

    • @excelisfun
      @excelisfun  3 роки тому

      DAX is so convenient: name, format and formula all in one place : )

  • @cassiusclaudius3010
    @cassiusclaudius3010 3 роки тому

    I always use calculated ranges and calculated items. To me, it’s like using the Power Query user interface rather than writing M Code. I have never used DAX code before but now I am interested in trying it out!

    • @excelisfun
      @excelisfun  3 роки тому

      Great! If you use the same calculation in multiple reports, DAX is really efficient : )

  • @rijazrehman
    @rijazrehman 3 роки тому

    Hi Mike ,I have a data set where revenue , cos are shown in row and iterations please advice how to calculate gross margin in power pivot

  • @dayaneyal
    @dayaneyal 3 роки тому

    Couldn’t you for method 1 - just right click and have the pivot return % of revenue to get the gprofit%?

  • @shoaibrehman9988
    @shoaibrehman9988 Рік тому

    Sir, can we multiply 2 fields (Revenue * COGS) by using the pivot table calculated field??

  • @robrayborn1349
    @robrayborn1349 3 роки тому

    I don't often use Calculated Fields any longer. I'm most likely to send the data through Power Query into Power Pivot like your instruction provided.

    • @robrayborn1349
      @robrayborn1349 3 роки тому

      I suppose you could have completed your calculations in Power Query then Loaded directly to a Pivot Table.

  • @askulasaatwik8thc644
    @askulasaatwik8thc644 3 роки тому

    Thanks Mike! will work with DAX and learn it. Does this DAX reduces the file size & efficiency compare to Calculated field & Pivot table columns.

  • @IlaPatel811
    @IlaPatel811 3 роки тому

    Great video Mike. Can you do one with Time Calculations please?

    • @excelisfun
      @excelisfun  3 роки тому +1

      Here are a few good time videos that I have made:
      Basic Excel Business Analytics #16: Count Transactions by Hour Report & Chart ua-cam.com/video/3YeoX1Cl7Og/v-deo.html
      MSPTDA 22: DAX Data Modeling to Create Date & Time Dimension Tables, Server Downtime Visualizations ua-cam.com/video/RhPzRk-wEYw/v-deo.html

  • @DiptaGhossan
    @DiptaGhossan Рік тому

    Hi, do you have any videos that gives tutorial to calculate items in a column? f.e. the Revenue and COGS are both in 1 column but i want to generate Gross profit margin from these items

    • @excelisfun
      @excelisfun  Рік тому

      I thought i did at 4:29 minute mark in this video.

    • @DiptaGhossan
      @DiptaGhossan Рік тому

      @@excelisfun that is calculating fields (column) and not items in a column (filtered rows in 1 col)

  • @bamakaze
    @bamakaze 3 роки тому

    Dax the way to make an Excel video!

    • @excelisfun
      @excelisfun  3 роки тому +1

      I can hear that toon, un huh, un huh, I like it!!!!

    • @bamakaze
      @bamakaze 3 роки тому

      @@excelisfun Lol

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

    Thank you !!!

  • @chahineatallah2636
    @chahineatallah2636 3 роки тому +1

    I usually use pivot table & calc field, as my data is usually small

  • @evilangel4136
    @evilangel4136 3 роки тому

    Can we use dax formula not using calculated field to calculate sum of two column in multiple level column field.. For example : column name A contain sub column B, C, & D. And also there is column E that in the same level like column A.. And I want to add column F that the position is the same level like A & E which column F is the sum of only column B & C?

    • @excelisfun
      @excelisfun  3 роки тому

      I am sorry, but I do not understand what you are asking.

    • @evilangel4136
      @evilangel4136 3 роки тому

      @@excelisfun @ExcelIsFun in pivot table column, there are categoryi 1 and 2, category 1 contain 3 column product A, B, C.. Category 2 contain 2 column product D & E.. Can we use dax formula to create sub category 3 column that is the sum of product A & C?

    • @GeertDelmulle
      @GeertDelmulle 3 роки тому

      Too many letters of the alphabet in this question. Can you reduce it to its simplest form?

    • @evilangel4136
      @evilangel4136 3 роки тому

      @@GeertDelmulle @Geert Delmulle column name Asia Continent contain 3 sub-columns countries Japan, China, India.
      Column America Continent contain 2 sub-columns countries USA, Canada..
      Can we use dax formula to make another continent column names Asia-2 that is the sum of country China and Japan?

    • @GeertDelmulle
      @GeertDelmulle 3 роки тому

      @@evilangel4136 Let me rephrase that:
      • you have a “continent” column, values at hand: Asia, America
      • you have a “country” column, values at hand: Japan, China, USA, Canada (depending on the value in the first column)
      Your question: can you create a calculated column that is conditional depending on the values in the “country” column (or any other column for that matter)?
      My Answer: yes. DAX is very powerful. Perhaps you want to conditionally sum some numerical valued column.
      In DAX you can do this 2 ways:
      • first create a calculated column inside your table and then create a simple SUM-measure on the latter column.
      • second: do it all in a measure.

  • @van4e13
    @van4e13 3 роки тому

    I will definitely use DAX

  • @usmaniqbal1836
    @usmaniqbal1836 3 роки тому

    Amazing ❤️

    • @excelisfun
      @excelisfun  3 роки тому +1

      Glad it is amazing, usman : )

  • @maureenkerfoot1463
    @maureenkerfoot1463 3 роки тому

    Hi, I can't get to that file to download... has it been deleted or moved?

    • @jerrydellasala7643
      @jerrydellasala7643 3 роки тому

      Use the "fRevenue2" table from EMT1729 and add a COGS column using the formula =ROUND([@Revenue]*(RANDBETWEEN(45,51)/100),2). Copy and Paste Values of the entire column to prevent it from recalculating. It's not exactly what's shown, but close enough. If you're following along, check the Revenue fields, obviously the COGS fields and any other fields using that value will be different in the video.
      I love the Data Model!

    • @excelisfun
      @excelisfun  3 роки тому

      Thanks for letting me know, Maureen : ) I just fixed it and the files are available for download and gross profit Excel fun : )

  • @mevartzon1374
    @mevartzon1374 3 роки тому

    I agree with you sir excel is fun

    • @excelisfun
      @excelisfun  3 роки тому

      Yes!!! I LOVE to hear that : )

  • @GeertDelmulle
    @GeertDelmulle 3 роки тому

    I’ll use the DAX way, somehow it appears simpler.
    How far we’ve come (we’ve done much more intricate measures by now - want a measure that calculates an entire histogram?... No problem :-).

    • @excelisfun
      @excelisfun  3 роки тому +1

      No problem becasue it is fun : )
      You are right, it has been a long time that we have been able to make Data Model PivotTables and DAX formulas.

  • @ramkrishna133
    @ramkrishna133 3 роки тому

    Undoubtedly, DAX is the best method. But learning and mastering DAX has a steep learning curve. Could you please cover various DAX formulas in detail in your future videos?

    • @excelisfun
      @excelisfun  3 роки тому +1

      : ) I have a LOT of DAX videos already. Here is a playlist: ua-cam.com/play/PLrRPvpgDmw0nglJ9yX2XT5-K1A_AKHpvW.html

    • @ramkrishna133
      @ramkrishna133 3 роки тому

      @@excelisfun Thank you very much. This is a gold mine of information :)

    • @excelisfun
      @excelisfun  3 роки тому

      @@ramkrishna133 You are welcome : )

  • @HachiAdachi
    @HachiAdachi 3 роки тому +2

    Once you DAX, you'll never go back! 😉

    • @excelisfun
      @excelisfun  3 роки тому +2

      So TRUE. Even on small data sets when I have a bunch of reports, I tend to use DAX now : )

  • @sebastienparis8264
    @sebastienparis8264 3 роки тому

    DAX definitively !

    • @excelisfun
      @excelisfun  3 роки тому

      Is that your preferred method? As time moves on, I certainly prefer the DAX method too. It is just so each because the formula just always have correct name and formatting : )

    • @sebastienparis8264
      @sebastienparis8264 3 роки тому +1

      @@excelisfun : Yes and you can use several times the same mesure without selecting the format

  • @alwarhi
    @alwarhi 3 роки тому

    DAX

  • @simfinso858
    @simfinso858 3 роки тому

    Pivot table.