Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
I have a stacked Bar Chart for my data across regions like this
I want to be able to change the color of the 'data inadequacies' stack to Red and ' No data inadequacies' stack to green.
I have made the data inaedquacies measure using the formula -
Count({$<[District missing] = {"District missing)"}>
+ <[PostalCode missing]={'PostalCode missing'}>
+ <[State missing]={'State missing'}>
+ <[Country missing]={'Country missing'}>
+ <[MapPoint missing]={'MapPoint missing'}>
}Region)
in Fx function under measure
and similarly for data adequacies as well.
How do I change the color of each stack then?
pick(match(Region,'Data Inadequacies','No data inadequacies'),red(),Green()) didnt work it just turned grey
Any help is appreciated!
Try this
Pick(Match(Only({1} Region),'Data Inadequacies','No data inadequacies'), Red(), Green())
Thanks Sunny
but it still remains Grey
Thank you! This helped!