Forum Discussion
DAX Query With Switch & IF Condition Misbehaves - Power BI
Hey Anonymous ,
there are a few issues with your report.
Your slicer is filtering on the column 'pjrep MSP_EpmProject_UserView'[ProjectUID] that has 491 IDs.
You added the column with the color to the column 'PlannedPayment'[ProjectUID] that has 154 IDs.
That means you just defined a color for 154 IDs and in the report you can filter 491 IDs. So at least 337 IDs that you chose from the list don't have a color defined. For these colors the background will stay white.
For the color you chose the first value of the column COSTIndicatorColor. So if you have multiple values selected as you mentioned a random/the first color in the current selection will be chosen.
Hey Anonymous ,
could you fix your issues with the information from my last post?
I'm curious if you could solve this issue 🙂