SWITCH between PERCENTAGE and ABSOLUTE VALUES in one visual I Calculation Groups in Power BI

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

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

  • @simonloughnane6683
    @simonloughnane6683 3 года назад +9

    What a great practical example of using calculation groups, and also one that is not too intimidating for people (like me) who are new to them. I must commend you on the editing and production of your videos, they are so slick. No doubt a lot of work goes into achieving that, thank you.

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

      thank you Simon for the nice words 😀 Indeed, the editing costs way more time than the recording haha

  • @xodrinker
    @xodrinker 3 года назад +6

    Smooth. Need this early next week. Perfect timing Bas. Thx.

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

      haha I could see it in my crystal ball 😁😉

    • @timestoryx
      @timestoryx 4 месяца назад

      Keep going 🎉🎉🎉

  • @DilbagSingh-vf6gv
    @DilbagSingh-vf6gv 8 месяцев назад +1

    hello ,im new into data analyst. firstly your videos are wonderful, to the points and explains everything. every now and then i goes to your channel to clear my doubts or learn something new. secondly you mentioned two approachs to percentage problem and expalined only on, can you put light on another way too, as tabular editor is paid software and i cannot right now buy it.

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

    Great vid that shows exactly what I was wanting to do... only downside is that after I bring in the calculation group any field I add to a table will only show distinct values and nothing else. it completely breaks the pbix. Can't find how to resolve it either.

  • @supreethalahari.sreeram5147
    @supreethalahari.sreeram5147 2 года назад +1

    Great video, can you please help me how to create a switch from numbers to percentage without using tabula..

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

    You are doing a great Job Buddy Keep going strong..

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

    Very good video, great result and effective. Thanks for sharing

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

      Glad to hear you find this helpful! Thanks for watching 👍

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

    Great video ! The part on the format expression is very effective to get a very flexible report. The calculation groups also are a real solution to keep the performance snappy. Looking forward to your next video!

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

    in the remove filter part, if I have a field parameter instead of "single selection channel", how can I adjust the formula? thank you.

    • @Tp01738
      @Tp01738 11 месяцев назад

      I’m looking for a solution here too. Using field parameters to switch between measures in a visual, and would like to add a slicer with a calculation group to change between absolute / % breakdown

  • @MoinKhan-1707
    @MoinKhan-1707 2 месяца назад

    Wow its amazing bass. but I have a question My Organization not allowed tabluar editor.
    how can I create this measure in power BI? I think now there should be updates in power BI itself because this video is 3 years old.

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

    Hi this is really good stuff I need a help on my data were I have the year from 2021~23 along with the dates & months in a column in such a scenario how can I measure the YoY & MoM. Please guide. Thanks Terence

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

    Very good video, I wonder if we can adjust other format settings, like from horizontal to vertical orientation on the datalabels for the visual, for instance.

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

      thanks Pedro... I think that's not possible yet.. would be nice though

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

    Thanks so much! One question wants to seek your help, when I switch to "% of Total", why it shows the percentage of the total number instead of percentage of current month?

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

      are you getting the same %ages across all dates? if so, check your REMOVE FILTER: it should only remove the filter for the CHANNEL dimension...
      OR
      You don't have a relationship between your dates and your facts (i.e. you are using the DATE from your CHANNEL table - when you remove the filters, it also removes the date filter in that table).

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

    Hi, Thanks for the teachings, in a didactic and simple way, you are the greatest.
    Can you help me? I have two Bar Charts and one Card, and all working ok, as your example (% or absolute in all of them), can you please tell me how to exclude Card, so that it always shows the absolute value only, and never switch to %?

    • @HowtoPowerBI
      @HowtoPowerBI  3 года назад +3

      Thanks Luciano! select the slicer, go to format on the top ribbon, then edit interactions, and turn off the interaction to your card. 🙂 that should do it

  • @a.7388
    @a.7388 Год назад +1

    Is this method faster than just bookmarking two different graphs with their own measures? (e.g., hide/unhide graph base on user selection)

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

    Thanks, Bas, for abother great video. Very practical and useful.

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

    Amazing video man! Super simple and super useful!

  • @KaterynaYakubovska
    @KaterynaYakubovska 3 месяца назад

    Very helpful! Thanks!

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

    Thanks Bas. Really clear explanation. I have a question/problem after I implemented this solution. I cannot add/dragg a (numeric) column to the 'Values' of a visual. I can only add/dragg a measure. So I have to make a measure of every column I want to visualize. Is there a way to fix this?

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

    Very cool, Bas! Thank you!

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

    I like your content submission! That's cool!
    A year ago I tried to solve the problem with displaying percentage and number in a radio button, but I still couldn't find how to do it.
    Thanks for the solution!

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

    You saved my life 😀 Thanks

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

    Perfect Videooo once again.. I have a problem with a switch.... I make a switch measure with sales and quantity but when i choose sales i need to have the euro sign € and when i choose quantity i need to have just the number.. any ideas?

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

      Hello, have you tried using Calculation Group?

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

      @@DanielTavares29 no actualy i do not know how.. because i cannot use the selected measure because it is a different calculation

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

    Helemaal geweldig weer 😁.
    Very well explained, easy and fun to follow.
    And indeed also a nice introducer to Tabular Editor for me!
    Thanks.

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

      Dankjewel Ricardo!!! 😀😊 .. oh nice, worth exploring further!!!

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

    Very clean and handy.
    I'm working with the Power BI reports server.
    Do you know if there is any way to work with the tabular in Power BI RS?

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

      thank you João! it doesn't work? what version is your PBIRS?

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

    Amazing video! Very helpful!

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

    Thanks for this. Well explained and I think I can implement after downloading tabular editor (been watning to unleash its power for a while now).

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

      You can do this now in an easier way with field parameters ruclips.net/video/-nqEv2YXLsU/видео.html

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

    Great tip ! Thank you !

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

    Made already good use of this 😁. Although I now encountered a situation where I had set my values to show as thousands and the percentage view did not like that....
    When i switch back to Auto the percentages showed just fine but my absolutes are in Millions and thus show 0M or 1M....🤨
    Have you encountered this before and is there a solution for this behaviour?
    *EDIT*: Well found out today about the new feature 'Field Parameters' so no need for complicated Tabular Editor anymore 😁.
    This new feature works like a charm!

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

    Very nice. Great explanation. Keep going!

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

    Is there any workaround for being able to include calculations in these? For example, if I wanted to calculate variance and be able to switch between absolute and %?

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

      Yes, in the example I use sales, but you could put in variance of sales or any other measure and it would work as well

  • @igreen4460
    @igreen4460 7 месяцев назад

    Brilliant!

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

    Any ideas on how to deal with formatting issues regarding total labels on a stacked column chart or values within a gauge chart? Thanks!

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

    Hi just wondering is it still possible to apply conditional formatting to the measures within the calculation group? Ie. the absolute and % totals

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

    Brilliant

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

    Bas, which book do you follow to learn Power Bi? Thanks for the video.

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

      thx Sonet! most stuff I learn from projects I work on. There are many information resources on the internet that provide different angles on each topic - I prefer that over any book

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

    Great and easy to follow tutorial!!
    I have one question, I have created a drill down page that takes in the selected data points from the chart and that creates the label on the top
    Of the drill down page. This works fine when I use the value but when I drill from % toggle it gives an error along the lines of trying to convert the label text into a numerical. Any ideas on how I can get this working for both value and per tags toggles?

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

    Ultra practical and real-life application. How do you know I need this!?

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

      Haha thx!! Needed it myself one day 😉

  • @hamed12345100
    @hamed12345100 5 месяцев назад

    Can i do this without the tublar editor? It sounds complicated with this third party source

  •  3 года назад

    Thank you very much Bas for sharing great tips!
    I have a question, maybe you can help me... how can I get the name of the calculated item to create a dynamic title as selected? I have tried creating virtual relationship with disconnected table, applying SELECTEDVALUE, SELECTEDMEASURE, SELECTEDMEASURENAME, but no good results. Greetings from Peru!

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

    Very niceVideo 👌

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

    I am not sure if external tools are available for Power BI Report Server, if they don't would it be possible to create something similar using bookmarks?

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

      The link for download - The page
      wasn't found

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

      thx for pointing out! fixed it should work now

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

      I think it should work. If you would like to use bookmarks, You could create two overlapping visuals and then show the pct chart with one bookmark and one bookmark that shows a chart with absolute values. Then create two buttons and add bookmark actions that will allow you to toggle between the two charts.

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

    Great video Bas! Thanks for sharing this technique which I've wanted to add to my Power BI reports.

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

      thx Scott! happy to hear you can use it for some of your reports 😀

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

    Wow! Amazing

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

    Hi Bas, can u format the measures in the Power BI instead of the Tabular editor, right?. Thanks in Advance.

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

      Hi Juan, you can set the format for measures in Power BI. However, not with a format expression like shown in the video.

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

    Hi Is there any way to show a graph like clustered chart 100%, but instead of to show percent value show absolute values? the creative by customer is insane. I'll appreciatte your help. thanks

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

    Hi Bas, Great video.
    Something is not working in my report:
    I have two visuals in the report, a card and a stacked bar chart. in the card the percentage works fine, but in the chart the % is not visible
    Thanks, Amir

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

      could it be that you turned off the interaction from the slicer to the stacked bar chart ?

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

    Awsome video as usual!

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

    Please make some vids of tabular editor. Tq

  • @ИнИнг-ъ7в
    @ИнИнг-ъ7в 3 года назад

    Perfect 👍

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

    Thanks a lot!

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

    Super useful !!!

  • @AnkitGupta-cn1zd
    @AnkitGupta-cn1zd Год назад

    I am stuck in between I dont see the tables in the tabular can you help. Thanks in advance

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

    Hi Bas, great video! I have a very similar setting as yours, except that instead of showing the data label for each data point I only show the total label. After I did the calculation group formatting string, It seems that the formatting does not apply to the total label despite the fact that the unit of y-axis changes in accordance with formatting setting with no issues. Can you please check if this is the case with yours as well? Thanks

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

    Hi, just a side question. At 0:45 there is a dimCalendar table. When you add Year and Month from that on the visualization month appears as Jan, Fab, and so on. How could it be changed to show not the name of the month, but the number? (01 instead of Jan, 02 instead of Feb)

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

    Great video!

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

    Unable to set the property Discource Implicit measure to FALSE. Any ideas, pls?

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

    Tabular Editor is a great tool but I'm currently running into a problem. When opening Tabular Editor 2.x or Tabular Editor 3 in a SSAS model (pushed from a TimeXtender ETL environment) it says: "No database with ID or Name 'Sales' (cube is called sales) was found on the server, or the user account does not have administrative rights. Did I miss something in the setup to activate this with SSAS cubes?

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

    I have four buttons like table and visual and separate one as percentage and value,if I select table button and value button it has to display in the format of tables and vice versa for visual top,can you suggest me on that

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

      You could use the technique from the video in combination with bookmarks 🙂

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

    I have tried it but unfortunately nothing changes on the chart, as if the slicer has no effect on the original table that has the data

  • @rahulhatle5036
    @rahulhatle5036 6 месяцев назад

    my calculation group is not filtering the data
    any idea why?

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

    Hi,
    When I used a calculation group and powered a line chart it was working fine. But due to some reason the other elements in my report are getting affected. If I put in any measure which is not a part of the group in a KPI card it seems to show the same value though it shouldn't. Can someone help me fix this?

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

      I think you are experiencing the same issue I had. You need to adjust the format string expression to stop it acting on other visuals. As the clip just shows one visual this doesn't crop up in the demo. Add something like this to the format string expression of the '% of total' e.g.
      VAR SkipConversion =
      SWITCH(
      TRUE(),
      SELECTEDMEASURENAME () = "Measure 1", 1,
      SELECTEDMEASURENAME () = "Measure 2", 1,
      0
      )
      VAR percAmount = ("0%")
      VAR absAmount = ("#")
      RETURN
      IF (SkipConversion, percAmount, absAmount)
      So any measure you want has the correct percentage conversion. The 2nd measure was there for me as I had another visual that used percentages from another measure. Without it, using the above would force it not to be a percentage. I think this is the one disadvantage with using this method. It can easily break other parts of your report and introducing technical debt.

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

    Is there a way to do this using Dax Studio?

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

    Hi there, I didn't use any legend in my Clustered Bar chart and my slicer of Absolute/% of Total is not working on the clustered bar chart..it's only effective on my Multi Row Card..what can be done regarding this..please help

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

      could it be that you turned off the interaction from the slicer to the clustered bar chart ?

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

      @@HowtoPowerBI No, I've checked that as well

  • @lijunchen
    @lijunchen 5 месяцев назад

    A great tutorial. But you mentioned there was another way to do this. But you did not show what it is.

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

    It is calculating % of Total as % of all years combined. Every year/period should be 100%. Please help

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

    Hello, I try to make a Switch in my data model but if I change the format string expression in the Switch all my table change ... Someone can help me ?

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

      what did you type in for your expressions /format string expressions?