Forum Discussion
rit_ty7
1 year agoAdvocate I
Help with DAX formula
Hello everyone, I want the below formula defined in a measure to group by month, but the dax'es I've tried is unable to group it by month. Hit_Rate%_15th = DIVIDE(COUNTROWS(FILTER('Placement S&OP...
Anonymous
1 year agoNot applicable
Hi, rit_ty7
Based on your information, I create a sample table:
Then create a new measure and try the following DAX:
Hit_Rate%_15th_Monthly =
CALCULATE(
DIVIDE(
COUNTROWS(FILTER('Table', 'Table'[Hit by 15th] = 1)),
COUNTROWS('Table'),
0
),
ALLEXCEPT('Table', 'Table'[Month])
)
Create a slicer visual, put Month in slicer visual. Here is my preview:
How to Get Your Question Answered Quickly
Best Regards
Yongkang Hua
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.