(Case Study) Field Parameters or Calculation Groups???

  Рет қаралды 2,163

Havens Consulting

Havens Consulting

Күн бұрын

Пікірлер: 17
@powerbi_donsvensen
@powerbi_donsvensen 5 ай бұрын
Hi Reid - have you considered for your field parameters (good example) to expand the parameter table with more columns that contains extra columns where the the different order of fields might be named (country/class) and manufacturer/class and then use the grouping column from the parameter table in the visual and leave out the class column. Another option could be to change the slicer to multiselect and add class to the field parameter options - and then the order of which you select the fields will build the hierarchy in the visual
@HavensConsulting
@HavensConsulting 5 ай бұрын
Great examples as well to accompany this! It is nice to use them to select the hierarchy order for a visual :)
@alexrosen8762
@alexrosen8762 6 ай бұрын
Excellent example. Really useful to know in this type of situations 👌
@OneNI83
@OneNI83 6 ай бұрын
Voice and video are not synced.
@workstuff5253
@workstuff5253 6 ай бұрын
I've noticed this on a couple of videos from Reid.
@HavensConsulting
@HavensConsulting 6 ай бұрын
Separate mic/camera feeds which sometimes are off by about 100MS. Editor should catch that though.
@martinbubenheimer6289
@martinbubenheimer6289 6 ай бұрын
Nice! I'm currently working on exactly the same design decisions. The original solution without field parameters or calculation groups used a SWITCH pattern in the DAX code to switch between the measures. But this is too slow and has too much code duplication, But field parameters also have their challenges: If you switch measures and you want to sort the visual by such a measure, sorting is lost each time you switch. You also cannot use a field parameter as a visual level measure filter. And you cannot use calculation items that actually do numeric calculations on measures that return text which becomes tricky is you use measures that return a color for conditional formatting. So you really need to make the best decision on a case-by-case basis. My favorite pattern is to use calculation items only for context changes, like different data range, different relationship, since they work with every measure. And use field parameter or a SWITCH logic for the calculations depending on the requirements.
@HavensConsulting
@HavensConsulting 6 ай бұрын
Excactly, the "it depends" scenario. But this should help provide some people context of when to do what, and when :)
@businessinsights_AlexRobe
@businessinsights_AlexRobe 6 ай бұрын
Great video again, Reid! 🙏 To overcome the hierarchy issue in the right example, I always include ALL categories into the field parameter & slicer allowing the User to be in full control of the hierarchy he wants to build. As the sequence is defined by the selection sequence in the slicer - and sometimes he does not even want to have a hierarchy at all 🙂 Only downside IMO is a bit more real estate required for the slightly larger slicer
@HavensConsulting
@HavensConsulting 6 ай бұрын
Well said!
@MrGazpage
@MrGazpage 6 ай бұрын
Great video. Is there somewhere I can read more about using calculation groups like this? I was only aware of using them in a table with each column being a measure. Seems there is a lot more to them!
@HavensConsulting
@HavensConsulting 6 ай бұрын
I have a few videos that show some wacky use-cases. I'd recommend going to my channel page and searching "calculation groups" to find some of the streams and recorded videos I did :)
@nexus15000
@nexus15000 6 ай бұрын
Amazing video Reid!!!
@HavensConsulting
@HavensConsulting 6 ай бұрын
Thanks!!
@user-nz3yl7xf9j
@user-nz3yl7xf9j 6 ай бұрын
Calculation Groups having lots flexibility , you can write dynamic dax queries
@HavensConsulting
@HavensConsulting 6 ай бұрын
Both do honestly! That same DAX logic can be used in the measure, and the dynamic format measure, then switched between using a field parameter. It just depends on how localized you'd want to apply that logic, measure, visual, page, report. :)
@Nalaka-Wanniarachchi
@Nalaka-Wanniarachchi 6 ай бұрын
Nice case study...
Learning Advanced Text Filters with the DAX Query View
6:03
Havens Consulting
Рет қаралды 1 М.
Dynamic DAX Slicer Filter For New and Returning Customers
9:43
Havens Consulting
Рет қаралды 10 М.
Unveiling my winning secret to defeating Maxim!😎| Free Fire Official
00:14
Garena Free Fire Global
Рет қаралды 11 МЛН
wow so cute 🥰
00:20
dednahype
Рет қаралды 32 МЛН
КТО ЛЮБИТ ГРИБЫ?? #shorts
00:24
Паша Осадчий
Рет қаралды 3,8 МЛН
Level Up your Power BI Game with Field Parameters! (with Nikola Ilic)
1:15:04
Havens Consulting
Рет қаралды 2,6 М.
Variance Arrow in a Column/Bar Chart | Power BI Tutorials
6:12
Driven BI Data
Рет қаралды 2,5 М.
Creating a DAX Measures Table In Power BI Or Excel
10:00
Havens Consulting
Рет қаралды 20 М.
How to set up and use Calculation Groups in DAX | Power BI
12:36
Creating Report Tooltips in Power BI
5:25
Havens Consulting
Рет қаралды 15 М.
Changing Columns & Measures in Visuals Easily with Field Parameters!
13:24
Сделал из зарядного устройства нечто!
0:48