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
oakfootballclub
Helper IV
Helper IV

how to add condition format to different values when added column in matrix

Hi experts, I created a dimension table as column name of matrix, and created switch true measure as value, but I need to add icons only to % values, when I added the icon, all columns shows, how to set in order to only the % columns has the arrow icons?

dimension table as column header

oakfootballclub_0-1718359615775.png

 

measure I created:

value=

SWITCH(SELECTEDVALUE(dim_2Y[num]),
1,IF(ISBLANK([cal_amount_FYTD_PreviousM_FY-1]),"-",[cal_amount_FYTD_PreviousM_FY-1]),
2,[cal_amount_FYTD_PreviousM_Increase%_Y-1],
3,[cal_amount_FYTD_PreviousM],
4,FORMAT([cal_amount_FYTD_PreviousM_Increase%_Y], "Percent")
)
 

all columns show the arrow icons

oakfootballclub_1-1718359615946.png

here is the matrix I created:

oakfootballclub_0-1718359765457.png

 

 

expected result: only the percent value column has the arrow condition formatting

oakfootballclub_2-1718359663659.png

 

 

1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @oakfootballclub 

You cannot format these columns separately because there is only one "Measure" to base the styling on.

Therefore, either you also need to add the arrows with DAX, or give up on the whole dynamic measure thing and do it the simple way with 2 measures.

Ritaf1983_0-1718439896454.png

The pbix with the example is attached

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

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

View solution in original post

1 REPLY 1
Ritaf1983
Super User
Super User

Hi @oakfootballclub 

You cannot format these columns separately because there is only one "Measure" to base the styling on.

Therefore, either you also need to add the arrows with DAX, or give up on the whole dynamic measure thing and do it the simple way with 2 measures.

Ritaf1983_0-1718439896454.png

The pbix with the example is attached

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

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

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors