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.

Reply
dk_24
Helper I
Helper I

Peer to peer comparision

Hi All,

 

how to hilight the pariticular row in a table based on the slicier selections ?

in the below screenshot , if i selected "India" in slicer , need to hilight that particular india row in below table instead of filtering.

how to achive this ? /is there any workaround for this. any help is much appriciated.

please find the below screen shot

 

Sample requirement.png

1 ACCEPTED SOLUTION
v-caliao-msft
Employee
Employee

@dk_24,

 

Currently, there is no such a function to achieve this requirement.

 

To work around this, we can create a measure to check if current item is selected in slicer. Then add this measure to your visual and conditional format this measure.

Measure =
var selecteditem = IF(HASONEFILTER(Slicer[Slicer]),LASTNONBLANK(Slicer[Slicer],1),BLANK())
return IF(ISERROR(SEARCH(MAX(Sales[Group]),selecteditem)),0,1)
Capture.PNGCapture1.PNGCapture2.PNG

 

Regards,

Charlie Liao

View solution in original post

3 REPLIES 3
v-caliao-msft
Employee
Employee

@dk_24,

 

Currently, there is no such a function to achieve this requirement.

 

To work around this, we can create a measure to check if current item is selected in slicer. Then add this measure to your visual and conditional format this measure.

Measure =
var selecteditem = IF(HASONEFILTER(Slicer[Slicer]),LASTNONBLANK(Slicer[Slicer],1),BLANK())
return IF(ISERROR(SEARCH(MAX(Sales[Group]),selecteditem)),0,1)
Capture.PNGCapture1.PNGCapture2.PNG

 

Regards,

Charlie Liao

Hi Charlie Liao,

 

Can we implement this whitout extra slicer table.why because i have multiple visulizations on the same page. i have to give single slicer to all the visulazations to filetr in the page.

 

Req.png

Thanks,

Koti.

 

Thanks Charlie Liao, for workaround solution.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.