Change Measure using a Slicer

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ม.ค. 2025

ความคิดเห็น • 131

  • @chamanthawickramarathne2029
    @chamanthawickramarathne2029 23 วันที่ผ่านมา

    Thank you so much, You literary saved my whole Power BI project which had been stagnated.

  • @ameedazfar2023
    @ameedazfar2023 3 ปีที่แล้ว +13

    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. :)

  • @sonalijain9024
    @sonalijain9024 4 หลายเดือนก่อน

    The way u explain is just amazing. It is very clear n full of energy.

  • @rakeshc8502
    @rakeshc8502 9 หลายเดือนก่อน

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

  • @branzo79
    @branzo79 3 ปีที่แล้ว +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?

  • @emilmubarakshin49
    @emilmubarakshin49 ปีที่แล้ว +1

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

  • @alessandropizzotti932
    @alessandropizzotti932 7 หลายเดือนก่อน +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.

  • @mohitmanwani5298
    @mohitmanwani5298 4 ปีที่แล้ว

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

  • @SethChristianWells
    @SethChristianWells ปีที่แล้ว

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

  • @dataguys2192
    @dataguys2192 หลายเดือนก่อน

    Like always, great work! Can I make a suggestion? You mentioned you don't know how to create dynamic column headers. However there is a video of you on that topic a few months later. Can you add that video right after this video in the playlist. It will give your students the chance to learn related topics in a structured way.

  • @chitwinder
    @chitwinder 3 ปีที่แล้ว

    You resolved the big problem.Thank you!

  • @nikithahiremath8658
    @nikithahiremath8658 ปีที่แล้ว

    Thanks for this Video its soo simple and clear instructions.

  • @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🙂

  • @fahmywaleed
    @fahmywaleed 11 หลายเดือนก่อน

    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  11 หลายเดือนก่อน +1

      Yes now using a native feature called field parameters

    • @foxysatisfying675
      @foxysatisfying675 10 หลายเดือนก่อน

      @@GoodlyChandeepDid you make video on that?

  • @pravinshingadia7337
    @pravinshingadia7337 4 ปีที่แล้ว

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

  • @suganya48
    @suganya48 3 ปีที่แล้ว +3

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

    • @moviefreaky9298
      @moviefreaky9298 2 หลายเดือนก่อน

      Hey, let me know if you got a solution to this multi selection

  • @jomishmathew1447
    @jomishmathew1447 4 ปีที่แล้ว +1

    Excellent as always...👍

  • @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 4 ปีที่แล้ว

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

  • @DanishDataDude
    @DanishDataDude 2 ปีที่แล้ว

    You just saved my day with this video. Thanks!

  • @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

  • @kennethstephani692
    @kennethstephani692 3 ปีที่แล้ว +1

    Outstanding video!!

  • @richardparson1
    @richardparson1 3 ปีที่แล้ว +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: th-cam.com/video/cT86pzHz018/w-d-xo.html

    • @davidignatius1
      @davidignatius1 7 หลายเดือนก่อน

      Seems no solution?

  • @vijayendirankarthikesan
    @vijayendirankarthikesan 4 หลายเดือนก่อน

    Wonderful. Did you got the answer to dynamically change the calculation header?

  • @fabianjenkins876
    @fabianjenkins876 ปีที่แล้ว

    Worked perfectly, Thank you!

  • @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.

  • @isidrebague3659
    @isidrebague3659 4 ปีที่แล้ว

    Excellent explanation Chandeep. Thank you

    • @GoodlyChandeep
      @GoodlyChandeep  4 ปีที่แล้ว

      Thanks, I am glad you liked it :)

  • @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.

  • @mcsquarewolf9557
    @mcsquarewolf9557 ปีที่แล้ว

    Great video, very very helpful

  • @jermainecameron6209
    @jermainecameron6209 8 หลายเดือนก่อน

    Exactly what I needed, thank you!!

  • @Laxmanmane007
    @Laxmanmane007 4 ปีที่แล้ว

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

  • @dblack777
    @dblack777 2 ปีที่แล้ว

    Excellent video, sir!

  • @ariffkmy4235
    @ariffkmy4235 3 ปีที่แล้ว +1

    thank you for the tutorial!!

  • @scottwilliams6741
    @scottwilliams6741 3 ปีที่แล้ว

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

  • @briantey6997
    @briantey6997 3 ปีที่แล้ว

    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

  • @tlee7028
    @tlee7028 2 ปีที่แล้ว

    Awesome Tutorial !

  • @wizkidcyclist9968
    @wizkidcyclist9968 3 ปีที่แล้ว

    thanks, this was very well explained.

  • @foxysatisfying675
    @foxysatisfying675 10 หลายเดือนก่อน

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

  • @AishwaryaBaid
    @AishwaryaBaid ปีที่แล้ว

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

  • @staybreezy6079
    @staybreezy6079 4 ปีที่แล้ว

    Thank you Goodly! Very helpful!

    • @GoodlyChandeep
      @GoodlyChandeep  4 ปีที่แล้ว

      Glad it was helpful!

    • @mohdmuzammil3059
      @mohdmuzammil3059 4 ปีที่แล้ว

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

  • @MrRohanroxx1
    @MrRohanroxx1 3 ปีที่แล้ว

    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 ?

  • @AlexAmaguaya-u5k
    @AlexAmaguaya-u5k 10 หลายเดือนก่อน

    does it support multiple selections?

  • @JanaDVORAKOVA-s8m
    @JanaDVORAKOVA-s8m 8 หลายเดือนก่อน

    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?

  • @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.

  • @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.

  • @classic_anishtha_gupta
    @classic_anishtha_gupta 4 หลายเดือนก่อน

    How can I do the exact same thing but for every selection I need to do some calculation on different columns of table instead of just showing the column?

  • @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

  • @manojhub
    @manojhub 4 ปีที่แล้ว

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

    • @GoodlyChandeep
      @GoodlyChandeep  4 ปีที่แล้ว +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!

  • @luisalonso3018
    @luisalonso3018 ปีที่แล้ว

    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!

  • @celsocaetano84
    @celsocaetano84 ปีที่แล้ว +1

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

  • @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.

  • @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).

  • @AbhishekZagade
    @AbhishekZagade 2 หลายเดือนก่อน

    Hii Chandeep awesome video. Can you make a video like if we have 2 date slicers both are same and we have maybe line chart in which we have 2 total sales measures which is shown by month and year. So the condition is if something is selected in the slicer 1 only first measure should react in line chart and other shouldn't and if something is selected in the second slicer than second measure should react to it. But if there are selections made in both the slicers at the same time then visual should not show blank it should filter their respective measures without conflict.

  • @RS-to6sp
    @RS-to6sp 18 ชั่วโมงที่ผ่านมา

    how if i don't want choose one of select calculation, and want all column show (sales, unit, transaction, unique sell) ? because i try showing blank

  • @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 !!!!

  • @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

  • @marliearcellia1289
    @marliearcellia1289 3 ปีที่แล้ว

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

  • @JoaoVictor-fh4on
    @JoaoVictor-fh4on 8 หลายเดือนก่อน

    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.

  • @jaanun6549
    @jaanun6549 3 ปีที่แล้ว

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

  • @grytskokonstantin1272
    @grytskokonstantin1272 6 หลายเดือนก่อน

    God bless you. Thank you so much.

  • @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

  • @JacobClayton619
    @JacobClayton619 3 ปีที่แล้ว

    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?

  • @mahathmasadineni2884
    @mahathmasadineni2884 3 ปีที่แล้ว

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

  • @massimocolaceci
    @massimocolaceci 3 ปีที่แล้ว

    Excellent. Thanks a lot

  • @patelekta9242
    @patelekta9242 ปีที่แล้ว

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

  • @nimikajadav3004
    @nimikajadav3004 6 หลายเดือนก่อน

    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.

  • @VikashSinha-c7s
    @VikashSinha-c7s 10 หลายเดือนก่อน

    How can i add monthly quarterly and yearly measures in slicer

  • @rajeshkannan.k.s204
    @rajeshkannan.k.s204 4 ปีที่แล้ว

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

    • @GoodlyChandeep
      @GoodlyChandeep  4 ปีที่แล้ว

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

  • @Indian28051
    @Indian28051 4 หลายเดือนก่อน

    what if I want to use multiple selection on slicer to see multiple Metrics?

  • @PallaviKavin
    @PallaviKavin ปีที่แล้ว

    How to make it work for multiple selection

  • @venkatkirankumargollapinni4488
    @venkatkirankumargollapinni4488 3 ปีที่แล้ว

    You are amazing bro

  • @vijayendirankarthikesan
    @vijayendirankarthikesan 4 หลายเดือนก่อน

    Did you got the answer to dynamically change the calculation header?

  • @kirtigoel6871
    @kirtigoel6871 10 หลายเดือนก่อน

    very helpful !!

  • @datalab365
    @datalab365 2 ปีที่แล้ว

    Thanks you.

  • @venubabutanneeru5960
    @venubabutanneeru5960 3 หลายเดือนก่อน

    How to display 2 visuals using bookmarks, when using slicer if I select all names display visual 1, if I select single name then respected data display in visual2, how to achieve, please help me

  • @NaraMeerammaTrust
    @NaraMeerammaTrust 4 ปีที่แล้ว

    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  4 ปีที่แล้ว +1

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

  • @SaniGarba
    @SaniGarba 4 ปีที่แล้ว

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

  • @vineetyoutubr5
    @vineetyoutubr5 4 ปีที่แล้ว

    Thanks alot buddy 😊

  • @b123kotey
    @b123kotey 10 วันที่ผ่านมา

    It is easy to dynamically change title of the dynamic field no? 😅

  • @RandomlyWisdom
    @RandomlyWisdom 3 ปีที่แล้ว

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

  • @eslamfahmy87
    @eslamfahmy87 2 หลายเดือนก่อน

    I need to why you used sumx for sales and sum for sales unit

  • @naniviru8517
    @naniviru8517 4 หลายเดือนก่อน

    How to select multiple measures here we could only select 1 measure

  • @stevewilliams9753
    @stevewilliams9753 4 ปีที่แล้ว

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

  • @emilmubarakshin49
    @emilmubarakshin49 ปีที่แล้ว

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

  • @nehashahpatel1741
    @nehashahpatel1741 3 ปีที่แล้ว

    million thanks

  • @SuperJiooo
    @SuperJiooo 3 ปีที่แล้ว

    Thank you!

  • @amrfayad9297
    @amrfayad9297 ปีที่แล้ว

    Thank u very much ,

  • @vijaychilkewar4239
    @vijaychilkewar4239 ปีที่แล้ว

    I cant download bi file

  • @subhasishdey2670
    @subhasishdey2670 2 ปีที่แล้ว

    Awesome.

  • @adetolaolabanji8839
    @adetolaolabanji8839 3 ปีที่แล้ว

    thank you,

  • @edenalvarado1572
    @edenalvarado1572 3 หลายเดือนก่อน

    Great !

  • @sunitapednekar3229
    @sunitapednekar3229 2 ปีที่แล้ว

    how change Legends Name based on Slicer Selection

  • @sreeshinet
    @sreeshinet 4 ปีที่แล้ว

    Thanks

  • @atulshukal4072
    @atulshukal4072 4 ปีที่แล้ว

    Good Sir

  • @tsepomokau496
    @tsepomokau496 4 ปีที่แล้ว

    Awesomeness

  • @vijayendirankarthikesan
    @vijayendirankarthikesan 4 หลายเดือนก่อน

    Nice

  • @arghyadutta9091
    @arghyadutta9091 ปีที่แล้ว

    Great

  • @emilmubarakshin49
    @emilmubarakshin49 ปีที่แล้ว

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

  • @ravishmahajan9314
    @ravishmahajan9314 ปีที่แล้ว

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

  • @mahalakshmimuppuri771
    @mahalakshmimuppuri771 3 ปีที่แล้ว

    Thanks