Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
We have two condition here as mention below, in which we are getting expected output for first one but not for second in same table.
In grid table mentioned in pic. below we have compound_type column, the condition is
1. for column which do not have compound_type as Tread as per 'KPI' value are are sorting colors, and getting expected output,
Could you tell me if your problem has been solved? If it is, kindly Accept it as the solution. More people will benefit from it. Or you are still confused about it, please provide me with more details about your table and your problem or share me with your pbix file from your Onedrive for Business.
Best Regards,
Rico Zhou
The color will return when in value_if_false. I think this issue shouble be caused by the logic_test: Thread_count.
Try this measure:
Kpi_Color_Test =
VAR _OutPut = IF(Max(Table[compourd_type])<>"Thread",
IF([KPI]>0&&[KPI]<3,"Red",
IF([KPI]>3&&[KPI]<4.3,"Yellow",
IF([KPI]>=4.3,"Lime"))),
IF([KPI]>0&&[KPI]<3,"RED","Green")
)
If this reply still couldn't help you solve your problem, please share a sample with me. I need to know your data model. This will make it easier for me to update the measure.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |