Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
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
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
18 | |
15 | |
11 | |
11 | |
8 |
User | Count |
---|---|
24 | |
18 | |
12 | |
11 | |
10 |