The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hello,
Iam looking to calculate salaries after bonuses have been allocated.
Bonuses must be defined by the final user in power BI.
For this, I generated a series of 0 to 20% that I want to assign to each employee and then use a slicer to define the bonus that I want to assign to each employee.
The slicer must only act on the line of the employee in question (how to do ? ).
once defined, the new salary including the bonus must be calculated automatically.
Looking forward to hearing from you!
THANK YOU !
Hi, @BEN501,
If you have a small number of employees, it can be done in Power BI directly. For a larger number of employees, you would need to employ power apps. Either using just an power app, or embedd a power app in your power bi report.
It is unclear what you mean by final user. If you mean you are the only one allowed to adjust the slicers, while other users should see the same report, but not be able to use the slices, you would have to use object lever security. But it will not be pretty, the other users will get a box saying the visual is broken.
Cheers,
Sturla
If this post helps, then please consider Accepting it as the solution. Kudos are nice too.
@sturlaws Hey thank you for the reply!
would you please implement the solution using power automate in power BI that i can see how it works. You can do it for 2 or 3 persons and share the result with me please ?
The use case is: As an "HR manager" user, I must be able, from the BI report, to select/define the Bonus percentage for each employee and to see calculated automatically the new salary/employee integrating the bonus in order to be able to follow the budgetary bonus envelopes and payroll.
The case will cover 200 to 300 employee. So the solution has to be handled automatically via a function.
Thanks!
Ben
For that many users it is not doable, as you would have to create a slicer for each user, and it won't be dynamic
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
76 | |
65 | |
52 | |
51 |
User | Count |
---|---|
128 | |
117 | |
78 | |
65 | |
63 |