Forum Discussion
Conditional Formatting based on rules with dynamic conditions from slicer selection
Keshavpooja in this case, i suggest you to create a calc column like below there you can define sepeate condition for market A and Other markets.
So you can code color green with 1 and yellow with 2 and red with 3 like below
below is the final output
i have attached the pbix file for your reference as well.
Hi negi007 ,
Thanks a lot for your quick help with a solution. I had a look at your pbix file.
In my case the market field is not available in the same table on which matrix is built on. Hence i could not build Calc.Column. The market field is coming from another table and there is a slicer on Market where the user selects the market and runs the report. In such case, how can we capture the market selected by the user inside the calculation logic that you have provided.