Variables in DAX

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

КОМЕНТАРІ • 67

  • @ItsWithinYou
    @ItsWithinYou 2 роки тому +2

    Excellent explanation Chandeep! If anyone wants to learn about variables in DAX within 15 minutes then this is THE video! I appreciate your time and help!

  • @elainelam6883
    @elainelam6883 4 роки тому +5

    Really like the ways you deliver all the complicated processes! I have learned a lot from you! Thanks so much

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

    On a lighter note about your intro line, I came to know after watching an year of your videos that it is "Chandeep at goodly" not "chani pad goodly". But I must say your videos are so helpful and you make it simple and easy to understand videos. Thanks

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

      "Chani pad goodly".. Haha!
      I've got to say my name more clearly.

  • @agustinpena948
    @agustinpena948 4 роки тому +4

    Man! I really like the way you structure and explain things! Thank you SO much :)

  • @MichaelBrown-lw9kz
    @MichaelBrown-lw9kz Рік тому

    Awesome, awesome, awesome explanations. Wow, you are a talented instructor, sir.

  • @kudratilla
    @kudratilla 2 роки тому +1

    your teaching and explaining skills are excellent

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

      Thanks Man.. glad you enjoyed the video. More to come

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

    I keep re visiting this vid, thank you Chandeep

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

    Great video, very clear thorough explanation

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

    Thank you so much. Your videos are always very helpful.

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

    Actually yes. Mr is really good at explaining

  • @sharadkolse6871
    @sharadkolse6871 6 місяців тому

    thank you so much brother, your content is really helpful

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

    Please give a Brief introduction on the Tables and columns (DataBase) inside that could help us better understand the logic...Apart from that, Explanation is outstanding

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

    Clear and perfect explanation

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

    ...as everyone said this is really well done.

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

    Really good video as always, but (you knew there was one coming ) , you say a variable is a constant, and so do Mr R and Mr F, but in a running total measure we declare a MAX( Table [Date] ) , which doesn't seem to be a Constant but returning the Max in the current filter context, the other thing is where to place them in your EARLIER video ( the best explanations I've seen) I tried using a variable instead of EARLIER and had to place it after the SUMX(TABLE, and before the Filter, not at the very beginning as is usually the case. Just to make clear I REALLY do enjoy your channel.

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

    Thanks for the video. It was very helpful.

  • @sandeepreddy7687
    @sandeepreddy7687 4 роки тому

    Thanks Chandeep for the video. Really liked all your videos.

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

    Thanks Chandeep for the value you are adding to all your viewers. Can you please clarify when to use VAR outside the formula and when should it be used inside. thanks Aseem

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

    Very helpful! If there were a link to your Excel working file, it would be super.

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

    Nicely Explained. Thanks !

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

    very clear explanation, thanks !

  • @TRZMac
    @TRZMac 4 місяці тому

    At minute 10:48 I see you wrapped your CalTable Var with a filter in the second Variable, isn't it true that variables cannot be filtered?
    So your filter argument in that case did not change the result of CALENDERAUTO() right?
    Thanks

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

    Perfect thanks😊

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

    Well structured. Awsome!

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

    Thankyou, Chandeep you explain the concepts very clearly,,,,,,,Thanks a lot.......and where can i get your full dax course

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

    Awesome!!🥰🥰

  • @ArifulIslam-gs6uy
    @ArifulIslam-gs6uy 3 роки тому

    Really Excellent...

  • @64BitTeluguGaming
    @64BitTeluguGaming 2 роки тому

    Good explanation 👍

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

    can pls tell us the currency conversion Dax

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

    @Goodly, sir how do i make the variable get calculated again and again OR how variables declared inside a dax can be affected by the slicers ?

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

    Awesome!!! thanks

  • @ajieapen
    @ajieapen 4 роки тому

    Chandeep, at 11:35 what are the keyboard shortcuts that you used to insert // and later to remove them?

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

      Select all the lines of code and use Ctrl / to comment them. To uncomment use the same shortcut.
      Perhaps this might be helpful - ua-cam.com/video/LggOIgR2tn8/v-deo.html

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

    Wonderful bro :) Thanks for sharing this

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

    You are awesome bro!!!

  • @anisshaikh5325
    @anisshaikh5325 4 роки тому

    Nice, sure Will start using it 👍

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

    Great video!

  • @zxccxz164
    @zxccxz164 10 місяців тому

    Does each variable run even if it is not used in the final return???

  • @Excel-power-users
    @Excel-power-users 3 роки тому

    I am trying to create a pivot where I want the rolling total for last twelve months for sales and what is open value. With months in rows and ltm and open values in columns. I am not able to find the right syntax

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

    Hi.
    Maxx(Date,
    var SalesTable=(Sales)
    return
    sumx(SalesTable,Sales[qunt]*Sales[Prise])
    Why we used varable to the table Sales ?

  • @SujathaS-sx3kg
    @SujathaS-sx3kg 3 роки тому

    Sir, what is the use of creating variable, where we find the variable which we created

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

    Hello, first of all, thank you for the videos. Could you please share a video for KPi table with status icon like traffic light. I tried to do it with tabular editor.

  • @SandipanSarkar-c8v
    @SandipanSarkar-c8v Рік тому

    Finished watching

  • @blse2000
    @blse2000 4 роки тому

    Bro..i like the way u teach concepts so much...can you please do a video on ALLEXCEPT() please

  • @carnivorecommando9617
    @carnivorecommando9617 2 місяці тому

    Nice video

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

    finished watching

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

    I would like to take coaching from yours so how do I contact,bro

  • @apamwamba
    @apamwamba 8 місяців тому

    Cool!!

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

    The explanation of how variables are interacting with external ‘filters’ which are out of variables is missing

  • @blse2000
    @blse2000 4 роки тому

    Awesome

    • @atlascbg
      @atlascbg 4 роки тому

      do you have any video showing a variance of data from one month to another in excel is easy but I haven't understand it for dax

    • @GoodlyChandeep
      @GoodlyChandeep  4 роки тому +1

      I don't have it for now but I can make a video on it soon. Be subscribed to be notified.
      Meanwhile read this blog post - goodly.co.in/actual-vs-budget-calculations-dax-powerbi/
      Thanks for suggesting :)

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

    I like it but I'm scared of variables, don't know why.

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

    💯👏👏👏👏👏👏

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

    Please send emails

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

    I am calculating Total sales in two ways but it is providing wrong results
    First way :
    Total sales =
    var sale = SUMX(
    order_details,
    order_details[unitPrice] * order_details[quantity])
    var discount = SUMX(
    order_details,
    order_details[discount] * order_details[unitPrice] * order_details[quantity] )
    return sale-discount
    __________________________________________________________________________________________________
    and the second way ( i am using sale variable):
    Total sales =
    var sale = SUMX(
    order_details,
    order_details[unitPrice] * order_details[quantity])
    var discount = SUMX(
    order_details,
    order_details[discount] * sale )
    return sale-discount
    this two must provide same result ?