Forum Discussion
Anonymous
6 years agoNot applicable
DAX Measure from Excel Formula
Hi, Would someone know how I can convert my Excel formula to DAX? It's already 2 weeks, I tried every COUNT formula in PowerBI but no luck. Any suggestion is appreciated. Thank you! =COUNTIFS('S...
- 6 years ago
Anonymous , it would something like
countx('Scorecard-All', if('Scorecard-All' [H]>.03 && 'Scorecard-All'[C] > time(,2,0)),'Scorecard-All'[J] )/count('Scorecard-All'[J] )
Can you share sample data and sample output in table format?
Greg_Deckler
6 years agoCommunity Champion
Anonymous - You may find this helpful:
https://community.powerbi.com/t5/Community-Blog/Excel-to-DAX-Translation/ba-p/1060991
You generally replace COUNTIF with a COUNTX statement or a CALCULATE statement.