Forum Discussion
Color based on slicer selection, Scatter chart
- 4 years ago
Spartacus91 create a separate table for the slicer value and it will not have any relationship with your main table. Write the following measure for the color and then use it in the conditional formatting:
Selected Color = IF ( SELECTEDVALUES ( SlicerTable[Slicer Column] ) = MAX( YourTable[YourColumn] ), "Red" )β¨ Follow us on LinkedIn
Check my latest blog post The Power of Using Calculation Groups with Inactive Relationships (Part 1) (perytus.com) I would β€ Kudos if my solution helped. π If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!
β‘ Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.β‘
Spartacus91 create a separate table for the slicer value and it will not have any relationship with your main table. Write the following measure for the color and then use it in the conditional formatting:
Selected Color = IF ( SELECTEDVALUES ( SlicerTable[Slicer Column] ) = MAX( YourTable[YourColumn] ), "Red" )
β¨ Follow us on LinkedIn
Check my latest blog post The Power of Using Calculation Groups with Inactive Relationships (Part 1) (perytus.com) I would β€ Kudos if my solution helped. π If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!
β‘ Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.β‘