Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
Hi and good day to all,
Can someone help me on my new calculated column. I have a table with column scope, % materials, Budgeted hrs, Treade and Hour Equevalent. Basically what i want to achieved is
Table:
Desired Output
Thank you
Solved! Go to Solution.
Hi @AllanBerces - You can create the calculated column for "Hour Equivalent" in Power BI using DAX.
Please check and i hope it works at your end.
Proud to be a Super User! | |
Hi @rajendraongole1 @divyed @DataNinja777 thank you very much for the reply, I tried all your solution and it's perfectly.
Hello @AllanBerces ,
You can try below dax :
Please modify table and field names or let us know in case you want differenyt result.
Cheers
Hi @AllanBerces ,
Your requirement can be easily handled with a calculated column in Power BI using the DAX formula below similar to the Excel example you produced:
Hour Equivalent =
SWITCH(
TRUE(),
'YourTable'[Trade] = "Scaff", 'YourTable'[Budgeted hrs],
ISBLANK('YourTable'[% Materials]), 'YourTable'[Budgeted hrs],
'YourTable'[% Materials] * 'YourTable'[Budgeted hrs]
)
Best regards,
Hi @AllanBerces - You can create the calculated column for "Hour Equivalent" in Power BI using DAX.
Please check and i hope it works at your end.
Proud to be a Super User! | |
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
90 | |
82 | |
57 | |
41 | |
39 |