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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
Deermeat
Resolver I
Resolver I

Combining Different Measures into A Scatterplot

Hello,

I'm trying to combine different measures into the same graph. Currently, my dataset looks like this:

Untitled.png

I have measures that calculate the average for each industry at each timeframe:

Score = 
AVERAGEX(
	KEEPFILTERS(VALUES('Data'[Industry])),
	CALCULATE(AVERAGE('Data'[Score]))
)
Score (1mthago) = 
AVERAGEX(
	KEEPFILTERS(VALUES('Data'[Industry])),
	CALCULATE(AVERAGE('Data'[Score (1mthago)]))
)
YTM = 
AVERAGEX(
	KEEPFILTERS(VALUES('Data'[Industry])),
	CALCULATE(AVERAGE('Data'[YTM]))
)
YTM (1mthago) = 
AVERAGEX(
	KEEPFILTERS(VALUES('Data'[Industry])),
	CALCULATE(AVERAGE('Data'[YTM (1mthago)]))
)

I'm trying to create a graph that looks like this:

Untitled.png

However, I am unable to put the measures into the same scatter plot. Instead, I am currently overlaying 3 seperate scatter plots to achieve this graph. Are there anyway to combine these measures into the same visual?

I have uploaded sample data here: https://drive.google.com/file/d/17MYxjTzoqZxxKdHFdtM5drRZo-0jbWz-/view?usp=sharing

Thank you

1 REPLY 1
amitchandak
Super User
Super User

@Deermeat , You are using both details and legend. If you use one of them you can create a calculation group on these measures and use that either on details or legend 

 

Calculation Groups- Measure Slicer, Measure Header Grouping, Measure to dimension conversion. Complex Table display : https://youtu.be/qMNv67P8Go0

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

Check out the February 2024 Power BI update to learn about new features.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.