Creating custom groups using calculation items - Unplugged #24

  Рет қаралды 10,068

SQLBI

SQLBI

Күн бұрын

Explore how to create custom groups based on a slicer selection in Power BI. For example, create two versions of a measure: one returns the value of the selected items, and another one returns the value of the other items, the ones that are not selected.
This and other custom groups can be obtained by manipulating tables in specific calculation items.
Read more about the "unplugged" format: www.sqlbi.com/blog/marco/2021...
#unplugged

Пікірлер: 55
@joaorataoo
@joaorataoo 3 жыл бұрын
For me, regardless of whether it is useful not to exercise itself, it is undoubtedly very, very useful to watch the reasoning and the way of thinking about the problem. It's like watching a painter develop his work. Thank you very much
@klaustrampedach7312
@klaustrampedach7312 3 жыл бұрын
This is indeed a useful method! Actually I was struggling with an issue last week in our financial reporting, which this video solved completely. Imagine having som projects which are of "reporting interest" currently, and all financial amounts falling outside of this selection of projects belonging to an "other" group. Your video was spot on!! Thanks, Alberto - Good explanation, as always :)
@TheMrMishutka
@TheMrMishutka 3 жыл бұрын
Alberto, you don't need to worry if this is useful, it is. It has made me think how to produce a variance analysis showing Actual Sales (or whatever), then the top three positive variances, the rest, the bottom three variances and ending at the budget sales. One of the most difficult things in any accountants presentation of results is to explain why things changed against plan. I am going to give this a go - I will happily share where I get to, but I would love to see your (inevitably) much more elegant solution. Thanks again for all you do on this channel, it is excellent always
@Urgosandspirit
@Urgosandspirit 8 ай бұрын
Great video. Might use this idea in implementing it in scenario where i want to see total and % of total for selected customers i.e. when I want to understand how much of the total sales revenue selected customers represent. Kind of a continuation of Pareto analysis
@franklamberson8740
@franklamberson8740 3 жыл бұрын
Not sure if I can use this but I always learn something new from your videos, thank you. I find more uses for calculation groups all the time.
@DavidOnder
@DavidOnder 3 жыл бұрын
Thank you so much for doing these. I find these videos to be very helpful. This particular one looks very powerful. This will be very useful on a report I have for calculating enrollment, FTE, and graduations from programs at our college. I have wanted to be able to show the comparison to other programs in the same department, programs in other departments, and all programs. I will have to give this a try.
@denizgurbuz3590
@denizgurbuz3590 2 жыл бұрын
Very inspiring , thank you for sharing this useful calculation. I would like to show a performance report for my client and I can compare one person' task with others easily by using this calculation.
@kennethstephani692
@kennethstephani692 3 жыл бұрын
Thank you! I always learn something new from your videos.
@nishantkumar9570
@nishantkumar9570 Жыл бұрын
Awesome 👌 solution. It can be useful. If we want to see the contribution of selected ones in total or how much left out from the selected ones.
@thomasivarsson2468
@thomasivarsson2468 3 жыл бұрын
Very useful Alberto. An eye opener.
@Anthony_Lecoq
@Anthony_Lecoq 3 жыл бұрын
The concept is so cleam and simple. It will definitely be usefull at a certain point. Thousand thanks Alberto ;)
@maeshakib9646
@maeshakib9646 3 жыл бұрын
Alberto, Thank you for time and tutorial. I always wait from your video.
@walterbiffi6988
@walterbiffi6988 3 жыл бұрын
Yes a very good solution. I am going to try to implement it on my project. Grazie Alberto per introdurci a nuove soluzioni per risolvere vecchi problemi.
@PeterKontogeorgis
@PeterKontogeorgis 3 жыл бұрын
Could have used this exact solution just last week!! Definitely useful.
@sarajvo2010
@sarajvo2010 3 жыл бұрын
Solution part creating other column, like in this case for color, I use for Excel PowerPivot. My model is simple one and now when see video I was on good way how to create something in Excel, which is calculation group in PBI. As always unplug is excellent learning case, and today is simple too. Thank you!
@johansantacruz6464
@johansantacruz6464 3 жыл бұрын
Nice way to explain and enjoy DAX. Thanks!
@KlasGramstrup
@KlasGramstrup 3 жыл бұрын
very educational and a great way to get better at DAX
@willgart1
@willgart1 3 жыл бұрын
so easy and so useful. I hope an updated version of PBI will support the calculation group in the GUI directly. it's really missing today.
@francescobergamaschi800
@francescobergamaschi800 3 жыл бұрын
Very cool indeed and useful for salesman and customers
@marciobina
@marciobina 3 жыл бұрын
One more reason why multidimensional modelling is so important (the color dimension)!
@bitips
@bitips 2 жыл бұрын
Great.... Thks Alberto.
@DIGITAL_COOKING
@DIGITAL_COOKING 3 жыл бұрын
Hi Alberto, this is great videos as usual, and believe it or not i reference your videos in my brain how to use them like your video about treatas function for the balance sheet in power bi👍🙂
@thierrythomas6640
@thierrythomas6640 2 жыл бұрын
Thank you for thaïs exercice : I will use it !
@weltonsouza1618
@weltonsouza1618 3 жыл бұрын
Always useful, without doubt
@JCMCodaste
@JCMCodaste 3 жыл бұрын
By all mean a great technique! I will use it very soon :)
@rashidvaliyavalappil4750
@rashidvaliyavalappil4750 3 жыл бұрын
No Doubt, It is very useful 👍
@hermesjrd
@hermesjrd 3 жыл бұрын
Very, Very useful. Thank You a Lot
@InaKoys
@InaKoys 3 жыл бұрын
Great example for learners!
@bharathkumar-sq3qy
@bharathkumar-sq3qy 3 жыл бұрын
Cool, will try
@emirtuncer
@emirtuncer 3 жыл бұрын
That's amazing ❤
@data-futureoil1435
@data-futureoil1435 2 жыл бұрын
Great video, as always. One question, what if I want to show every selected colors in column in the Matrix.
@ilhamayusuf
@ilhamayusuf 3 жыл бұрын
Useful, indeed
@christopherhaas8637
@christopherhaas8637 3 жыл бұрын
Been figuring out how to generate "extra rows" to capture the difference between the FX rate based on transaction date, and using the FX rate for month end for a Balance Sheet calculation. The "Gain/Loss due to FX" should be recorded in a ledger account, and I think this may be the solution
@ritafainshtein3851
@ritafainshtein3851 3 жыл бұрын
It's great! May you please show the scenario of using selected and unselected values alone, not together. For example if i wanted to choose a black color but to see only other colors.
@SQLBI
@SQLBI 3 жыл бұрын
You can use the same technique - just implement the "others" calculation in a measure instead of a calculation group, it could be simpler to use.
@dariuszspiewak5624
@dariuszspiewak5624 3 жыл бұрын
Alberto, and what about cross-filtering when you select a color from the table (not from the slicer)? Will it work as expected? Have not tried it yet... but maybe you already know. Thanks.
@manuprakash1989
@manuprakash1989 3 жыл бұрын
Extreme ❤️❤️🔥
@benignoguilarte2806
@benignoguilarte2806 Жыл бұрын
Great!!
@martinbubenheimer6289
@martinbubenheimer6289 3 жыл бұрын
Nice, simple example to learn about measure groups. But for the specific use case the demand I face more frequently is to show one column for each selected color plus one column with the others value and maybe one with the total including others. And the selected colors are often selected by a Top N filter and others must be shown even if the others value is smaller than any of the selected Top N values. Is there a way in Power BI to do that without an additional artificial field? What least effort (an user friendly) solution would you recommend for that?
@SQLBI
@SQLBI 3 жыл бұрын
See this article+video: www.sqlbi.com/articles/filtering-the-top-products-alongside-the-other-products-in-power-bi/
@bhavikbansal7736
@bhavikbansal7736 3 жыл бұрын
Thanks Alberto - great video. Question - Wouldn't it be a tad-bit cleaner DAX to calculate Other Colors as difference of All colors and selected colors?
@SQLBI
@SQLBI 3 жыл бұрын
It wouldn't work for non-additive measures (like distinct count), the calculation group should work on any measure.
@bhavikbansal7736
@bhavikbansal7736 3 жыл бұрын
@@SQLBI That clarifies my confusion, thank you! BTW, these unplugged videos are great to develop a good way of thinking and solving DAX problems. Please keep them coming.🙂
@AmySwayzee
@AmySwayzee 3 жыл бұрын
Thanks. Very useful. In my industry one example (just this week) would be to look at one particular brand vs all other brands so for me this was very timely
@martintibbie5511
@martintibbie5511 3 жыл бұрын
Hi Alberto, would it be possible to use something similar to this with your basket analysis daxpattern? For example with the “Both” measures in that one
@mohammed333suliman
@mohammed333suliman 3 жыл бұрын
Alberto , it really cool
@powerbinareal
@powerbinareal 3 жыл бұрын
Consigo baixar essa versão do tabular editor
@visheshjjain
@visheshjjain 2 жыл бұрын
Could we have subtracted the Selected Colors total from the All Colors total in order to get the Other Colors?
@nikakalichava8012
@nikakalichava8012 10 ай бұрын
good video! thanks, but I have a question. can this be done without tabular editor?
@SQLBI
@SQLBI 10 ай бұрын
Only with Tabular Editor or Visual Studio. Power BI Desktop does not have an internal calculation group editor, it will come, but it is not available yet.
@nikakalichava8012
@nikakalichava8012 10 ай бұрын
@@SQLBI alright, thanks.
@jjessica7582
@jjessica7582 3 жыл бұрын
Please elaborate about Bill of Material BOM OF PRODUCT using power bi , DAX for procurement and production planning
@danielsiffredi8403
@danielsiffredi8403 3 жыл бұрын
🥷 skills !
@sweetydhore2390
@sweetydhore2390 2 жыл бұрын
How to count total number of rows of table using calculated group(calculated item)?
@mudassirsyedrashidali9787
@mudassirsyedrashidali9787 3 жыл бұрын
Is it possible to do this with Power Query?
When to use KEEPFILTERS over iterators
18:56
SQLBI
Рет қаралды 47 М.
Red❤️+Green💚=
00:38
ISSEI / いっせい
Рет қаралды 74 МЛН
That's how money comes into our family
00:14
Mamasoboliha
Рет қаралды 12 МЛН
Consecutive days with no sales - Unplugged #18
27:35
SQLBI
Рет қаралды 16 М.
Deep dive into measure filters in Power BI Desktop
23:03
Using calculation groups in DAX
41:59
SQLBits
Рет қаралды 20 М.
Best practices for using KEEPFILTERS in DAX
28:24
SQLBI
Рет қаралды 10 М.
Getting Started with Calculation Groups in Power BI
23:09
Goodly
Рет қаралды 32 М.
Optimizing conditions involving blank values in DAX
15:52
🚨 YOU'RE VISUALIZING YOUR DATA WRONG. And Here's Why...
17:11
Adam Finer - Learn BI Online
Рет қаралды 27 М.
Это - iPhone 16 и вот что надо знать...
17:20
Overtake lab
Рет қаралды 85 М.
😱Хакер взломал зашифрованный ноутбук.
0:54
Последний Оплот Безопасности
Рет қаралды 916 М.
Battery  low 🔋 🪫
0:10
dednahype
Рет қаралды 11 МЛН
Как правильно выключать звук на телефоне?
0:17
Люди.Идеи, общественная организация
Рет қаралды 1,7 МЛН
Красиво, но телефон жаль
0:32
Бесполезные Новости
Рет қаралды 1,3 МЛН