Power BI DAX Tutorial (4/50) - What is calculate Function

Поделиться
HTML-код
  • Опубликовано: 29 июн 2020
  • What is Calculate Function in DAX, What is Calculate function how the filter works in that function How to filter a value in DAX , If you want get only Sum(Sales) only for particular location or Year how to achieve it. Power BI DAX Tutorial with Examples
    #powerbi #powerbidax #CALCULATE
    Datasource Link
    drive.google.com/file/d/1-rfO...
    🏬 Visit our Amazon Influencer Store 🏬 : www.amazon.in/shop/analyticsw...
    ✉ Business Queries / Analytics Consulting ✉ : analyticswithnags@gmail.com
    💬 For Learners Post queries and Interact 💬 : t.me/analyticswithnags
    Complete Playlists
    Power BI Tutorials - Complete Playlist 📚📖 • How to do Power BI Ins...
    Power BI Desktop Tips and Tricks 📚📖 • How to Remove Top N ro...
    Power BI DAX - Complete Playlist 📚📖 • What is DAX in Power B...
    Power BI Project Dashboards - Power BI Realtime Projects - Playlist 📚📖 • Loan disbursement Anal...
    Power Pivot 📚📖 • Power BI Tutorial (15/...
    Power Query 📚📖 • Power BI Tutorial (15/...
    Power BI Services Playlist 📚📖 • Introduction to Power ...
    Power BI Tamil Tutorials 📚📖 • How to do Power BI Ins...
    Power BI Telugu Tutorials 📚📖 • How to do Power BI Ins...
    SQL Full Course | SQL Tutorial For Beginners 📚📖 • Learn SQL Complete | C...
    SSAS Tutorials - SQL Server Analysis Services 📚📖 • Introduction to SQL Se...
    MSBI Tutorials - SQL + SSAS + SSIS 📚📖 • Learn SQL Complete | C...
    Data Analyst - Complete Reference - Playlist 📚📖 • Data Analytics For Beg...
    BI Developer - Complete Reference - Playlist
    📚📖 • Power BI Tutorial From...
    BI Architect - Complete Reference - Playlist
    📚📖 • Power BI Full Course -...
    ETL Developer - Complete Reference - Playlist 📚📖 • Building an Enterprise...
    Database Developer - Complete Reference - Playlist 📚📖 • SQL Tutorial - Full Da...
  • НаукаНаука

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

  • @narasimhanaiduvardhineni6023
    @narasimhanaiduvardhineni6023 3 года назад +7

    Hi Nag Thanks for all the videos regarding Power bi. Trust me this Chanel going to be one of the best in power BI keep Doing 👍👍

  • @sarazam001
    @sarazam001 Год назад +2

    Very clearly explained. I was stuck at this topic and searching for better explanation, this video explained everything I wanted to know. Thank you Nags.

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

      Thanks keep learning share this channel with friends and colleagues

  • @josephraj2317
    @josephraj2317 3 дня назад

    Hi Sir, Super duper way of explaining. Really very logical way of teaching. Watched many youtube channels but didn't come accross that way you teach. I have subscribed and want to follow you.

  • @devarajanmurugesan3142
    @devarajanmurugesan3142 2 года назад +6

    Hi Nags, thank you for preparing this full length dax course. It is very useful. Especially explaining with scenarios. However, i have a small suggestion that before start using dax function, it would be really useful to fully understand the functionality of the dax or criteria required for it. For example Calculate(expression, filter1, filter2...). If you can explain this formula fully before start using it, will let us know the functionality of the dax.The current method appears a person who has some level of knowledge only, will be able to grasp the concept fully. Once again, thank you for your courses.

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

      Noted. Thanks for your feedback. Keep learning share this channel with friends and colleagues

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

      Yes it become very difficult for beginners to understand directly, it would be helpful if u explain DAX formula separately

    • @Idgaf-1998
      @Idgaf-1998 Год назад

      @@hemantsrivastava2644 true! I had the same problem when I first started learning DAX. i stumbled into his videos and failed to understand the concept but no that I've learned the basics (on my own), I find it pretty easy to understand the DAX syntax taught by him.

    • @saniak5262
      @saniak5262 6 месяцев назад

      @@Idgaf-1998what resource did you use for learning on your own?

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

    the best powerbi instructor i have ever seen the most importamt thing is you provide us the datas i downloaded them and playing with them following you , keep doing this good job you here for us tahnks nags you are blessed

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

      Thanks keep learning share this channel with friends and colleagues

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

      @@AnalyticswithNags Sir , can we connect SQL server to power BI file ??

  • @___DannyBoyka
    @___DannyBoyka Год назад +1

    Excellent explanation sir! I am joining as a BA soon, so glad to find your video at this time

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

      Thanks keep learning share this channel with friends and colleagues

  • @Khan-mc3gi
    @Khan-mc3gi 10 месяцев назад +1

    First time i find great channel you explain in a great way to dax with business intelligence i request u pls make video question and answer for power bi which ask in interview

  • @ShreyasSinha
    @ShreyasSinha 5 месяцев назад

    Nag Sir, Best Channel, clear n simple easy to understand examples. Thank You so much Nag Sir 🙏

    • @AnalyticswithNags
      @AnalyticswithNags  5 месяцев назад

      Thanks keep learning. If you are in LinkedIn talk about this channel

  • @ahmedbagazi2500
    @ahmedbagazi2500 Год назад +1

    Thank you so much for sharing brother. Much appreciated from KSA

  • @anujanand1016
    @anujanand1016 3 месяца назад

    Just one question when you used all location total sales the last one in which use all and calculate now the filter started working there how come ? The percentage one I am asking about .

  • @CAKPRashique
    @CAKPRashique 2 месяца назад

    Thanks , really got this topic

  • @vishalmane3139
    @vishalmane3139 2 месяца назад

    sir, all those dax functions u taught wud suffice our daily needs in real time screnario ?

  • @umeshsuggalaoffical3736
    @umeshsuggalaoffical3736 Месяц назад

    Hi Nag, i have one query regarding the filter concept mentioned at last of the video. In all loc sales measure we are mentioning it as ALL[Data] so that any column filter cant apply on that measure..my qstn is what if we have filter from another table i.e. data2 which has date table..how to avoid that scenario..pls ans this qstn

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

    It time to learn very good all time, thank you again

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

    Thanks Nag for sharing your knowledge. Just wanted to check if you provide online classes? I am Interested in learning Power BI & other analytics tools.

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

      Thanks for your message.
      Currently we don't find time to take trainings, that is why we created the RUclips channel that covers almost 90% of topics.
      So, follow this playlist
      Power BI Tutorials - Complete Playlist: ruclips.net/p/PLjNd3r1KLjQt0xN_y8F6BSIOVNvdQmq4d
      If you want to clarify some points, you can join this telegram group and post your queries here.
      t.me/analyticswithnags

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

    Hello Nags. Can you please make a video highlighting the difference between calculate and calculatetable?

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

      If time permits.
      Calculate returns scalar value whereas calculate table returns table

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

      @@AnalyticswithNags hi what if there are sub branches in each city and need to calculate sales with respect to city?

  • @mayurjawale454
    @mayurjawale454 2 месяца назад

    If I want sales of location Chennai and product Jeans Levis then I how we can create Measure ?

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

    Hi, If we want to ignore multiple filters coming from 2 tables or different column from multiple table, then how can we use all function to ignore those filter coming from 2 tables, if you may help thanks

  • @sidindian1982
    @sidindian1982 Год назад +2

    Your explanation on DAX - part by part .. excellent Sir 🙂

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

      Thanks keep learning share this channel with friends and colleagues

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

    thankyou so much for the videos.you are the best teacher

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

      Glad you like them! Keep Learning

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

      @@AnalyticswithNags sir can you please post a video for powerautomate. And power apps visual

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

      Will plan in future.

  • @raniainqaoui4090
    @raniainqaoui4090 Год назад +1

    Thanks you it's very helpful

  • @keithwong8144
    @keithwong8144 Год назад +1

    at 8:32 , instead of creaitng the All Loc Sales measure , can i skip creating that and directly get the % of sales? I'm imagining like nesting the All Loc Sales into the % of sales measure..

  • @bhavanit56
    @bhavanit56 Год назад +1

    Hi sir one of best video is calculate(sum(data[loc],data) is same as calculate (sum(data[loc],all(data)) like we can use without all function?

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

    Hi Nag , i have one doubt when we are apply all function it applicable filters only for columns, why it should not applicable for tables..

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

      Watch this Video you will get answer by understanding this. ruclips.net/video/TyDCNZdrTJc/видео.html

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

    so calculate function is more like conditional if, aggregating values based on condition, like SUMIF, COUNTIF, AVERAGEIF etc in EXCEL

  • @vinodjadhav7334
    @vinodjadhav7334 4 года назад +1

    Hi, Thanks for video. Pls mention datasource link in the description.

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

    Hi Nag,
    Can we use CALCULATE() without any kind of filter?

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

      Yes you can do it.
      Calculate ( sum(amount)) and sum(amount) is same...

  • @manasiwelling7720
    @manasiwelling7720 Год назад +1

    so nicely explained

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

      Thanks keep learning share this channel with friends and colleagues

  • @akashdeep5088
    @akashdeep5088 Год назад +1

    For using all in calculate function we can just use sum function ..

    • @AnalyticswithNags
      @AnalyticswithNags  Год назад +1

      Go through DAX playlist first 10 videos you will understand better

  • @lakshman.bollaka7662
    @lakshman.bollaka7662 2 года назад +1

    bro,
    data will be exiting one table it possible when data will be contain two tables like location will be contain one table ,sale will be contain another table then now how to do it

  • @anilreddykanthala3607
    @anilreddykanthala3607 8 месяцев назад

    Hi sir, i have a doubt on Using All with column name & with Table name , The Table which we are using instead of column is in same table or from different ..
    Total Sales with column = CALCULATE(SUM(FactInternetSales[SalesAmount]),all(DimSalesTerritory[SalesTerritoryCountry]))
    All Sales with Table = CALCULATE(SUM(FactInternetSales[SalesAmount]),ALL(FactInternetSales))
    when im using above measure its giving proper result as you mentioned in video...but instead of Factinternet sales if using DimsalesTerritory not giving result ...

    • @AnalyticswithNags
      @AnalyticswithNags  4 месяца назад

      Explore the similar problems here, learn.microsoft.com/en-us/answers/

  • @opscexamrevisewithsuraj4303
    @opscexamrevisewithsuraj4303 9 месяцев назад +1

    nicely explained.......thanks

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

    Hello, found this very useful but after downloading source file why I'm getting differnce in total sales value it shows 4,501,100 but your 5196 please help

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

      Ignore the values. I am not exactly uploaded the files that I have used in the videos. It might be modified version as well
      You should verify your results with your source system data. I.e in excel you should cross verify.

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

      @@AnalyticswithNags thanks you

  • @sivak4967
    @sivak4967 Год назад +1

    hi nag..is this dax playlist enough for real time work or nee to learn more dax functions

    • @AnalyticswithNags
      @AnalyticswithNags  Год назад +1

      More than enough.

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

      @@AnalyticswithNags thank you so much for this playlist ..

  • @siddheshdandagavhal9804
    @siddheshdandagavhal9804 2 дня назад

    1) Power BI is a columnar database. So the dimensions can only be used in axis.
    2) To Calculate all location sales use: Calculate(sum(data[sales]), ALL(data[location])), Here filter context is overwritten only for location column.
    3) To Calculate all sales use: Calculate(sum(data[sales]), ALL(data)), Here filter context is overwritten for the entire data.

  • @sularaperera2719
    @sularaperera2719 Год назад +1

    Thanks

  • @arunsundarm4566
    @arunsundarm4566 11 месяцев назад +1

    very usefull

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

    what is difference between caluclate and caluclate table?

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

      Calculate is a function used to alter the filter context. Calculatetable returns the table as a result

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

    Hi sir Thanks, found your videos awesome cant we do this way
    Chennai Sales =
    CALCULATE([Total Sales],
    Data[Location] = "Chennai"
    )
    instead of your way
    Chennai Sales =
    CALCULATE(sum(Data[Sales Amount]),
    Data[Location] = "Chennai"
    )

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

      Yes. But I hope total sales is again measure. Your code will run 2 Dax queries and my code will run only one Dax query

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

      @@AnalyticswithNags thanks for the swift reply sir
      but total sales measure we have already created earlier still will it run 2 codes in the background.

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

      @@hiteshjoshi3148 yes because DAX measures are calculated every time you refresh your report. Hence performance wise sir's approach is good.

  • @poonampatil2824
    @poonampatil2824 11 месяцев назад

    can you share the above file for practice

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

    Is there azure videos class and interested to buy videos

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

      There is a playlist related to azure. Which is ongoing will be available soon

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

    Thank you so much nags can u hav watsapp group to join