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,
I wonder if you might be able to help. I am trying to work out a way in PowerBi to return the result in the yellow column below...such as...if the "type" is an employee return a value of zero but if the "type" is a contractor turn the value in the "hours" column.
Thank you,
Sean
Solved! Go to Solution.
Hi @sean123,
It's an easy one - you can solve your case with a calculation column like this:
Contractor Hours = IF ( [Type] = "Contractor", [Hours], 0 )
Best Regards,
Alexander
Thank you Barritown, worked lovely!
All the best,
Sean
Hi @sean123,
It's an easy one - you can solve your case with a calculation column like this:
Contractor Hours = IF ( [Type] = "Contractor", [Hours], 0 )
Best Regards,
Alexander
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 |
---|---|
21 | |
20 | |
17 | |
15 | |
14 |
User | Count |
---|---|
43 | |
36 | |
25 | |
22 | |
19 |