Forum Discussion
Excel formula to Dax
Hi,
Could somebody help me with translating my two excel formulas in dax?
I've already calculated my workingdaysflag column which already has bank holidays incorporated.
Hi Anonymous ,
I am not clear about your requirement, you could refer to my sample for details. If this is not waht you want, please correct me and inform me more detailed information(such as your expected output and your sample data )? Then I will help you more correctly.
Please do mask sensitive data before uploading.
Thanks for your understanding and support.
Best Regards,
Zoe ZhiIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
9 Replies
- AntrikshSharma
Community Champion
COUNTX( BankHolidays, BankHolidays[End Date] > 0 )For NETWORKDAYS here is solved post. https://community.powerbi.com/t5/Desktop/equivalent-function-of-Networkdays-in-DAX/td-p/245103
- AnonymousNot applicable
Thanks for that. Regarding the
COUNTX( BankHolidays, BankHolidays[End Date] > 0 )My bank holiday column just has a name for bank holiday description and if its not then Its blank. Would this be done in a different way to count instead of countx?
.
- AntrikshSharma
Community Champion
You could use
COUNTX ( BankHolidays, NOT ISBLANK ( BankHolidays[End Date] ) )
- amitchandak
Super User
Anonymous , refer to this file on 2nd page how working to get working day
https://www.dropbox.com/s/y47ah38sr157l7t/Order_delivery_date_diff.pbix?dl=0
- AnonymousNot applicable
- dax
Community Support
Hi Anonymous ,
I am not clear about your requirement, if possible could you please inform me more detailed information(such as your expected output and your sample data)? Then I will help you more correctly.
Please do mask sensitive data before uploading.
Thanks for your understanding and support.
Best Regards,
Zoe ZhiIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.