Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
HI Team,
I'm facing an issue like, i'm want to create a column based on threshold value and placed in Scatted chart based on their values.
Profit_Threshold value: i'm using generateseries function to get this.
Sales_threshold value:- i'm using generateseries function to get this.
Sales_Value: - Sum(sales).
Profit_Value:- Sum(Profit)
I have created calculated column like this,
Quadrant_Column:- if(Sales_value > SelectedValue(Sales_Threshold Value) && Profit_Value > SelectedValue(Profit_Threshold Value), "Top Performers", if(Sales_value < SelectedValue(Sales_Threshold Value) && Profit_Value < SelectedValue(Profit_Threshold Value), "Under Performers","Average Performer")))
Above calculated column is not working.
Using in Scatted Chart.
Could you please help me to get this.
Regards,
Prasad_78
Solved! Go to Solution.
@Anonymous
Yes, you can only use a column in the legends field, so a measure will not work.
Maybe having a dis-jointed table with your possible measure results might work, can you share the pbix? to make some tests. It's too difficult to reproduce your case.
BBF
@Anonymous If you want a formula that changes dynamically with the selection in slicer, you need to use a measure.
BBF
@BeaBF Thank you. But that created one we are using as legend so that's why we are creating a column instead of Measure.
Regards,
Prasad_78
@Anonymous
Yes, you can only use a column in the legends field, so a measure will not work.
Maybe having a dis-jointed table with your possible measure results might work, can you share the pbix? to make some tests. It's too difficult to reproduce your case.
BBF
@BeaBF I didn't see any option to upload pbix file.
Here is the sample data for my requirement.
CustomerSalesRevenueLegends
Customer | Sales | Revenue |
AB | 12 | 54 |
BC | 21 | 64 |
CD | 31 | 74 |
DE | 41 | 23 |
EF | 51 | 11 |
@Anonymous ok, and how is construct your visual? X axis, Y axis, ecc.
Also, Revenue and Sales tables are the distinct of fields in the Table table? I'm recreating your scenario.
Thx,
BBF
@BeaBF In Scater chart,
In values :- Customer
X-axis :- Sales
Y-Axis:- Revenue
Size:- Revenue
Legends:- Calculated_Column.
@Anonymous I't's working for me....
In the graph are you using only fields from the Table table, correct?
BBF
Yeah. but in slicer i'm using numeric parameter range.
@Anonymous to me it's still working with parameters... i need to see your file to understand the problem
@Anonymous I think this is the issue... can you shere the pbix?
BBF
@Anonymous you can upload the file in drive and then paste the link
@Anonymous Hi,
Sorry, my response must not have posted. I've tried countless times, but to dynamically change the legend, you must use a measure, which isn't accepted by the Scatter plot. Therefore, there is no solution.
As a workaround, you can use bookmarks to switch from one chart to another with different legends, but this won't fully achieve the desired functionality. I'm sorry for the bad news.
BBF
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
7 | |
5 | |
4 | |
3 |
User | Count |
---|---|
12 | |
12 | |
10 | |
9 | |
9 |