Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I want to create a line chart which shows multiple lines. The selection is to be done using a slicer.
Consider the following table:
I want to give the user options to select the 2 or more dates and accordingly display 2 or more lines like below:
I have tried making measures or calculated columns but none of them seems to work in the chart.
Is this what you are trying to do? See attached PBIX.
Yes.
This solves part of my problem.
Is there any way I can use 2 fields in the Legends section?
This solves the problem if I have 1 field to choose from (date in this case). If I have 2 or more fields, how will I be able to do it?
hi, @Anonymous
To my knowledge, It couldn't achieve that use multiple fields on a legend like an Excel pivot chart in power bi for now.
For your requirement, you may vote for the idea here so this feature might be introduced/rolled out sooner.
Best Regards,
Lin
Just use slicers instead of the legend? Tough to say exactly unless you can give me a specific scenario.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
99 | |
80 | |
70 | |
59 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |