Switching “OR” to “AND” Reasoning getting Stamina BI Slicers

Switching “OR” to “AND” Reasoning getting Stamina BI Slicers

Goal: Create the required calculated areas to evolve “OR” so you can “AND” reason for Fuel BI slicers (indigenous slicer while the hierarchySlicer).

I was playing with Strength BI to own 6 months now. Particularly prior BI tools I have tried personally, several cheats help to changes relatively hopeless providers conditions toward very pleased responses:

A couple of months before, I was questioned to change this new reasoning in this a custom visual, the fresh hierarchySlicer, out-of appearing investigation predicated on “OR” reason so you’re able to proving studies predicated on “AND” logic. Immediately following a bit of research and many effort, I am happier that your expected cheat has been discovered!

Borrowing the text of Deprive Collie: The greater amount of you choose, the greater your “get”. Since you select way more items in your own slicer, Electricity BI shows this new connection of your data and/or collection of directory of circumstances came across from the deciding on the slicer facts. With each even more slicer items picked, the complete pieces of data sliced develops.

Long lasting company specifications could be, at the conclusion of the afternoon you want to determine which professionals in the a group possess common features. We would like to would an enthusiastic intersection of the study. Very what if that we are shopping for once you understand and that countries’ flags are similar to each other predicated on color and you can information. We’re going to present this that have one or two some other Fuel BI slicers:

If the contents of new slicer was selected in addition to quantity of things selected for the slicer is equal to what amount of selected parameters for a nation, show the latest regions

  1. Indigenous slicer
  2. hierarchySlicer

I would like to end up being transparent regarding how the information and knowledge is actually organized getting duplicating this method. I restructured UCI’s Flags Research Place to your a few some other tables, that holding the world advice (countryInfo) additionally the almost every other holding the fresh new flag pointers (flagInfo). countryInfo’s prie of the nation and you can very important metrics for example city, populace, language, etcetera. live-in so it dining table. The fresh new changeable and detail flag data is a good hierarchical construction, which lives escort sites Hillsboro OR in flagInfo. countryInfo and you may flagInfo keeps a single to several relationships toward identity of the nation. When repeated this for the study put, build an identical structure to be certain correct overall performance.

If items in brand new slicer have been chosen while the amount of activities chosen for the slicer are equivalent to how many chose details to possess a country, let you know the fresh new places

  1. Counts exactly how many products chose about slicer

Description: In the event that no points was chose regarding slicer, tell you every regions. When the contents of the slicer had been selected and also the number of circumstances picked to your slicer is comparable to the amount of chosen colors to possess a nation, reveal the fresh new places.

Description: Filter out the world dining table just where PBISlicer Examine is true. Toward blocked dining table, matter the latest rows of your table.

When creating the genuine dash, you will want to make certain the fresh slicer’s “AND” logic effects the dashboard pictures.

The most important thing to notice for this example would be the fact we keeps a couple of tiered logic in hierarchy. On top top, And you may reason is applicable (web browser. Want countries’ flags where info try symbol Or information try quarters). We are going to carry out five determined strategies that will list of positive actions:

In the event the items in the fresh new slicer had been chose therefore the number of situations chose to the slicer try equal to what amount of chose details for a nation, let you know the brand new nations

  1. Matters what number of factors chose on the slicer

Description: Filter out the nation desk just where HierarchySlicer See is valid. Toward blocked table, count the newest rows of your own dining table.

Description: Filter the world table simply in which HierarchySlicer Check is valid. Toward filtered desk, determine the whole people.

When designing the genuine dashboard, you should ensure that the fresh new slicer’s “AND” reason effects all dashboard layouts. Reference the aforementioned situation in order to make the prior cards and you may dining table visualizations.

  • I would not advocate which have several ‘AND’ reasoning slicers for a passing fancy dash, as you can imagine the brand new reasoning towards the ‘Check’ DAX calculations can be very tricky quickly.
  • Also, I’d not endorse that have numerous ‘AND’ reason slicers on a single dashboard since this can result in less than perfect performance when i had receive while using the 2 ‘AND’ reasoning hierarchySlicers in the same dashboard.
  • Do loads of quality assurance in your study efficiency!

Wanted countries’ flags in which you’ll find details And you will band), while you are at the bottom top, Otherwise reasoning is applicable (internet explorer

There are numerous alternative methods you could incorporate the new ‘AND’ reasoning DAX equations (ie. playing with details, breaking the data up alot more, etcetera.). This is the method one struggled to obtain myself and you may scaled better when you look at the production. The knowledge, study reorganizing code, and you may PBIX document regarding article can be found here. For those who have any questions or applying for grants the fresh new session, please touch base on the comments below or courtesy Myspace. And additionally, if you would like for additional information on Seismic App and how exactly we use Microsoft’s Strength BI, visit us.

Deixe uma resposta

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *