Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi All,
I have an apparently very simple task but I can't solve that.
I have a measure (Selected supervisor) which contains the actul value of a Swith () function (within multiple ISFILTERED () functions). I can display the acutal value in a Card without any issue.
I have a table of users, they have a SUPERVISOR ID columns. I want to use the actual value of the measure (Selected supervisor) filtering users in a Table visual (keep rows where Supervisor ID = value of Measure (Seleceted supervisor)).
How can I do that?
Thank you in advance!
Solved! Go to Solution.
I was able to solve the problem.
I created an additional measrue:
Matching Supevisor = IF(VALUES(USERS[Supervisor ID]) = [SELECTEDSupervisorID], 1,0)
Than I filtered Matching Supevisor to 1 and got the desired result.
Thank you for your help at all!
You can't add a measure as a slicer. You can add it in the filters pane though, but you need to be quite explicit on the value the measure has to be equivalent. For example Measure is ID 4, or Measure is not 4, Measure is > 4, etc.
Proud to be a Super User!
I understand that I cannot add measure as slicer. The Measure has only one 9 digit number as value (like 980211541) I want to use the actual value (which are changing based on user's interaction) to filter rows. I cannot add measure’s value to filter pane as value for Advanced filtering.
I need something like that:
SuperVisorID
Shows items when the value
is
[the actual value of the Measure]
You can only place a measure in the filter pane cards without referring to an explicit value in Top N type filters, otherwise is not possible.
Proud to be a Super User!
I was able to solve the problem.
I created an additional measrue:
Matching Supevisor = IF(VALUES(USERS[Supervisor ID]) = [SELECTEDSupervisorID], 1,0)
Than I filtered Matching Supevisor to 1 and got the desired result.
Thank you for your help at all!
Great approach!
Proud to be a Super User!
User | Count |
---|---|
85 | |
81 | |
64 | |
53 | |
46 |
User | Count |
---|---|
102 | |
49 | |
42 | |
39 | |
38 |