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
sara_pinto15
Helper I
Helper I

Dynamic Y Axis with two measures at the same time

Good Morning!

I have a doubt.
I have a chart and I want it to be dynamic on the Y axis, but with two measures at the same time, one relative to the values of the current year and the other with SPLY, varying the categories.
In case it was just one, that is, if it was just the current year, it was quite simple, just a new parameter and put the desired measures.
But, in case there are two at the same time, how can I do it?

Thanks for the attention 😊

3 REPLIES 3
lbendlin
Super User
Super User

yes, that is standard functionality. What have you tried and where are you stuck?

sara_pinto15_0-1671446322485.png

My goal is to group the measurements that are together in the image, so that both appear at the same time. However, I can only post one:

sara_pinto15_1-1671446436078.png

Is there any code in DAX that merges the two measures in a field, so that when I click on the button both appear immediately?

sara_pinto15_2-1671446510663.png

 

 

what happens when you CTRL-select both?

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.