Forum Discussion
Clustered Column Visual
- 2 years ago
I solved the issue by adding both Cause and LOE to my X-Axis.
Sorry for the confusion. These are my hypothetical data, 'Sheet1' is 'InjuryCause', 'Type' is 'Cause Grouping', and 'col2' is the value of 'Ref'. Can you share some simple data?
- Anonymous2 years agoNot applicable
Hi bdehning ,
This function requires a row-context computing environment .Please attempts to create a calculated column, not a measure.
- bdehning2 years agoPost Prodigy
I tried to use 'InjuryCause'[Cause Grouping] after EARLIER and it stays red. Is not 'Sheet1'[Type] not the same on both sides of the =?
- Anonymous2 years agoNot applicable
Hi bdehning ,
I am very sorry for taking you in the wrong direction, let's ignore the ranking issue for a moment, the reason for the blank columns is probably due to the use of the legend.
In the table visual object, only the top three figures are shown, but in the clustered bar chart, blank columns are shown, which should be due to the use of a legend.
Please follow these steps:
Use the following DAX expression to create a measure
Measure 2 = VAR _a = SELECTEDVALUE('Injury Cause'[Cause]) RETURN SWITCH(TRUE(), _a = "STF","Red", _a = "Strain","Blue", _a = "Struckby","Green", _a = "Caught between","Yellow")Setting the color