The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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!
User | Count |
---|---|
28 | |
11 | |
8 | |
6 | |
5 |
User | Count |
---|---|
35 | |
14 | |
12 | |
9 | |
7 |