Forum Discussion
Icon Conditional Formatting and Calculation Groups using Field Values
- 2 years ago
Ok I think I have discovered the root cause.
Because the underlying measure is originally of a type that is Integer, it is not adjusting to the type String that the Calculation Group is adjusting it to. And a field value source requires a measure to have a type of String.
So if I convert the measure to output a string initially and then do the switch on that through the Calculation Group it is now selectable.
So the problem is that the measure maintains it's original Data Type even if the Calculation Group is changing the output.
Hi Ashes ,
When you mix calculation groups with condittional formatting everything works differently.
Check the videos below for explanation on what is happening and how to solve it.
https://www.youtube.com/watch?v=Y3d5CrVbbis&list=PLiYSIjh4cEx2s8-jXBhv5aCu5_6F9zQ3I&index=4
https://www.youtube.com/watch?v=YU5nddHQ-oo&list=PLiYSIjh4cEx2s8-jXBhv5aCu5_6F9zQ3I&index=8
- Ashes2 years agoFrequent Visitor
Thanks for the vids. Unfortunately they didn't seem to address the issue I am experiencing, where I am unable to select a measure tweaked by the Calculated Group for a Field Value option for Icon Conditional Formatting, but is selectable as a Rule input to the Icon Conditional Formatting (just can't be used there because it doesn't contain values).
Effort to provide them appreciated though.- MFelix2 years ago
Super User
Hi Ashes ,
Can you please share a mockup data or sample of your PBIX file. You can use a onedrive, google drive, we transfer or similar link to upload your files.
If the information is sensitive please share it trough private message.- Ashes2 years agoFrequent Visitor
It seems I can't share files from where I am employed. So I'll create an example of the scenario with some mockup data under my personal account later on.