Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Srikanth_reddy
New Member

Conditional Formatting for Filed parameters

Hi Everyone, 

Below is the Line and clustered cloumn chart,  In x-axis i am using "days remaing in a month"  
In cloumn y- axis i am using order/sales filed parameter and in Line Y-axis i am using the vs prev year , vs forecast , vs AOP field parameter. 
So my requriment is to do conditonal formatting the bars should show in orange color when bars are below the trend line and above trend line it should as blue color. 
it should be dyanmic changed. 

Srikanth_reddy_0-1750260675943.png

Srikanth_reddy_1-1750261825341.png

pls let me know how to achieve the conditinoal formatting for the bars shown in the pic 

 

thanks in advance 

 

1 ACCEPTED SOLUTION
Srikanth_reddy
New Member

Couldn't achieve the Conditonal formatting using Field parameters, as an alternate approach i have created two calcualted tables with the 3 mesures name and used Switch function to calcualte the measure. I have used the column in the slicer and mesaure in the visual. simialry for the 2 measures as well. For conditonal formatting to apply  i have the compared the two measures which gave me the expected result. 

thanks for the help !

View solution in original post

4 REPLIES 4
Srikanth_reddy
New Member

Couldn't achieve the Conditonal formatting using Field parameters, as an alternate approach i have created two calcualted tables with the 3 mesures name and used Switch function to calcualte the measure. I have used the column in the slicer and mesaure in the visual. simialry for the 2 measures as well. For conditonal formatting to apply  i have the compared the two measures which gave me the expected result. 

thanks for the help !

Hi @Srikanth_reddy,

 

Thank you for the response and confirming that your issue is resolved. I kindly request you to accept the post as "Accept as Solution" so that other community members who has similar issue will find it more easily.

 

Thank you for being part of Microsoft Fabric Community.

 

Thanks and regards,

Anjan Kumar Chippa

v-achippa
Community Support
Community Support

Hi @Srikanth_reddy,

 

Thank you for reaching out to Microsoft Fabric Community.

 

Thank you @Ritaf1983 for the prompt response.

 

As we haven’t heard back from you, we wanted to kindly follow up to check if your issue is resolved? 

If not please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
Do not include sensitive information. Do not include anything that is unrelated to the issue or question.
Please show the expected outcome based on the sample data you provided.

Need help uploading data? https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-....

Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447....

 

Thanks and regards,

Anjan Kumar Chippa

Ritaf1983
Super User
Super User

Hi @Srikanth_reddy 

Can you please share a pbix or some dummy data that keep the raw data structure with expected results? It should help us clarify your scenario and test to coding formula.

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.