Solving errors in CALCULATE filter arguments

Поделиться
HTML-код
  • Опубликовано: 4 дек 2024

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

  • @kkaurkify
    @kkaurkify 2 года назад +7

    I learned from your training that the Calculate() function always uses a table for filtering. This made understanding how the feature works much easier. And here, too, a very good understanding arises precisely because you convert the condition into a table. Thanks Marco.

  • @RobertoStaltari
    @RobertoStaltari 2 года назад +4

    Thanks for shedding light on these common calculate errors!

  • @pratikghimire3938
    @pratikghimire3938 2 года назад +4

    Thoroughly enjoyed, Awesome explanation . Thanks Marco

  • @dereklowry3111
    @dereklowry3111 Год назад +3

    An excellent Video. Thank you!!! Please continue to make videos with this approach.

  • @Milhouse77BS
    @Milhouse77BS 2 года назад +4

    This was so helpful. I'm certain I've seen every one of these errors over the years. Sending to my coworkers to make their life easier.

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

    you and Alberto are the best. still keep learning from your training and following your video on youtube that much help to understand DAX. thanks!

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

    well, now we can enjoy DAX! thank you marco!

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

    What a treasure- video ! Thanks for opening our eyes

  • @mwaltercpa
    @mwaltercpa 2 года назад +4

    Always wondered what that PLACEHOLDER error meant. Great video covering useful techniques and concepts from the most powerful function in DAX! :)

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

    Brilliantly explained! Please make more videos of such nature-- thanks!

  • @peterbogdanovich4043
    @peterbogdanovich4043 2 года назад +7

    Dude, this was a great video. although a lot of us might have came up with the same solutions by trial and error but I bet many of us, including myself, didn't know what the hell is happening underneath. Cheers!

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

    Thanks Marco, please keep up the great work. This channel is so useful to whoever wants to learn DAX!!!!

  • @ЕвгенийСкляров-б3ч
    @ЕвгенийСкляров-б3ч 5 месяцев назад +1

    Very informative. As always. Thank you very much.

  • @Woodborn
    @Woodborn 7 месяцев назад +1

    Thanks! That fixed my issue with the placeholder error.

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

    Thank you so much Marco. Very insightful!

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

    As always great stuff from SQLBI, many thanks.

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

    Love the way you explain things. :)

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

    Hi, thanks for sharing this amazing content with us. May I ask something? I am not sure if I understand the mechanism that generates this result.
    I am trying to understand the mechanism of this operation in terms of expanded tables. Well, if my concepts are correct:
    1. Cross-join will maintain the data lineage between the tables.
    2. Beside the result of the cross-join is a table with two columns; in more internal aspects, the cross-join generates/activates an expanded table with the fact in the middle and the dimensions in the boards.
    3. This expanded table can now be filtered considering the two columns in the dimensions tables.
    Have a great weekend! :-)

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

    Very useful video,thx

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

    This will be a + 50k video in no time ! 2 questions though
    1) any plans Microsoft is going to use yours and other MVPs knowledge to make these error message clearer highlighting potential solutions?
    2) is it safe to say when using variables you mitigate risk of running into errors. are there any scenario's why you should not use variables?

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

      1) who knows
      2) variable does not save you from errors, but they make the code easier to read and to debug!

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

    Thank you very much!

  •  8 месяцев назад +1

    An excellent Video. Thank you!!!Can you help me please to resolve a problem I'm having with filters? I tried to post my problem on forums but no one answers me and I'm really stuck. thanks in advance

  • @fpa89
    @fpa89 4 месяца назад +1

    master class

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

    What is the Total row in the last two examples (profitable Customers and Profitable Stores) telling us? it is not a sum of the numbers above, nor is it an average.

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

    Hi Sir,
    Is there any replacement for allselected function since it is not working in custom tooltip?
    Thanks &Regards
    Nikhil

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

    Brilliant!

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

    Ciao, didn't know that I am your friend. BANANAS!

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

    Great video. Filter argument of CALCULATE or predicate is the same terminology?

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

      A predicate is a logical condition, which can be translated into a table automatically when it is used in a filter argument of CALCULATE. A filter is always a table. The predicate converts into a table only in that specific condition (filter argument of CALCULATE or CALCULATETABLE).

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

      @@SQLBI thank you! Now I understand more, why context transition is hard to master.

  • @sarthaksharma-o3c
    @sarthaksharma-o3c 8 месяцев назад

    i didn't understand the removefilters logic can someone explain ???

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

      I suggest that you review how the filter context works - look at the videos on this series: www.sqlbi.com/series/the-whiteboard/