Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
hi all,
Need help for the following 2 requirements -
1. I have a line chart with multiple legends. The legends (forecast, production plan etc) are taken from different tables. And the x axis is calendar axis having joins with different tables used as legends
Screenshot below
I need to dynamically select the legends. And accordingly the chart should change.
Expected result -
2. I have a measure that calculates Projected Inventory (PI) = Production plan - Forecast.
It should calculate PI based on what I select at the filter.
If I select only Forecast, then PI formula should return ----->Forecast.
If I select Forecast and Production plan, then it should return --->Production plan - Forecast.
Can I have the logic for the same.
let me know if you want any more inputs.
thanks for helping
Solved! Go to Solution.
Hi @Anonymous ,
Could you please provide some sample data (exclude sensitive data) from the involved tables in the line chart and your expected result with specific examples and the related logic in order to provide you a suitable solution? Thank you.
On the other hand, please review the content in the following links and hope they can help you.
1. Dyanamic legend
DYNAMIC LEGEND IN #POWER BI VISUAL, LINE CHART
Dynamically filter legends in a chart based on selection from other chart
2. Dynamic calculation base on slicer selection
DAX - Column content based on slicer selection
Best Regards
Hi @Anonymous ,
Could you please provide some sample data (exclude sensitive data) from the involved tables in the line chart and your expected result with specific examples and the related logic in order to provide you a suitable solution? Thank you.
On the other hand, please review the content in the following links and hope they can help you.
1. Dyanamic legend
DYNAMIC LEGEND IN #POWER BI VISUAL, LINE CHART
Dynamically filter legends in a chart based on selection from other chart
2. Dynamic calculation base on slicer selection
DAX - Column content based on slicer selection
Best Regards
@v-yiruan-msft Thanks a lot for providing the relevant links😀. Those really helped
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
119 | |
78 | |
58 | |
52 | |
48 |
User | Count |
---|---|
171 | |
117 | |
61 | |
59 | |
53 |