Forum Discussion
Excel formula to Dax
- 6 years ago
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.
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
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?
.
- AntrikshSharma6 years ago
Community Champion
You could use
COUNTX ( BankHolidays, NOT ISBLANK ( BankHolidays[End Date] ) )- Anonymous6 years agoNot applicable
hi AntrikshSharma ,
Apologies, I still need it to be similar to COUNTIF (BankHolidays,[End Date])>0) with the greater than 0.
In Power BI the End Date that refers to in the excel formula above is in table 2 and bank holiday day desc is table 1.
Thanks