Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello people,
I have doubts about how to create a dax function that changes only with month \ year, to highlight in the table only the tickets that were above the average month \ year.
In this screen printed below, the month of March had three tickets resolved that totaled 25.95 days and an average of 8.65 days per ticket.
In the table, only the 1st ticket lasting 12.21 days should be colored.
Is there a way to do this?
Solved! Go to Solution.
Hi Greg, the rule would be:
IF (Duration (Days) > Average of Duration (Days), "Red", "Green")
So what is the rule that it should be highlighted?
Hi Greg, the rule would be:
IF (Duration (Days) > Average of Duration (Days), "Red", "Green")
Hi there.
Here's your solution. Please adjust it to your needs.
Conditional Formatting based on Monthly Avg
Here's the file:
https://1drv.ms/u/s!ApyQEauTSLtOgYM_8lY01MNux79mvw?e=LOxfiX
Best
D
Thank you very much @Anonymous,
That was exactly what I was needing.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 6 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 16 | |
| 8 | |
| 7 | |
| 7 |