Forum Discussion
Have text on Y Axis rather than number
I'm creaitng a line graph based off RAG status. I have created an IF stattement so IF it says Green, the number is 1, Amber = 2, Red = 3.
Is it possible to have Red, Amber, Green going down the Y Axis rather than 1,2,3 ?
Hi Anonymous ,
Please try the Line Graph with Text Axis Labels (Y-axis) and Dates (X-axis) visual. And use the measure as value.
Measure = SWITCH ( SUM ( 'Table'[Value] ), 1, "Green", 2, "Amber", 3, "Red" )If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
3 Replies
- v-kkf-msft
Community Support
Hi Anonymous ,
Please try the Line Graph with Text Axis Labels (Y-axis) and Dates (X-axis) visual. And use the measure as value.
Measure = SWITCH ( SUM ( 'Table'[Value] ), 1, "Green", 2, "Amber", 3, "Red" )If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.- AnonymousNot applicable
Hi, I have the same query. When I try to use the graph you suggested PowerBi states the visualization has expired. Do you possibly have another solution?
- Sarbesh19New Member
Hi Anonymous, try the visual Advanced Line Chart which has the functionality you are looking for. Here you can map categories in both X and Y axis.