Forum Discussion
Chart for multiple boolean columns
- 6 years ago
Hi danielec ,
As Greg_Deckler said above, boolean can be a bit of a PITA in measures.
If you are able to convert your data to text the following measure should work fine for each activity:_activity1qty = CALCULATE( COUNT('table'[Activity 1]), 'table'[Activity 1] = "TRUE" )Once you have the three measures, stick them in a stacked column like this:
Stacked Column Chart - three measures all in 'Values', Day in 'Axis'
Hi danielec ,
As Greg_Deckler said above, boolean can be a bit of a PITA in measures.
If you are able to convert your data to text the following measure should work fine for each activity:
_activity1qty =
CALCULATE(
COUNT('table'[Activity 1]),
'table'[Activity 1] = "TRUE"
)
Once you have the three measures, stick them in a stacked column like this:
Stacked Column Chart - three measures all in 'Values', Day in 'Axis'
- danielec6 years agoNew Member
Thank you all! After I transformed the field to numeric everything was easy.