Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Is this possible?
This is what normally happens:
This is what I want to happen:
Background:
I have a R - Visual that accepts data points to draw a graph. It has to draw a graph that wil draw the filter selected data point in a different color. If the whole dataset is filtered the graph looks wonky. This way the first value of the "Selected" column can be used in R to identify the data point that has to be drawn in a different color.
Solved! Go to Solution.
Sure, create a table like this:
SlicerTable = DISTINCT('Table'[Name])
Make sure this is disconnected from any other tables. Use this in your slicer.
Create measure:
Selected = SELECTEDVALUE('SlicerTable'[Name])
Put that measure in your table visualization
Sure, create a table like this:
SlicerTable = DISTINCT('Table'[Name])
Make sure this is disconnected from any other tables. Use this in your slicer.
Create measure:
Selected = SELECTEDVALUE('SlicerTable'[Name])
Put that measure in your table visualization
I knew it had to be easy 😋
It's perfect!
I added to it to remind me if I perhaps selected more than one value
Thank you Greg!
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
23 | |
7 | |
7 | |
6 | |
6 |
User | Count |
---|---|
27 | |
12 | |
10 | |
9 | |
6 |