Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Required DAX For the Exclusive And Common Components

Hi all,

 I have  raw Data like below. Based on my selection (Slicer) , Need to Segregate the Commonly used and  Exclusively Used Components. I Have  Listed only 2 Main Items. in my case 1000s of Items are presented. Please suggest an idea.

Items.png

Thanks in Advance,

Vishnu Priya.

Status: New
Comments
v-chuncz-msft
Community Support

@AnilKumar 

 

You may use DISTINCTCOUNT to add a measure.

Measure =
SIGN ( DISTINCTCOUNT ( 'Table'[Main Item] ) - 1 )

 

AnilKumar
Helper II

Hi,

 

DistinctCount Will give me the actual MainItmes of that Component. Please see the snap where based on my selection in slicer "Config",  There may be  any number of Main Items. In these mainitems, what i need is, Exclusively used components like in Only 1 mainItme, in 2 MainItems, in 3 MainItems, in 4 MainItems.Screenshot (11).png

 

I Was unable to filter the visual with exclusive Items and  commonly used in 2/3/4 Main Items.

 

Thanks ,

Vishnu Priya.