Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
lr2956
New Member

Using a different variable from the one in the legend to determine shape in a Scatter Plot

I am very new to powerBI, but I can't seem to find information on how I have a scatter plot in which I want my data points to be segmented along two lines: program of study and by type of school. I want the datapoint color to be determined by program of study and the shape to be determined by type of school. Is there an additional step I need to take in order to segment data past a single variable?

2 REPLIES 2
FrankAT
Community Champion
Community Champion

Hi @lr2956 

please, can you share same sample data?

 

With kind regards from the town where the legend of the 'Pied Piper of Hamelin' is at home
FrankAT (Proud to be a Datanaut)

Here's a small sample of the data:

 

Student_NumInst_idInst_meProg_numberstudent_degschool_typeRepay_rateadjusted_earn3costmedian_income_earnpgm_rr2new_medNet_earnpass1pass2EvalProgpgm_rr2_Z_scorenet_earn_Z_scoreRepay_rate_outlierNet_earn_outlier
11002Alabama A & M University1BAPublic1.046812  21160-0.0468121160 Fails Rate of RepaymentFails Rate of Repayment Agriculture, Agriculture Operations, and Related Sciences-1.30885 No 
21002Alabama A & M University1MAPublic1.125448  21160-0.1254521160 Fails Rate of RepaymentFails Rate of Repayment Agriculture, Agriculture Operations, and Related Sciences-1.93801 No 
31002Alabama A & M University1PhDPublic   21160 21160    Agriculture, Agriculture Operations, and Related Sciences
41002Alabama A & M University3BAPublic0.940141  211600.05985921160 Passes Rate of RepaymentPasses Rate of Repayment tural Resources and Conservation-0.59517 No 
51002Alabama A & M University4BAPublic   21160 21160    Architecture and Related Services 
61002Alabama A & M University4MAPublic1.070331  21160-0.0703321160 Fails Rate of RepaymentFails Rate of Repayment Architecture and Related Services-1.61644 No 
71002Alabama A & M University9MAPublic1.136546  21160-0.1365521160 Fails Rate of RepaymentFails Rate of Repayment Communication, Jourlism, and Related Services-1.83506 No 
81002Alabama A & M University10BAPublic1.052005 1638.94921160-0.0520121160 Fails Rate of RepaymentFails Rate of Repayment Communications Technologies/Technicians and Support Services-0.98605 No 
91002Alabama A & M University11BAPublic1.03693247276.471916.51321160-0.036932116024199.96Fails Rate of RepaymentPasses Net EarningsFails Rate of Repayment and Passes Net EarningsComputer and Information Sciences and Support Services-0.91956-0.14561NoNo
101002Alabama A & M University11MAPublic1.120608  21160-0.1206121160 Fails Rate of RepaymentFails Rate of Repayment Computer and Information Sciences and Support Services-1.45767 No 

 

And here's a picture of the visualization that I currently have:

 

pic_of_visualization.png

 

I want to keep dots colored by program of study and shaped by one of 3 school types: public, private, for-profit.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.