Forum Discussion
Percentage from first row
- 2 years ago
quickbi if you're wanting index 1 as your baseline to always compare to, make a measure that always shows index 1, no matter what index is in filter context:
[Customer Count - Index 1] =
CALCULATE ( Count(Table[Customer_id]) , Table[Index] = 1)Then you can create a measure to calculate the %:
[Customer Count - % of Index 1] =
DIVIDE( Count(Table[Customer_id]), [Customer Count - Index 1] )and format that as a percent.
quickbi if you're wanting index 1 as your baseline to always compare to, make a measure that always shows index 1, no matter what index is in filter context:
[Customer Count - Index 1] =
CALCULATE ( Count(Table[Customer_id]) , Table[Index] = 1)
Then you can create a measure to calculate the %:
[Customer Count - % of Index 1] =
DIVIDE( Count(Table[Customer_id]), [Customer Count - Index 1] )
and format that as a percent.
- quickbi2 years agoHelper II