Change Measure using a Slicer

Поділитися
Вставка
  • Опубліковано 21 сер 2024
  • One of the most common questions that I get is, how can I change measures using a slicer? In this video I’ll exactly show how can you do that in Power BI.
    Download File - www.goodly.co....
    - - - - My Courses - - - -
    ✔️ Mastering DAX in Power BI -
    goodly.co.in/l...
    ✔️ Power Query Course-
    goodly.co.in/l...
    ✔️ Master Excel Step by Step-
    goodly.co.in/l...
    ✔️ Business Intelligence Dashboards-
    goodly.co.in/l...
    - - - - Blog - - - -
    www.goodly.co....

КОМЕНТАРІ • 115

  • @ameedazfar2023
    @ameedazfar2023 3 роки тому +12

    Hi, just want to say this out loud. You truly make working with DAX easy! Thanks for showing the step by step iteration of the complete process. :)

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

    Wow, I have been searching for this calculation for the last 2 weeks or so...finally found it; thank you!

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

    this is excellent. you can dynamically change your title (if you add one to the table) by pointing at your 'select a calculation' measure in the title format panel. it works for me.

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

      That's great. Would you elaborate on how you were able to change the title dynamically?

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

    It seems it is the best dax channel i found so far.

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

      Thank you for your inspiring words! 😊

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

      @@GoodlyChandeep You are welcome. You can explain tricky things in the way people can understand. This is a nice skill especially with DAX which seems a pure evil, at least for me🙂

  • @mohitmanwani5298
    @mohitmanwani5298 4 роки тому +2

    Hi Chandeep,
    You can even give dynamic naming by using
    Title = IF(ISFILTERED(Slicer table[Selection]), VALUES(Slicer table[Selection]) & "by Date", "Please select single value from slicer"). I hope you will find useful

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

      Thanks Mohit :)

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

      is that suggestion actually work , Chandeep ??
      I am not sure, please let me know
      Thanks

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

    There's an easy way to have the column header change dynamically: add your measure to the columns of the table and hide the column subtotals.

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

    Amazing Chandeep you’ve had video for these waaaaay before the field parameters were introduced to powerBi 👍👍👍😍😎🤗😁

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

    As always, best crip and clear explanation...
    Cheers..Way to go..
    A true asset for Data Community

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

    Dude, thank you! Easy to understand and got what I needed!

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

    You resolved the big problem.Thank you!

  • @suganya48
    @suganya48 3 роки тому +3

    this is very helpful for single selection on slicer. Is there any way to do multi-selections in slicer?

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

    Excellent video again. I love that you get straight to the point! Keep it up.

  • @grytskokonstantin1272
    @grytskokonstantin1272 Місяць тому

    God bless you. Thank you so much.

  • @jermainecameron6209
    @jermainecameron6209 3 місяці тому

    Exactly what I needed, thank you!!

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

    Outstanding video!!

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

    Thanks for this Video its soo simple and clear instructions.

  • @jomishmathew1447
    @jomishmathew1447 3 роки тому +1

    Excellent as always...👍

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

    You just saved my day with this video. Thanks!

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

    Great video, quick and straight to the point with no fluff. Eventually did you find a fix to the column header as this is 3 years old video?

    • @GoodlyChandeep
      @GoodlyChandeep  6 місяців тому +1

      Yes now using a native feature called field parameters

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

      @@GoodlyChandeepDid you make video on that?

  • @ariffkmy4235
    @ariffkmy4235 3 роки тому +1

    thank you for the tutorial!!

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

    very helpful !!

  • @richieakparuorji4296
    @richieakparuorji4296 3 роки тому +2

    i really appreciate this video. Also, what if i want to show more than 1 selected measure and also a sumproduct of all measure to always show depending on the number of selected measure

  • @JoaoVictor-fh4on
    @JoaoVictor-fh4on 3 місяці тому

    this is vey good, i have a problem that id like to solve and havent been able to.
    so, in your calculation measure, you had to list every value-condition pair by hand inside the switch function. Id like a way to automate that, so that if a User adds a collumn to the database, it automatically detects that i want the column with that name.
    I was able to make the slicer table automatic, so every time a user adds a column, the slicer table gets one more line, but i cant do it inside the switch function.

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

    Worked perfectly, Thank you!

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

    Hi, You are real dax master, I have one query if I want to select multi measure in slicer and output should be show in matrix for exp. If I select Total sale, Total unit then matrix show me two fields(Value) as per my selection. How can we apply it.

  • @SMITDEDHIA96
    @SMITDEDHIA96 4 роки тому +2

    Amazing as always... Thanks for sharing!
    Could you share a screenshot of how the dynamic "Calculation" column would look like when no value in slicer is selected?

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

      Check out the last gif in the blog. Links are below

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

      @@GoodlyChandeep Got it! Thanks again.

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

    Great video, very very helpful

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

    Excellent video, sir!

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

    Thanks for an excellent explanation! Do you know how the code can be adjusted if we want to select and display several unrelated measures on the same chart/visual?

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

      I am looking for the same too. What if I want to select multiple options from slicer to display total sales and total units etc

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

      Have a look here guys: ua-cam.com/video/cT86pzHz018/v-deo.html

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

      Seems no solution?

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

    Excellent explanation Chandeep. Thank you

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

    This is a great post! Thank you very much!!

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

    This video has been very helpful to me. Thank you for sharing it. The video shows how to apply this to pivot tables. Can we apply it to graphs as well? Actually, I'm looking for a video like this to help me change the names of the fields in the graph.

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

    thanks, this was very well explained.

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

    Thank you Goodly! Very helpful!

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

      Glad it was helpful!

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

      @@GoodlyChandeep chandeep FYI instead of blank if you use +0 at the end measure will get 0 it looks good

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

    really awesome ,something new one and very useful.. thanks for this amazing video..

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

    Awesome Tutorial !

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

    Thank u very much ,

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

    Thanks

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

    Excellent. Thanks a lot

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

    is there a way to select multiple at the same time? I am trying but it keeps returning wrong values

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

    Excellent sir, please post different slicer, if any new videos

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

    thank you,

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

    Hi cool video , quick question : here in this example we are passing text in a slicer - do we have the ability to pass date from a slicer and built a measure

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

    Awesome.

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

    Thank you!

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

    Thanks you.

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

    Thank you So much Brother, your video helped in getting solution in project. But there is one glitch, I'm not able to apply Color Condition for the output. (I've made the measure as %). Please advise. Thanks again.

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

    million thanks

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

    You are amazing bro

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

    How can we sum the measures according to the selections made in the slicer? For eg. I have columns as Jan sales, Feb sales, Mar sales and so on. I have created a slicer table and the required measure. But I want to add these column values according to the selections made in the slicer. For eg. if I select Jan sales and Feb sales from slicer, a card should show me sum of Jan sales and Feb sales.

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

    Hi, huge thank you! However, when I insert the "calculations" measure into a line graph, it won´t display it. I changed the "Select a calcluation" text to a 1 and it still did not do it. Any help will be greatly appreciated it!

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

    Hi. Thanks for sharing. Wanna ask how about If I want show few column when selected one value in slicer? this only can show one column max

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

    Really cool Trick !! But I had a doubt
    How to sort this dynamic measure created in asc/ desc order and not show numbers in any order ?

  • @user-io2jm1qd6u
    @user-io2jm1qd6u Рік тому

    How do we change the format type of the diff measures ( %, currency etc) within the switch calculation measure?

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

    Hello. Did you found a way to change the column header name based on the slicer selection?

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

    Great video. Can we provide SELECT ALL option for user if they would like to select all measures in one go?

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

      Well technically you can, in that case you'll need to add a scenario in the DAX measure that shows all the calculations in a presentable way!

  • @anuragbawankar685
    @anuragbawankar685 3 роки тому +1

    Thanks sir ! If I want to select and display 2 or more columns/calculations then how it can be done??

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

      I think it can be done using calculation groups

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

      @@GoodlyChandeep Ok sir , just saw your calculation group video , Thanks a lot !!!!

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

    And dynamic measure formatting!!,!!!🎉❤😂

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

    Thanks alot buddy 😊

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

    Hi Need your help, I have same condition to change the measure, but i want to change 3 measures at a time can we create group of measures and on selecting value in slicer respective measure group will displayed

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

    Great tutorial..Can we add multiple measures on single slicer selection?

    • @ginesc
      @ginesc 3 роки тому +1

      Yes you can :-) the table Chandeep has created has just one column, but if you create two columns Qty - Act Sales || Qty - LY Sales || Value - Act Val Sales || Value - LY Val Sales,
      whenever you click on Qty or in Value two measures will be visible in your report (if needed more , of course).

  • @user-ky6rk4wp5y
    @user-ky6rk4wp5y 6 місяців тому

    does it support multiple selections?

  • @user-dj8qs6px6u
    @user-dj8qs6px6u 3 місяці тому

    Hallo, I just wonder, is it possible to make a slicer that would change for example units/values but not in one measure but in lets say 5 of them at once. I have current year units, previous year units, evolution , weight of business and I want to be able to switch between them by clicking on the slicer. Is that possible?

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

    Great

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

    Always great following your tutorial. Could I,mid I may, request a tutorial on Parameters and Functions, please

  • @nimikajadav3004
    @nimikajadav3004 Місяць тому

    I want to get rate from users then want to convert into that rate . how to do ? like if choosed INR then show INR value, if choose USD then pur rate from numeric range parameter and convert into USD using given rate , not manually put into table then convert.
    i need help.

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

    Do you know how this same measure can be applied to a chart? For some reason, my calculation is stuck as a "TEXT" datatype not allowing me to place it in the values. When I add in a convert to Integer function to the measure it works for all of my metrics besides any values under 1. I have a specific metric which shows in decimals and its not displaying the data. Any ideas?

  • @user-sv8cg1wl9l
    @user-sv8cg1wl9l 5 місяців тому

    How can i add monthly quarterly and yearly measures in slicer

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

    Awesomeness

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

    How can we convert or use calculation to show percentage of Grand Total?

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

    Good Sir

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

    I cannot format my Revenue in currency ($) when used this technique. Can you help? Thanks.

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

    It works with ALLSELECTED() as well instead of SELECTEDVALUE()

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

    Can we do multi selection and let the table shows them?

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

    Thank you very much . Your video helps a lot ..how you derived Month format in "MMM"
    Is thr any Dax if so Please share

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

      =FORMAT ( Date[Date], "mmm" )

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

      @@GoodlyChandeep Thank you for your reply...in this case new column is text column instead of Date format..how to resolve this concern

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

    How to make it work for multiple selection

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

    Is it possible to change the query also based on slicer selection

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

    If I wanted to have a format to show my total sales in currency Format having $ Symbol. What is the way to achieve it. Appreciate if you can reply to this Issue. Thank you

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

      wrap the Total Sales in the Format Function
      = FORMAT ( [Total Sales], "Currency" )
      Read this post - www.goodly.co.in/dax-format-function/

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

    Not sure why but the link to download the sample pbix file on your blog page doesnt work.

  • @rajeshkannan.k.s204
    @rajeshkannan.k.s204 3 роки тому

    hey man.. is it possible to change the column title as per the selection ..?

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

      Head over to the blog post (linked in the video description) and download the powebi file. Its in there!

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

    how change Legends Name based on Slicer Selection

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

    I cant download bi file

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

    777th thumbs up7️⃣7️⃣7️⃣

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

    Thanks