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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Guido_Beulen
Helper I
Helper I

Using a dimension to highlight data across a report using several fact tables

Hello all, 

 

I have a interesting challenge. I have a Location dimension with buildings we're servicing. These buildings each have one Area Manager, but an Area Manager has several locations. My fact table data are linked to the locations (varying names, I am affraid, so several columns in the DIM).

 

What I want to do is highlight the 'part of the data' that is linked to that particular Area Manager. This can be coloring specific (rows) data in a normal table, highlighting a part of a Bar, or adding a line for service level development in a line chart (where the other line of lines would be 'dimmed' or 'greyed out'). What would be the best way to do this? I have a measure for SELECTEDVALUE([Area Manager]), but how would I apply this succesfully to all those visuals. If possible I would even like to be able to select other regions/Area's as well for comparison in for example the line or bar chart. 

 

  Best regards, Guido

1 REPLY 1
amitchandak
Super User
Super User

@Guido_Beulen , Not very clear, But you can create a measure based on SELECTEDVALUE([Area Manager]), and use that in conditional formatting

 

 

example

 

How to do conditional formatting by measure and apply it on pie?
https://www.youtube.com/watch?v=RqBb5eBf_I4&list=PLPaNVDMhUXGYo50Ajmr4SgSV9HIQLxc8L
https://community.powerbi.com/t5/Community-Blog/Power-BI-Conditional-formatting-the-Pie-Visual/ba-p/...
https://amitchandak.medium.com/power-bi-where-is-the-conditional-formatting-option-in-new-format-pan...

Colour =
SWITCH(TRUE(),
SELECTEDVALUE('Table'[Month Year]) = "Jan-2020", "red",
SELECTEDVALUE('Table'[Month Year]) < "Feb-2020", "orange",
//keep on adding
"green")

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Kudoed Authors