Forum Discussion
Scatter Diagram Date on X - Axis Randomized
- 6 years ago
Hi Slavi ,
I have found the problem,if you use Risk 1,2...as Y-Axis,it will sort as the following order: Risk 1,Risk 11,Risk 12,Risk 13...etc, as it was a text format,that is why it will show as below:
So the best choice for you is to change the "name" column into a whole number type using a dax expression as below:
Column = SUBSTITUTE('Table (2)'[Name],"Risk ","")Finally,you will see:
For the related .pbix file,pls click here.
Best Regards,
Kelly
Hi Slavi ,
I have found the problem,if you use Risk 1,2...as Y-Axis,it will sort as the following order: Risk 1,Risk 11,Risk 12,Risk 13...etc, as it was a text format,that is why it will show as below:
So the best choice for you is to change the "name" column into a whole number type using a dax expression as below:
Column = SUBSTITUTE('Table (2)'[Name],"Risk ","")
Finally,you will see:
For the related .pbix file,pls click here.
Best Regards,
Kelly
- Slavi6 years agoFrequent Visitor
Thank you v-kelly-msft! It did work. For my primary data i didn't have numerated Risks as names, so i inserted a index column for the Names and then created another Excel Sheet where each name was given a unique number and linked them. This worked and now everything is in order. 🙂