Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hello everyone,
I have a map as a visualization.
Under location I used the customer's location. I have entered the customers under the legend (customer name).
This is linked to the representative in the report.
In other words, I have a preselection of 3 representatives. If I select John, only John and his customers will be shown on the map. How can I use a function to ensure that each of John's customers automatically receives the color red when assigned to him?
I have previously set the color of the bubbles manually, but I would like to change this to automatically in the future.
I would be grateful for your answers.
Solved! Go to Solution.
Hi @azaterol
You can create a measure. Presuming you have the Sales Rep in the Customer Dimension Table, create this measure
SalesRepColour =
SWITCH(SELECTEDVALUE('DIM Customer'[SalesRep]),
"John", "#FF0000",
"Tom", "#7ACA00")
Go to the Formatting Pane of the Visual > Bubbles > Colors > fx Format Sytle = Field Value Then choose the measure you created for the What field should we base this on
Hope this helps
Joe
If you found my answer helpful and it solved your issue, please accept as solution
Hi @azaterol
You can create a measure. Presuming you have the Sales Rep in the Customer Dimension Table, create this measure
SalesRepColour =
SWITCH(SELECTEDVALUE('DIM Customer'[SalesRep]),
"John", "#FF0000",
"Tom", "#7ACA00")
Go to the Formatting Pane of the Visual > Bubbles > Colors > fx Format Sytle = Field Value Then choose the measure you created for the What field should we base this on
Hope this helps
Joe
If you found my answer helpful and it solved your issue, please accept as solution
Thank you.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Ask questions in Eventhouse and KQL, Eventstream, and Reflex.
User | Count |
---|---|
85 | |
83 | |
66 | |
60 | |
57 |
User | Count |
---|---|
188 | |
111 | |
105 | |
78 | |
71 |