Forum Discussion
bdehning
2 years agoPost Prodigy
Clustered Column Visual
I have the following visual which uses filter It is set less than 4 Top 3 by frequency = IF ( ISBLANK ( [Count of Total Gross Incurred] ), BLANK (), RANKX ( ALL ( InjuryCause[Ca...
- 2 years ago
I solved the issue by adding both Cause and LOE to my X-Axis.
bdehning
2 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 =?
Anonymous
2 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