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

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 พ.ย. 2024

ความคิดเห็น • 98

  • @narasimhanaiduvardhineni6023
    @narasimhanaiduvardhineni6023 3 ปีที่แล้ว +9

    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 👍👍

  • @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 2 ปีที่แล้ว

      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 10 หลายเดือนก่อน

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

  • @sarazam001
    @sarazam001 2 ปีที่แล้ว +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  2 ปีที่แล้ว

      Thanks keep learning share this channel with friends and colleagues

  • @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

    • @SidIndian082
      @SidIndian082 2 ปีที่แล้ว

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

  • @siddheshdandagavhal9804
    @siddheshdandagavhal9804 4 หลายเดือนก่อน

    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.

  • @ShreyasSinha
    @ShreyasSinha 9 หลายเดือนก่อน

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

    • @AnalyticswithNags
      @AnalyticswithNags  9 หลายเดือนก่อน

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

  • @akashpatil9865
    @akashpatil9865 8 วันที่ผ่านมา

    Hello, First of all Thanks for all these videos!
    Ok, as we know there are multiple ways to get your result in this case we can simple
    - We can use a pie chart with Location and a measure for total Sales this will give us the % and a better visual analysis.
    Power BI experts add your method what you will do for this?

  • @nnpfffn.6392
    @nnpfffn.6392 3 หลายเดือนก่อน

    Big Thank from Thailand bro. what a explanation and show example.

    • @AnalyticswithNags
      @AnalyticswithNags  3 หลายเดือนก่อน +1

      Thanks. Keep learning share this channel with friends and colleagues

  • @Khan-mc3gi
    @Khan-mc3gi ปีที่แล้ว +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

  • @vinobooks
    @vinobooks 2 หลายเดือนก่อน

    Great video! For chennai sales, What I need to remove the repeating values. Also I am creating a measure with 2 different tables

  • @josephraj2317
    @josephraj2317 4 หลายเดือนก่อน

    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.

  • @ahmedbagazi2500
    @ahmedbagazi2500 ปีที่แล้ว +1

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

  • @___DannyBoyka
    @___DannyBoyka 2 ปีที่แล้ว +1

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

    • @AnalyticswithNags
      @AnalyticswithNags  2 ปีที่แล้ว

      Thanks keep learning share this channel with friends and colleagues

  • @hahaying9280
    @hahaying9280 2 ปีที่แล้ว +1

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

  • @SidIndian082
    @SidIndian082 2 ปีที่แล้ว +2

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

    • @AnalyticswithNags
      @AnalyticswithNags  2 ปีที่แล้ว

      Thanks keep learning share this channel with friends and colleagues

  • @raniainqaoui4090
    @raniainqaoui4090 ปีที่แล้ว +1

    Thanks you it's very helpful

  • @saranyav5439
    @saranyav5439 3 ปีที่แล้ว +1

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

    • @AnalyticswithNags
      @AnalyticswithNags  3 ปีที่แล้ว +1

      Glad you like them! Keep Learning

    • @saranyav5439
      @saranyav5439 3 ปีที่แล้ว +1

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

    • @AnalyticswithNags
      @AnalyticswithNags  3 ปีที่แล้ว +1

      Will plan in future.

  • @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?

  • @vishalmane3139
    @vishalmane3139 6 หลายเดือนก่อน

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

  • @akashdeep5088
    @akashdeep5088 2 ปีที่แล้ว +1

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

    • @AnalyticswithNags
      @AnalyticswithNags  2 ปีที่แล้ว +1

      Go through DAX playlist first 10 videos you will understand better

  • @bhavanit56
    @bhavanit56 2 ปีที่แล้ว +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?

  • @azizahmedkhan669
    @azizahmedkhan669 2 ปีที่แล้ว +1

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

  • @manasiwelling7720
    @manasiwelling7720 2 ปีที่แล้ว +1

    so nicely explained

    • @AnalyticswithNags
      @AnalyticswithNags  2 ปีที่แล้ว

      Thanks keep learning share this channel with friends and colleagues

  • @opscexamrevisewithsuraj4303
    @opscexamrevisewithsuraj4303 ปีที่แล้ว +1

    nicely explained.......thanks

  • @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..

  • @vinodjadhav7334
    @vinodjadhav7334 4 ปีที่แล้ว +1

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

    • @AnalyticswithNags
      @AnalyticswithNags  4 ปีที่แล้ว +1

      File uploaded. Download and learn. Keep learning

    • @vinodjadhav7334
      @vinodjadhav7334 4 ปีที่แล้ว

      @@AnalyticswithNags Thanku

  • @traitan4455
    @traitan4455 5 ชั่วโมงที่ผ่านมา

    Thank you

  • @umeshsuggalaoffical3736
    @umeshsuggalaoffical3736 5 หลายเดือนก่อน

    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

  • @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

  • @anujanand1016
    @anujanand1016 7 หลายเดือนก่อน

    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 .

  • @sivak4967
    @sivak4967 2 ปีที่แล้ว +1

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

    • @AnalyticswithNags
      @AnalyticswithNags  2 ปีที่แล้ว +1

      More than enough.

    • @sivak4967
      @sivak4967 2 ปีที่แล้ว

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

  • @CAKPRashique
    @CAKPRashique 6 หลายเดือนก่อน

    Thanks , really got this topic

  • @vartikathakur4273
    @vartikathakur4273 3 ปีที่แล้ว +1

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

    • @AnalyticswithNags
      @AnalyticswithNags  3 ปีที่แล้ว

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

  • @mayurjawale454
    @mayurjawale454 6 หลายเดือนก่อน

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

  • @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 TH-cam channel that covers almost 90% of topics.
      So, follow this playlist
      Power BI Tutorials - Complete Playlist: th-cam.com/play/PLjNd3r1KLjQt0xN_y8F6BSIOVNvdQmq4d.html
      If you want to clarify some points, you can join this telegram group and post your queries here.
      t.me/analyticswithnags

  • @saikiran9185
    @saikiran9185 3 ปีที่แล้ว +1

    what is difference between caluclate and caluclate table?

    • @AnalyticswithNags
      @AnalyticswithNags  3 ปีที่แล้ว

      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.

  • @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

  • @anilreddykanthala3607
    @anilreddykanthala3607 ปีที่แล้ว

    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  8 หลายเดือนก่อน

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

  • @arunsundarm4566
    @arunsundarm4566 ปีที่แล้ว +1

    very usefull

  • @sularaperera2719
    @sularaperera2719 ปีที่แล้ว +1

    Thanks

  • @lakshman.bollaka7662
    @lakshman.bollaka7662 3 ปีที่แล้ว +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

  • @poonampatil2824
    @poonampatil2824 ปีที่แล้ว

    can you share the above file for practice

  • @sravankumar1767
    @sravankumar1767 4 ปีที่แล้ว

    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  4 ปีที่แล้ว

      Watch this Video you will get answer by understanding this. th-cam.com/video/TyDCNZdrTJc/w-d-xo.html

  • @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