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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
New_worker
Helper II
Helper II

Conditional formatting

Hey, I am preparing the exam, and here is a question regarding conditional formatting. My answer is C, but I am not sure. Anyone can help? Thank you. 

 

You have a Power BI report that contains a table visual. The visual contains a column.
The column contains whole numbers ranging from of 1 to 20.
You need to use conditional formatting to meet the following requirements:
• Visually compare the values without having to read the text containing the number.
• Show a different format for each distinct value.
• Hide the numeric value of ColumnA.
• Minimize development effort.

Which formatting should you use?

  • A. font color
  • B. icons
  • C. data bars
  • D. background color
1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @New_worker 
C

The simplest way to compare values without showing the actual numbers (and ideally without using numbers at all) is by comparing rectangles that are stacked one on top of the other, starting from the same point. This way, even children can easily estimate the differences between them.

That's why the correct answer is C. 🙂

Ritaf1983_0-1729321770142.png

 

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

5 REPLIES 5
PavanLalwani
Resolver II
Resolver II

The correct answer is **D. Background color**.

Here's why:
- **Background color** allows you to visually compare values by color-coding them without displaying the numbers, which meets the requirement to hide the numeric values.
- You can assign a **different background color for each distinct value** (from 1 to 20).
- It's a straightforward, low-effort solution in Power BI's conditional formatting options.

While icons or data bars are useful, they don't hide the numeric values, so **background color** fits all the conditions.

divyed
Super User
Super User

Hello @New_worker ,

 

The correct option is C using Data Bars due to following reason :

 

• Visually compare the values without having to read the text containing the number.

   One can easily compare value from size/length of the the bar, no need to read text
• Show a different format for each distinct value.

   You can choose different bar colors of your choice and even apply dynamic formatting. Each bar is a distinct     value
• Hide the numeric value of ColumnA.

   You can hide and show labels as per need 
• Minimize development effort.

   Showing data bars removes creating separate charts to answer the same. One chart can have many features

 

I hope I answered your questions. If you find this usefull, please mark this as solution. Will appreciate Kudos :).

 

Cheers

LinkedIn : https://www.linkedin.com/in/neeraj-kumar-62246b26/

Hi @divyed , 

 

Thanks for your reply. Could you explain more about this item? How to choose different color for differnt values? 

Show a different format for each distinct value.

   You can choose different bar colors of your choice and even apply dynamic formatting. Each bar is a distinct  value

New_worker_0-1729386560972.png

 

Hello @New_worker ,

 

You need a combination of conditional formatting and there is no direct way (I should have written in last comment) .

 

1. Use conditional formatting to set data bars. Use can choose colors for positive and negative value

2. Use conditional formatting to choose background/font color , this can be done either using

field value or rules.

 

Alternatively you can create custom bars (using clustered bar chart or similar) and format as per you need.

 

divyed_0-1729407747142.png

 

 

I hope this helps.

 

Cheers

LinkedIn : https://www.linkedin.com/in/neeraj-kumar-62246b26/
Ritaf1983
Super User
Super User

Hi @New_worker 
C

The simplest way to compare values without showing the actual numbers (and ideally without using numbers at all) is by comparing rectangles that are stacked one on top of the other, starting from the same point. This way, even children can easily estimate the differences between them.

That's why the correct answer is C. 🙂

Ritaf1983_0-1729321770142.png

 

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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