Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hello!
How are you? I would like to thank all the contributors in this community as you have been very helpful while I am learning Power BI.
However I am trying to do something and I haven't found a solution on the community.
I have a line chart, X axis is period of time, Value is count of members. I have some segmentation slicers. Would it be possible that in the chart they appear as many lines selected?
For example in the image below I have selected 3 options. Can I have three lines?
I don't want to add it in the legend because then it will always be that slicer, right? I would like that the lines appear depending on the slicer selected.
Thank you!
Solved! Go to Solution.
@Anonymous , The best way is to have it as legend . You can hide legend box if needed.
The other way would be a measure slicer way. But these you need have that many measures and each measure have to check its value in selected value. if not there return blank
you need have measures like
if(countx(filter(allselected(slicer),slicer[value] ="Monthly"),[value])+0>0, [monthly measure], blank())
Hi @Anonymous ,
What you want is below, right?When choose different slicer,show different Line chart.
Your could read the following article,wish it could help you!
Best Regards
Lucien
@Anonymous , The best way is to have it as legend . You can hide legend box if needed.
The other way would be a measure slicer way. But these you need have that many measures and each measure have to check its value in selected value. if not there return blank
you need have measures like
if(countx(filter(allselected(slicer),slicer[value] ="Monthly"),[value])+0>0, [monthly measure], blank())
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
94 | |
87 | |
82 | |
71 | |
49 |
User | Count |
---|---|
143 | |
123 | |
107 | |
61 | |
55 |