Forum Discussion
matts29
2 years agoFrequent Visitor
division/percentage
Hi Can someone help please? I have a column (column a) contains rows of the value = 1 or 2 or 3. I would like to have the percentage displayed in a card where Column a ( equals 2 and 3) / Colum...
- Anonymous2 years ago
Hi matts29
Try the following dax
Percentage of 2 and 3 = DIVIDE( COUNTROWS(FILTER('Table', 'Table'[value] = 2 || 'Table'[value] = 3)), COUNTROWS('Table'), 0 ) * 100This is the result you want
Best Regards,
Jayleny
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
2 years agoNot applicable
Hi matts29
Try the following dax
Percentage of 2 and 3 =
DIVIDE(
COUNTROWS(FILTER('Table', 'Table'[value] = 2 || 'Table'[value] = 3)),
COUNTROWS('Table'),
0
) * 100
This is the result you want
Best Regards,
Jayleny
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- matts292 years agoFrequent Visitor
great thats amazing 🙂