Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I have a Matrix visual that shows percentage % in Qtuarterly and monthly in Excel as bolow and I have applied gradient colounr in Excel like below.
this pictures indicates that after completion of Quarter it should show Gray colour in coloumn and remaining coloums the gradient colour should be applied.
like same for months also.
I have used the below DAX measure to set a Field Value in Conditional Formating.
I used below measure and it is worked
Hi @DanduMani104 ,
When using field conditional formatting, the gradient does not take effect directly, you have to refine the DAX gradient yourself.
Best regards,
Community Support Team_ Scott Chang
Hi, Soory for asking..
I can't understaand, Could you please explain how can we do that
Hi @DanduMani104 ,
This would be more complicated, for example, if the whole was 100, 0-10 would be one color, 10-20 would be another, and so on.
Apply conditional table formatting in Power BI - Power BI | Microsoft Learn
Best regards,
Community Support Team_ Scott Chang
How can I convert above DAX measure using SWITCH function.
How can I convert above DAX measure using SWITCH function.
Hi @DanduMani104 ,
Try changing the IF statement to a SWITCH statement, as the IF statement may have dependencies that cause conditions to not match exactly.
SWITCH function (DAX) - DAX | Microsoft Learn
Hope it helps!
Best regards,
Community Support Team_ Scott Chang
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
11 | |
9 | |
8 | |
8 | |
7 |
User | Count |
---|---|
14 | |
12 | |
11 | |
10 | |
9 |