This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Dear Community,
I have 2 table, 'Client_table' and 'Allocation_weekly'.
Details for client table:
'week' is the new column with DAX
week = WEEKNUM(Client_table[Date],2)For Allocation weekly table, is just show the client rank and their weekly allocation TEU.
I have link a relationship between this two table and created a matrix table on it. But I quite frustrate because I cant set the background color based on the weekly allocation. But this can be easily did in it excel.
Like when week 3 of client adidas had surpass the allocation target, it will show in green. If not, will show in yellow.
I had tried the conditional formatting and based on the field weekly allocation.
But its require to set the min and max, and for my case, different client have different target.
Thank for your attention.
And here's the pbix: https://drive.google.com/drive/folders/141b2JyAoFjFR3tGU9kQsyunZMl5yeHk9?usp=sharing
Solved! Go to Solution.
Hello @NickProp28 ,
You need to write a measure for defining the color code. A sample example is below:
You can use hex codes as well.
And use it in the conditional formatting:
Result:
Cheers!
Vivek
Blog: vivran.in/my-blog
Connect on LinkedIn
Follow on Twitter
Hello @NickProp28 ,
You need to write a measure for defining the color code. A sample example is below:
You can use hex codes as well.
And use it in the conditional formatting:
Result:
Cheers!
Vivek
Blog: vivran.in/my-blog
Connect on LinkedIn
Follow on Twitter
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 32 | |
| 26 | |
| 23 | |
| 22 | |
| 15 |
| User | Count |
|---|---|
| 63 | |
| 45 | |
| 28 | |
| 24 | |
| 22 |