An Overview of Notion Formulas 2.0

Sdílet
Vložit
  • čas přidán 24. 07. 2024
  • Formulas 2.0 is here! And boy is it a doozy. Don't worry, though. I've got you covered with "everything" new in Formulas 2.0. Hopefully this'll take some of the pressure off your transition from 1.0 to 2.0.
    And if you need more than that, check out my Formula Fundamentals course. Follow the link below to get it:
    👉 tinyurl.com/notionformulas2
    00:00 Intro
    00:48 The Editor
    02:55 Property Tokens
    04:44 Dot-Notation Syntax
    07:38 Lists[]
    15:28 Dates
    18:29 Variables
    23:11 ifs
    26:28 style
    30:09 Person
    31:34 strings
    33:33 Outro
    ////////
    Want to go deeper with Notion and get live support from experts in a supportive community?
    Check out our year-long program Notion Mastery for access to me and my team's Notion expertise. We've helped 1000s of students and businesses make Notion a healthy part of their operations.
    👉 tinyurl.com/notionmastery-ytb
  • Věda a technologie

Komentáře • 65

  • @sutherlandcarter9268
    @sutherlandcarter9268 Před 5 měsíci +2

    Formulas made easy! Signing up for the course now!

  • @jatingarg9175
    @jatingarg9175 Před 10 měsíci +4

    Made me smile when I saw your thumbnail pop up. Immediately switched over from the other video as I know yours will likely be more comprehensive and easier to understand 😅

    • @benjaminborowski
      @benjaminborowski  Před 10 měsíci +1

      Cheers, Jatin. Your compliment made me smile as well. Appreciate you.

  • @stevemarkperry
    @stevemarkperry Před 8 měsíci +2

    Nice! These new formula and dot notation syntax are fantastic.

  • @christophergearhart1473
    @christophergearhart1473 Před 3 měsíci +1

    Bro, 2.0 is killing me. Thank you for clearing up a straightforward question.

    • @benjaminborowski
      @benjaminborowski  Před 3 měsíci

      You're welcome! Thanks for watching. My course goes much deeper into code fundamentals if you continue to get stuck.
      notionmastery.com/formulas

  • @2010Sisko
    @2010Sisko Před 9 měsíci +1

    Thanks so much for this video. I was pulling my hair out with the "prop" terminology and beginning to cry as I couldn't even add two numbers together in two different columns. THANK YOU so very very much. Seem like every other youtube video hasn't flagged this new formula terminology. Automatic subscription. Big thanks.

    • @benjaminborowski
      @benjaminborowski  Před 9 měsíci

      That's super nice to hear. I appreciate your comment. You're very welcome.

  • @somethingxblue
    @somethingxblue Před 10 měsíci +7

    Great video, very clear. I may or may not have cried happy tears, this update is huge and all I needed

  • @TheRoxyLifestyle
    @TheRoxyLifestyle Před 10 měsíci +2

    So helpful. Thanks Ben!

  • @Rigson
    @Rigson Před 8 měsíci +1

    Thanks for making this video Ben! It was really helpful to see you work through examples using the new features and methods.

  • @lizpoggi6689
    @lizpoggi6689 Před 10 měsíci +3

    Super helpful as always. Thanks Ben!

  • @cloudlake
    @cloudlake Před 10 měsíci +1

    Thank you! Very understandable and easy to follow! :D

  • @notionkombinat
    @notionkombinat Před 10 měsíci +1

    As always. Love your work. 💜

  • @MrFiveish
    @MrFiveish Před 10 měsíci +1

    Amazing video. Thank you very much.🎉

  • @updownsideways
    @updownsideways Před 10 měsíci +1

    Great vid. Started using Notion and learning about formulas.

    • @benjaminborowski
      @benjaminborowski  Před 10 měsíci

      Glad it was helpful! Formulas can be intense, so I recommend starting small at first.

  •  Před 10 měsíci +3

    So helpful, I love the update !
    Little trick that maybe you know, you can reduce the YYYYMMDD into an L or l, for the formatDate function, to know if prop("date") == Today

  • @blerman13
    @blerman13 Před 5 měsíci +1

    Great video, very clear. all that I needed. however, I'm wondering if you can create a notion formula generator and/or an online converter to/from Notion formula. I'm trying to find something like that without success s ofar

  • @mikedoel3875
    @mikedoel3875 Před 10 měsíci

    Nice video and really happy to have the new list functions. Now we just need reduce() added to go with map() - unless you know of a hacky way to get that already.

    • @benjaminborowski
      @benjaminborowski  Před 10 měsíci

      I asked for that too during the beta, lol! I'm sure there's a hacky way. I'd love to solve for it. Feel free to link me to a description (or post here) of an outcome you're trying to achieve and I'll see if I can hack it!

  • @skibsthebear
    @skibsthebear Před 7 měsíci +1

    Any boxing day sales on the Formula Fundamentals 2.0 course? Would love to grab it if it was discounted and I am sure many others would feel the same.

  • @robynbieber6312
    @robynbieber6312 Před 10 měsíci +2

    Thanks!!

  • @leebrendalee
    @leebrendalee Před 7 měsíci +1

    Love how clear your video is, at beginning could I have prop or name field like you did ,,so add name then add total income minus total expenses and have it calculate based on that name field, I tried and tried different methods. I need different totals for two different rows

    • @benjaminborowski
      @benjaminborowski  Před 7 měsíci

      Sorry, I don't understand your question. Can you ask it a different way?

    • @leebrendalee
      @leebrendalee Před 7 měsíci

      @benjaminborowski appreciate your reply. What I ended up doing was just kept the other account separate instead of together. Because I'm new to this, I'm not sure how to rephrase, but will try. One row has bank 1 income bank 2 income bank 1 expenses bank 2 expenses...those are names on top. Then on side is bank 1...next line is bank 2. Maybe those are rows top is columns.
      Then I was trying to do formula based on bank name, then income less expenses...but it didn't work..it works without the name

  • @solilos
    @solilos Před 10 měsíci +2

    Hello Ben! How do I access/buy your course on Formulas 2.0?

    • @benjaminborowski
      @benjaminborowski  Před 10 měsíci

      It's still in development! There's a sign up at the bottom of notionmastery.com/formulas/ that you can use to be notified when it's available.

  • @ex_protuser
    @ex_protuser Před 10 měsíci

    Ben, thanks for the video! Could you make a tutorial on how to display progress as a progress bar?
    I can’t figure out how to link different projects that are in the same database to different databases, where there will be individual checkboxes... How to link not an entire property to another database, but individual projects. I would be very grateful to you. This is perhaps the only question that is causing me great difficulties now (((

    • @benjaminborowski
      @benjaminborowski  Před 10 měsíci

      The section on lists and variables in this video show how to make a progress tracker with related tasks. You would use this method and select "Bar" as your display instead of "Ring" as I did.

  • @bdv6083
    @bdv6083 Před 10 měsíci +1

    Very helpful. When is the end of the summer? For us not based in the US.

    • @benjaminborowski
      @benjaminborowski  Před 10 měsíci

      In the next month or so. I don't have a fixed date yet and I had a death in the family so I'm moving a little slower than I usually do. Sign up for the list and I'll keep you posted!

    • @bdv6083
      @bdv6083 Před 10 měsíci

      Thank you and my condolences. I signed up to the list straight away.

  • @jtross00
    @jtross00 Před 6 měsíci +1

    Please HELP!
    I have numbers in two related tables (Table 1. Payslips, with a Property: "Salary Hrs" and Table 2. Rates, with Property: "Salary Rte")
    I want to create a Formula Property in the Payslip table that multiplies "Salary Hrs" with the corresponding "Salary Rte" in the related Rates table.
    I can't seem to get the syntax right to reference the "Salary Rte" property in the Rates table.

    • @benjaminborowski
      @benjaminborowski  Před 6 měsíci

      Hey, Jacob. If you've got a Relation that you want to pull through the rate from, it'd look like this:
      prop("Rates").first().prop("Salary Rte") * prop("Salary Hrs")
      Your relation "Rates" is a list, so you need to get an actual page object from the list with "first()" so you can reference the properties on that page. Now, this assumes you only ever attach a single Rate to each Hours page.
      Make sense?

  • @Rafael-nu3mm
    @Rafael-nu3mm Před 10 měsíci +4

    This new feature of using rollup through a formula will be very helpful to prevent large databases from freezing.
    Currently, I use a database with over 50 properties that are just rollups of other databases, which slows down Notion a bit.
    If I were to point to a database with more than 200 rows to create a rollup as you showed in the projects section, would you say it would be faster? Would it affect the speed?

    • @Kanisi_LMM
      @Kanisi_LMM Před 10 měsíci +1

      This is my query as well... does it get faster, what are the performance benefits.
      Nevertheless the extra capabilities are mind blowing.

    • @benjaminborowski
      @benjaminborowski  Před 10 měsíci +3

      Hey, I have it confirmed with engineers that Formulas are more performant than Rollups. This is not measurable from my end, so your best bet is to try it out. For very complex data that is mission critical, something like PostgreSQL or MySQL is best (an actual database!)

    • @Rafael-nu3mm
      @Rafael-nu3mm Před 10 měsíci +1

      Just knowing that already makes me happy. I'll give it a try. Thank you very much@@benjaminborowski

    • @benjaminborowski
      @benjaminborowski  Před 10 měsíci +2

      @@Rafael-nu3mm me too! thanks for watching my video, I really appreciate it!

  • @MrGCaval
    @MrGCaval Před 10 měsíci +1

    Nice video! I trying to learn more but I have a quick question. How to sum some values itens that has a specific tag?
    For example, I linked 40 itens, but just 4 has a specific tag on other database. When I try to sum, the formula uses 40 itens, not just 4. HOw to specify the itens that I want to sum?

    • @benjaminborowski
      @benjaminborowski  Před 10 měsíci +1

      You will want to use the "filter" function available for lists to filter down the related items to the ones you want.

  • @Gunner5644
    @Gunner5644 Před 10 měsíci +1

    How can you use a variable in an if statement? For instance, I want to set a variable where two properties subtract each other, and then an if statement to check whether that variable is grater than a value.

    • @benjaminborowski
      @benjaminborowski  Před 10 měsíci

      Great question. So "let" has the signature let(variableName, valueOfVariable, expression).
      variableName is the name you want to define
      valueOfVariable is the value you want to set "variableName" to
      expression is any valid formula you can think of where you can use variableName
      So in short, let *returns* the expression's value. Here's an example where I assign the difference of PropA and PropB to the variable "result" and then in the "expression" I check to see if it's greater than 0.
      let(result, prop("PropA") - prop("PropB"), if(result > 0, "Greater", "Less"))

  • @salmasaad198
    @salmasaad198 Před 9 měsíci

    When is your course for formulas 2.0 coming out?

    • @benjaminborowski
      @benjaminborowski  Před 9 měsíci +1

      soon! Notion's API issues has been making preparations for launch very difficult. It's currently available to Notion Mastery students, but but the lower cost standalone will be later this month. Definitely before November as I am going on vacation!!

    • @salmasaad198
      @salmasaad198 Před 9 měsíci

      @@benjaminborowski great, thank you 🙏

  • @christianmagill3829
    @christianmagill3829 Před 10 měsíci

    Great video! I need to get dot syntax into my muscle memory. Do you know if there's any way to show filtered relations one per line? I tried .map(current + "
    ") and that didn't work.

    • @benjaminborowski
      @benjaminborowski  Před 10 měsíci +1

      .map(current).join("
      ")
      And keep in mind the live-preview does not show newlines and you must have wrap enabled on the column to display them

    • @christianmagill3829
      @christianmagill3829 Před 10 měsíci +1

      @@benjaminborowski Much thanks!

    • @christianmagill3829
      @christianmagill3829 Před 10 měsíci +1

      @@benjaminborowski Looks like there's some issues with view filters when it comes to empty lists. Items which are returning empty lists are matching when the filter is set to "is empty" and "is not empty".

  • @AS-ld5mz
    @AS-ld5mz Před 10 měsíci +1

    gibberish to me!

  • @labulabuland
    @labulabuland Před 16 dny

    ✅ N. keepnote versi lngkp