Forum Discussion
gio1082
Helper I
6 years agocreate slice
Hello, I have this table and I would like to create a slicer for an average of LAR . So if the average LAR is "greater than 96%" and "less than 96%" Thank you.
- 6 years ago
Hi gio1082 ,
Based on your desricption, I have defined the [Average of LAR] as a measure in my sample file like this:
Average = AVERAGE('Table'[Average of LAR])Modified the previous measure:
Measure = IF ( NOT ( ISFILTERED ( 'Slicer table'[LAR slicer] ) ), 1, IF ( SELECTEDVALUE ( 'Slicer table'[LAR slicer] ) = "greater than 96%", IF ( [Average] > 0.96, 1 ), IF ( SELECTEDVALUE ( 'Slicer table'[LAR slicer] ) = "less than 96%", IF ( [Average] < 0.96, 1 ) ) ) )Refer the sample file: Create a slicer.pbix
Best Regards,
Yingjie LiIf this post helps then please consider Accept it as the solution to help the other members find it more quickly.
Greg_Deckler
Community Champion
6 years agogio1082 - Complex selector - https://community.powerbi.com/t5/Quick-Measures-Gallery/The-Complex-Selector/m-p/1116633#M534