The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hello!
I'm wondering if it's possible to highlight weekend on X-axis (see e.g. screenshot). I appreciate if somebody could share suggestions how to achieve this. Google doesn't help at the moment 😞
Thanks!
Solved! Go to Solution.
Hi,
According to your description, i think you can not change part of X axis data's color, but i have a workaround:
Please create a color check measure to change values' color:
Color Check = IF(WEEKDAY(SELECTEDVALUE('Table'[Date]),1)=1||WEEKDAY(SELECTEDVALUE('Table'[Date]),1)=7,"#FF0000")
Then apply it to data values' conditional format:
And it shows:
Hope this helps.
Best Regards,
Giotto Zhi
Hi,
According to your description, i think you can not change part of X axis data's color, but i have a workaround:
Please create a color check measure to change values' color:
Color Check = IF(WEEKDAY(SELECTEDVALUE('Table'[Date]),1)=1||WEEKDAY(SELECTEDVALUE('Table'[Date]),1)=7,"#FF0000")
Then apply it to data values' conditional format:
And it shows:
Hope this helps.
Best Regards,
Giotto Zhi
User | Count |
---|---|
69 | |
69 | |
66 | |
54 | |
28 |
User | Count |
---|---|
112 | |
82 | |
66 | |
48 | |
43 |