Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
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.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
User | Count |
---|---|
12 | |
11 | |
9 | |
8 | |
8 |