Forum Discussion
Dynamic X-Axis with slicer based on another column
Hi, aurelievxx
Can you provide sample data for testing? Sensitive information can be removed in advance. What kind of expected results do you expect? You can also show it with pictures or Excel. I look forward to your response.
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- aurelievxx2 years agoRegular Visitor
Hello v-zhangti ,
Thanks so much for your answer.
I can't seem to attach the data in xlsx or pbix. let me know how I can share it best.
Here is what it looks like in a screenshot.
I would like to show ordre when the slicer is not selected, and cycle when it is. I can't create a column depending on "fondamental" and "secondaire" (eg: if fond_sec in "fondamental" or "secondaire" then cycle else ordre) because I want it to show ordre if nothing is selected, hence for secondaire and fondamental.
I tried with a measure wirh "HASONEFILTER" or "ISFILTERED" - the measure works well but can't be used as an X-Axis, so I am a bit stuck.
Thank you for your help,
Aurélie