Forum Discussion
Color column conditions
- 5 years ago
Hi POWER_MI ,
You can create a table like :
Then use the following measure :
Measure 2 = CALCULATE(COUNTA(COLOR_FIELD_TO_ADD[Coulumn]),FILTER(COLOR_FIELD_TO_ADD,NOT(ISERROR(FIND(COLOR_FIELD_TO_ADD[Coulumn],MAX('Table'[ROWS]))))))Set background color for [measure2] by field [colorformat]:
For more details, please refer to the pbix file: https://qiuyunus-my.sharepoint.com/:u:/g/personal/pbipro_qiuyunus_onmicrosoft_com/EYCIfcnfrjNKoZ4x1HCEzPkB5QOxQggIjQVIQdbaS7p3cQ?e=tdyg3j
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Best Regards,
Dedmon Dai
hi amitchandak
Column "Measure_1_NBR_R2" in table "Table" could not be found and is not used in this expression.
Column "Measure_1_NBR_R1" in table "Table" could not be found and is not used in this expression.
Column "Measure_1_NBR_R3" in table "Table" could not be found and is not used in this expression.
Hi amitchandak
i send error when doing with swhich is not blanck.
to be clear
The begening condition is to color windows of values witch is the number of 'R1, nmber of R2 at differents step:
So the if condition will be
If Step 1 and status R1 the color of values "Number of R1 will be RED.
the number of R1 is calcultated with mesure
Mesure_1_NBR_R1