Forum Discussion
Atif
5 years agoResolver I
Filtered Total
Distribution = DIVIDE( DISTINCTCOUNT( Table1[Brand Availability]), CALCULATE( DISTINCTCOUNT( Table1[Store ID]), ALL(Table1))) This formula is working fine, as each value gets divided by the Total...
- 5 years ago
Thank you, DataInsights !
It is not displaying the exact percentages while using your formula. I will recheck later. Some filters are also applied, and it might be the cause.
I have already got the job done with a mere tweaking.
Distribution = DIVIDE( DISTINCTCOUNT( Table1[Brand Availability]), CALCULATE( DISTINCTCOUNT( Table1[Store ID]), ALL(Table1[Brand])))
DataInsights
5 years agoSuper User
Atif,
Try this measure. It uses ALLSELECTED, instead of ALL.
Distribution =
DIVIDE (
DISTINCTCOUNT ( Table1[Brand Availability] ),
CALCULATE ( DISTINCTCOUNT ( Table1[Store ID] ), ALLSELECTED ( Table1 ) )
)
- Atif5 years agoResolver I
Thank you, DataInsights !
It is not displaying the exact percentages while using your formula. I will recheck later. Some filters are also applied, and it might be the cause.
I have already got the job done with a mere tweaking.
Distribution = DIVIDE( DISTINCTCOUNT( Table1[Brand Availability]), CALCULATE( DISTINCTCOUNT( Table1[Store ID]), ALL(Table1[Brand])))