Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Solved! Go to Solution.
Hi @bcbuckley13
There's 2 answers to this. There are actually 5 Yes in the Two Champions column
If you want that then create a mesure like this
Yes Count = CALCULATE(COUNTROWS('Badges'),FILTER('Badges', 'Badges'[Two Champions] = "Yes" ))
But if you want a distinct count of store ID's with a Yes then use this - the answer is 2
Yes Count = CALCULATE(DISTINCTCOUNT('Badges'[Store ID]),FILTER('Badges', 'Badges'[Two Champions] = "Yes" ))
Regards
Phil
Proud to be a Super User!
Hi @bcbuckley13
There's 2 answers to this. There are actually 5 Yes in the Two Champions column
If you want that then create a mesure like this
Yes Count = CALCULATE(COUNTROWS('Badges'),FILTER('Badges', 'Badges'[Two Champions] = "Yes" ))
But if you want a distinct count of store ID's with a Yes then use this - the answer is 2
Yes Count = CALCULATE(DISTINCTCOUNT('Badges'[Store ID]),FILTER('Badges', 'Badges'[Two Champions] = "Yes" ))
Regards
Phil
Proud to be a Super User!
Hi @bcbuckley13
Can you please provide some sample data.
regards
Phil
Proud to be a Super User!
Hi @bcbuckley13,
You could directly put the column in a table field >choose "count" or "discount",and you will see the value you need:
Check the .pbix file attached if needed.
Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!