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

Поделиться
HTML-код
  • Опубликовано: 12 дек 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 ??

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

    Thanks

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

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

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

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

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

  • @nnpfffn.6392
    @nnpfffn.6392 4 месяца назад

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

    • @AnalyticswithNags
      @AnalyticswithNags  4 месяца назад +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

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

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

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

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

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

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

  • @akashpatil9865
    @akashpatil9865 21 день назад

    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?

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

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

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

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

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

    so nicely explained

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

      Thanks keep learning share this channel with friends and colleagues

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

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

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

    nicely explained.......thanks

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

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

    Thanks , really got this topic

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

  • @traitan4455
    @traitan4455 12 дней назад

    Thank you

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

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

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

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

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

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

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

    very usefull

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

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

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

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

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

  • @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  9 месяцев назад

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

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

    can you share the above file for practice

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

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

  • @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. ruclips.net/video/TyDCNZdrTJc/видео.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