Dynamic DAX Slicer Filter For New and Returning Customers

Поделиться
HTML-код
  • Опубликовано: 2 авг 2024
  • One of the most exciting new features in Power BI is the ability to apply visual level filters to slicers. In this video, learn how to apply dynamic DAX filters to slicers in Power BI.
    SQLBI Article on DAX Slicer Filters
    www.sqlbi.com/articles/syncin...
    LET'S CONNECT! 🧑🏽‍🤝‍🧑🏽 🌟
    -- / havensbi
    -- / reidhavens
    -- / havensconsulting
    HAVENS CONSULTING PAGES 📄
    Home Page - www.havensconsulting.net
    Blog - www.havensconsulting.net/blog-...
    Blog Files - www.havensconsulting.net/blog-...
    Files & Templates - www.havensconsulting.net/files...
    Consulting Services - www.havensconsulting.net/consu...
    Contact & Support - www.havensconsulting.net/conta...
    EMAIL US AT 📧
    info@havensconsulting.net
    #PowerBI #PBI #microsoftpowerbi #HavensConsulting #powerplatform #microsoft #businessintelligence #datascience #office #data #digitaltransformation #dataanalytics #tableau #excel #powerapps #datavisualization #dashboard #sharepoint #python #bi #analytics #cloud #azure #bigdata #sqlserver #software #sql #dynamics #dataanalysis #yammer #microsoftpowerbi #onedrive #machinelearning #bhfyp #powerbidesktop
  • НаукаНаука

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

  • @imranjaffrey5292
    @imranjaffrey5292 3 года назад

    Superb! You are excellent in DAX application in Power BI.

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

    Beautiful logic explained very clearly!! Thank you very much for sharing this!!

  • @shubhamrkrock
    @shubhamrkrock 5 лет назад +1

    This is ingenious!!! And the example you chose is just so perfect! Very nice video!

  • @Listen2Vindhya
    @Listen2Vindhya 3 года назад

    This is a very clearly explained video! Thank you very much for sharing!!

  • @EricaDyson
    @EricaDyson 4 года назад +1

    Great. Thanks very much. Definitely will give it a try.

  • @ihebchafai2780
    @ihebchafai2780 4 года назад +1

    Good Job;
    it gives inspiration, i use your method in another context

  • @stevennye5075
    @stevennye5075 3 года назад

    Great Explanation!

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

    Wow! Many thanks.

  • @riteshkothari1647
    @riteshkothari1647 4 года назад

    Mind Blowing!

  • @daveportland471
    @daveportland471 5 лет назад

    Great video. I have downloaded the pbix file and in the measure [New/Returning Customer Flag ] the VAR ReturningCustomer = AND( NOT(FirstOrderDate >= MinFilteredDate); FirstOrderDate

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

    Nice video! Thank you very much. I have one question, what would be the logic for finding lost customers, considering a 90 days churn date?

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

      There's a great article from EnterpriseDNA that talks about this! blog.enterprisedna.co/analyze-who-your-lost-customers-are-using-power-bi-dax/

  • @elisaul4770
    @elisaul4770 3 года назад

    I searched through tens of forums to find this! Exactly what I need. Is there a way to use that to filter all pages in the report?

    • @HavensConsulting
      @HavensConsulting  3 года назад

      Any filter placed in the report well on the filters pane would filter all pages and objects in the report.

  • @uniquemonikor
    @uniquemonikor 3 года назад

    Great video. Is it possible for that toggle to also affect data displayed in the column chart?

    • @HavensConsulting
      @HavensConsulting  3 года назад

      Definitely, but the measure filter would be a different setup than this video, where the goal is just to filter the slicer below it. Measures can filter basically any visual as long as it's filters are configured correctly to result (usually) in a 0 or 1 flag, then add that as a visual filter and = 1

    • @uniquemonikor
      @uniquemonikor 3 года назад

      @@HavensConsulting Can you give a quick idea of what those changes would be? Can the same measure filter be used to drive results on BOTH the table and visual?

    • @HavensConsulting
      @HavensConsulting  3 года назад +1

      @@uniquemonikor unfortunately I'd need to revisit the file and the calculations. I made a note to follow up with it but it'll be a while before I'll have time to dig into the file from this video (it's been a few years since I made it)

  • @abhinavchittora8186
    @abhinavchittora8186 3 года назад

    This is very helpful. I am trying to achieve the same thing but instead of single select, I want to have multi-select on a measure.. How can I achieve that?

    • @HavensConsulting
      @HavensConsulting  3 года назад

      There's an option to toggle multi select in the slicer settings under the format pane. Do you mean that?

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

    Reid - How would you handle a scenario where your Order Date is in an inactive relationship with the date table? That is our setup...we use "due date" as the active date table relationship between our sales table and our date table. Can USERELATIONSHIP be inserted somewhere in these measures?

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

      I wouldn't think you'd need to? If you're calculating the first date off the fact table in the first variable. It isn't reliant on a relationship yet. Just retrieving that date. Have you tried it using your Due Date and what was the results? It's been about three years since I published this so a little rusty on the logic, haha.

  • @sohailansari9337
    @sohailansari9337 5 лет назад

    Great.. Thanks for sharing it. Where can I find this pbix file?👏

    • @HavensConsulting
      @HavensConsulting  5 лет назад +1

      Hi Sohail, glad you liked the video. If you expand the video description there is a link to a Blog Files page that will have the PBIX file. If that is your first time visiting the page it asks that you sign up for my email newsletter. Which will also send you the password to get onto my Blog Files page.

  • @adambenkiki6304
    @adambenkiki6304 4 года назад

    amazing calculation!
    is there a way to take the New/Returning Flag and count how many new customers i have in that selected time?

    • @HavensConsulting
      @HavensConsulting  4 года назад

      Certainly! Unfortunately I don't have the time to write out the measure to do this in DAX. But this is something that can certainly be accomplished through a combination of CALCULATE and applying some filters to account for New/Returning

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

      @@HavensConsulting Hi, like Adam asks, i tried to write this measure to count the number of customers, but i have a error message because i would like to filter on a measure :
      CALCULATE(
      DISTINCTCOUNT(Data[CustomerName]),
      [New Returning Customers Toggle]=1)
      Could you help me please ?

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

      @@coollehavre If you use a measure in the filter section of calculate. You'll need to use the FILTER function for advanced filter scenarios (such as filter by measure). regular filters need to be boolean.

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

    Hi, i tried this :
    Nb customers Statut =
    CALCULATE(DISTINCTCOUNT(Data[Customer Name]),FILTER(Data,[New/Returning Toggle]=1))
    he gives the number total of my customer ?

  • @oscarchevez1480
    @oscarchevez1480 5 лет назад +1

    ¿Dónde puedo encontrar este archivo pbix?
    Muy interesante

    • @rauljimenez5485
      @rauljimenez5485 4 года назад

      Si buscás la información abajo de la descripción ,está la dirección al blog del autor. Hay que registrarse (dar el email ) y te manda el password para acceder al blog adonde está el file.