Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
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! | |
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 48 | |
| 45 | |
| 41 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 69 | |
| 64 | |
| 32 | |
| 31 | |
| 27 |