Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello,
I have a table with employees data: Emp.ID, salary, average salary.
Emp.ID | Salary | Group Average Salary |
100 | 1200 | 1500 |
180 | 1500 | 1800 |
230 | 2000 | 1700 |
I would like to present a visualization chart with the option to search for a specific "Emp.Id" and present only its' employee "salary" and "group average salary" NOT within all other employees' data.
E.g.
I would like to search for Emp.Id 180
And present a clustered column chart with salary 1500 and average salary 1800:
How to do it?
Solved! Go to Solution.
Use a slicer for searching Emp.ID
Then write two measures
Salary=selectedvalue('Table'[Salary])
GroupAvgSalary= selectedvalue('Table'[Group Average Salary])
Use these measures in clustered column chart's values field.
Did I answer your question? Mark my post as a solution!
Appreciate with a kudos 🙂
Use a slicer for searching Emp.ID
Then write two measures
Salary=selectedvalue('Table'[Salary])
GroupAvgSalary= selectedvalue('Table'[Group Average Salary])
Use these measures in clustered column chart's values field.
Did I answer your question? Mark my post as a solution!
Appreciate with a kudos 🙂
Emp.Id - type number.
In slicer, I need to have a search and it works only with text.
Is there an option to use your solution via table and not slicer ?
You can use this slicer for searching a number https://appsource.microsoft.com/en-us/product/power-bi-visuals/WA104380859?tab=Overview
Thanks a lot! It worked.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
98 | |
80 | |
64 | |
57 |
User | Count |
---|---|
145 | |
110 | |
91 | |
84 | |
66 |