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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Anonymous
Not applicable

Dynamic Measure

Hi Community..!

 

I have measure called as HCPs Reached, HCPs Engaged, Calls and Call Attainement

The requirement here is like this : I am going to use Line chart and i want to change x-axis and y-axis dynamically.

Above all measures i should select to the x-axis or y-axis vise varsa.

The user want to compare one measure to another measure 

Eg: User can select HCPs Reached at x-axis and HCPs Engaged at Y-axis or vise varsa.

also User can select Calls at x-axis and Call Attainment at Y-axis or vise varsa.

Does this possible?

Can we pull measures to the x-axis?

I was tryiing but did not work using Field Parameter.

4 REPLIES 4
Anonymous
Not applicable

Hi @Idrissshatila 
Could you please create in pbix file send it to me?
Because i have tried and did not work.

 

Thanks in advance..!

Hello @Anonymous ,

 

you're right it doesn't work to add a measure to x axis in the column chart, so if you want to compare two measures you can use the Stacked bar chart as the following


Idrissshatila_0-1732792480375.png

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Kedar_Pande
Super User
Super User

@Anonymous 

If field parameter doesnt meet your requiement,

  1. Create a Calculation Group:
  2. Add calculation items for HCPs Reached, HCPs Engaged, Calls, and Call Attainment.
  3. Add the calculation group to the X-axis or Y-axis of the chart. Users can select measures via slicers bound to the calculation group.

💌 If this helped, a Kudos 👍 or Solution mark ✔️ would be great! 🎉
Cheers,
Kedar
Connect on LinkedIn

Idrissshatila
Super User
Super User

Hello @Anonymous ,

 

why it didn't work with field parameter, create 2 field parameters haveing both the same measures and assign each paramters to an axis, this would work like this.

 

try it and let me know.



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.