Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hello guys! Let's see if you can help me.
I'm trying to do a conditional formatting based on specific values.
We have our production lines, and each line has to produce an amount per hour. At the end of the day, it must achieve the daily goal.
The actual operation is, I input my daily goal in a collumn, and it gives me what my rate per hour is, and each production line has its own rate. My conditional formatting is based on my rate per hour.
Here's an example:
Daily Goal =500 unit
Work Hours = 8,06
Rate = (500/8,06): 62
| Daily Goal | RATE | LINE | 18:00 | 19:00 |
| 500 | 62 | LIN0101 | ||
| 1500 | 186 | LIN0102 | ||
| 50 | 6 | LIN0103 |
If the value is below my rate it would be red, if it is equal or above, it would be green.
How can I use a value in one cell to consider as my reference on conditional formatting? Use one collumn as reference, and it can be changed every day.
The way I saw here, at conditional formatting, I'd have to input the value manually, but what I want is to give my daily goal, and it gives me my rate per hour.
*Couldn'd upload a photo here.
Thanks in advance for your attention
Edgar Barbosa
Solved! Go to Solution.
Hi @Anonymous
You may try to create a rule measure like below.Then use it in conditional formatting.
Rule = IF(SUM(Table2[18:00])>=SUM(Table2[RATE]),1,2)
Regards,
Hi @Anonymous
You may try to create a rule measure like below.Then use it in conditional formatting.
Rule = IF(SUM(Table2[18:00])>=SUM(Table2[RATE]),1,2)
Regards,
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.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 56 | |
| 40 | |
| 35 | |
| 19 | |
| 18 |
| User | Count |
|---|---|
| 70 | |
| 69 | |
| 38 | |
| 35 | |
| 23 |